-
Notifications
You must be signed in to change notification settings - Fork 545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aiohttp.worker.GunicornUVLoopWebWorker + unix sockets Nginx - error #59
Comments
I'll need some details on this:
|
|
Seems that somehow gunicorn or aiohttp bind UNIX address using a TCP server ( @asvetlov Do you have any idea what's going on? |
Ah, I got it: python/asyncio#453 |
This should be fixed in aiohttp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aiohttp recomended deploy Gunicorn + Nginx
Gunicorn (aiohttp.worker.GunicornWebWorker) + unix socket Nginx - OK
Ginicorn (aiohttp.worker.GunicornUVLoopWebWorker) + unix sockets Nginx - error
Traceback (most recent call last):
File "/usr/local/python/3.5.2/lib/python3.5/site-packages/aiohttp/helpers.py", line 407, in log
[message, environ, response, transport, time]))
File "/usr/local/python/3.5.2/lib/python3.5/site-packages/aiohttp/helpers.py", line 394, in _format_line
return tuple(m(args) for m in self._methods)
File "/usr/local/python/3.5.2/lib/python3.5/site-packages/aiohttp/helpers.py", line 394, in
return tuple(m(args) for m in self._methods)
File "/usr/local/python/3.5.2/lib/python3.5/site-packages/aiohttp/helpers.py", line 347, in _format_a
peername = args[3].get_extra_info('peername')
File "uvloop/handles/tcp.pyx", line 150, in uvloop.loop.TCPTransport.get_extra_info (uvloop/loop.c:66876)
File "uvloop/dns.pyx", line 60, in uvloop.loop.__convert_sockaddr_to_pyaddr (uvloop/loop.c:82997)
RuntimeError: cannot convert sockaddr into Python object
The text was updated successfully, but these errors were encountered: