[Bug 1517397] Re: Gunicorn traceback when downloading “not modified” page
Chuck Short
chuck.short at canonical.com
Mon Apr 10 14:01:31 UTC 2017
I think this fix is too intrusive for a fix to trusty. Its been fixed in
xenial.
** Changed in: gunicorn (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to gunicorn in Ubuntu.
https://bugs.launchpad.net/bugs/1517397
Title:
Gunicorn traceback when downloading “not modified” page
Status in gunicorn package in Ubuntu:
Fix Released
Bug description:
Hello,
We encounter tracebacks in gunicorn-error.log when a client download a
“not modified” page:
gunicorn-error.log <==
2015-06-16 11:39:00 [5565] [ERROR] Socket error processing request.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gunicorn/workers/async.py", line 42, in handle
req = six.next(parser)
File "/usr/lib/python2.7/dist-packages/gunicorn/http/parser.py", line 39, in __next__
self.mesg = self.mesg_class(self.cfg, self.unreader, self.req_count)
File "/usr/lib/python2.7/dist-packages/gunicorn/http/message.py", line 152, in __init__
super(Request, self).__init__(cfg, unreader)
File "/usr/lib/python2.7/dist-packages/gunicorn/http/message.py", line 49, in __init__
unused = self.parse(self.unreader)
File "/usr/lib/python2.7/dist-packages/gunicorn/http/message.py", line 164, in parse
self.get_data(unreader, buf, stop=True)
File "/usr/lib/python2.7/dist-packages/gunicorn/http/message.py", line 155, in get_data
data = unreader.read()
File "/usr/lib/python2.7/dist-packages/gunicorn/http/unreader.py", line 38, in read
d = self.chunk()
File "/usr/lib/python2.7/dist-packages/gunicorn/http/unreader.py", line 65, in chunk
return self.sock.recv(self.mxchunk)
File "/usr/lib/python2.7/dist-packages/eventlet/greenio.py", line 251, in recv
return fd.recv(buflen, flags)
File "/usr/lib/python2.7/socket.py", line 170, in _dummy
raise error(EBADF, 'Bad file descriptor')
error: [Errno 9] Bad file descriptor
This problem is reported and fixed upstream
(https://github.com/benoitc/gunicorn/issues/630).
Is it possible to backport the patch?
Regards.
Description: Ubuntu 14.04.3 LTS
Release: 14.04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gunicorn/+bug/1517397/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list