-
Notifications
You must be signed in to change notification settings - Fork 565
uvloop blocks app and not executes aiohttp server #425
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
Comments
Sounds like the 17000 port is used by something else on that particular server. And most likely aiohttp has some timeout/retry logic in place and waits for it to become available. I don't think this is a uvloop bug. That said, check what happens if you don't activate uvloop -- does vanilla asyncio behave differently? |
It's really strange. Seems that i have some hardware or system problem, because on other machine with same software i don't get this bug. But how to find out it - i dont know( |
Hello. I have the same issue after upgrade libs:
If I have only one pod - it was ok, but when I start 2nd pod - pod doesn't listen 8080 port My system: If I run without When I set Debug mode: PYTHONASYNCIODEBUG=1
|
@bumer-t , @semakmillev were you able to figure out the root cause or solution to this problem? I am facing similar issues. |
Try set ipv4 address, because by default it will try to bind to ipv6 first |
Hi! I have very strange bug.
On server (only on the one - i cant reproduce error on others) i m tryin to start application using uvloop. Here is the code (i tried using docker, or executing script - result was the same) in console:
Python 3.8.10 (default, Jun 2 2021, 10:49:15)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
And after that nothing happens! Moreover, i can't stop process using Ctrl+C or Ctrl+D - only kill from other console
*i changed ports and got same results
uvloop version: 0.15.3
OS Version:
NAME="Ubuntu"
VERSION="20.04.1 LTS (Focal Fossa)"
The text was updated successfully, but these errors were encountered: