This repository was archived by the owner on Mar 6, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 85
Websocket hangs with Windows and Python 3.8 #31
Comments
In the script to reproduce the issue it seems that the definition for |
Yeah sorry the simplified version should not have |
|
erdewit
added a commit
that referenced
this issue
Oct 25, 2020
I can reproduce the issue on Windows 10, Python 3.9. The issue is the ProactorEvenLloop getting a timeout of None in a |
This is released now in v1.4.2. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Connection via
websockets
hangs when running on Windows with Python 3.8,nest_asyncio
, and the defaultWindowsProactorEventLoopPolicy
. A simple program can reproduce this:This works on other platforms/Python versions/policy, or without
nest_asyncio
. I did a little bit of tracing, and it looks like theconnect()
completed successfully, but it somehow got stuck when selecting the next event.The text was updated successfully, but these errors were encountered: