-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Gunicorn version 19.4.1
aiohttp version 0.19.0
nginx 1.4.6
Ubuntu 14.04
[2015-12-03 13:24:27 -0500] [12308] [ERROR] Error handling request
Traceback (most recent call last):
File "/home/vagrant/.virtualenvs/mighty/lib/python3.4/site-packages/aiohttp/server.py", line 262, in start
yield from self.handle_request(message, payload)
File "/home/vagrant/.virtualenvs/mighty/lib/python3.4/site-packages/aiohttp/wsgi.py", line 127, in handle_request
environ = self.create_wsgi_environ(message, payload)
File "/home/vagrant/.virtualenvs/mighty/lib/python3.4/site-packages/aiohttp/wsgi.py", line 93, in create_wsgi_environ
environ['REMOTE_ADDR'] = remote[0]
IndexError: index out of range
This change occurred in between the two releases d904071#diff-58081209a1b73c318d74d4fe7ad41460L91
to
eb54e6c#diff-58081209a1b73c318d74d4fe7ad41460R92
which may be related to the issue
This gunicorn issue from June 2014 is somewhat similar benoitc/gunicorn#785.
Downgrading to aiohttp 0.18.4 fixes the issue.