-
-
Notifications
You must be signed in to change notification settings - Fork 22
Websocket Consumer can get stuck in infinite connection loop #22
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
Yeah this is actually a massive issue, it keeps occurring during typical development workflows which keeps halting development until it resolves itself. Performing development off the #17 branch, since the main branch still doesn't have a pinned django-idom-client version. |
Seems like rapidly refreshing the page generated by Perhaps it's related to refreshing the page in the middle of the element's first render. |
@rmorshea This issue definitely falls under Confirmed this also occurs in non-development environments. Since an exception isn't being generated by this, I can't trace down the exact problematic LOC. This fully breaks IDOM for web usage, since IDOM completely halts whenever a webpage is refreshed too quickly. My best guess is this is some bug related to I've confirmed I can also completely break IDOM on our server used for IDOM docs examples. |
Dang... that's a bad one. My best guess is that the server gets held up trying to create and then immediately stop the dispatch loop each time the user refreshes the page? At least the page eventually recovers. It just takes a long time. |
Recovery takes 1-2 minutes, but I'm not sure exactly what is timing out. |
Can you report this problem in an |
Discussion created |
Can no longer reproduce on Chromium/Brave builds. Seems to have been patched. Closing this issue ticket. |
Old Behavior
I'm really not sure how to trigger this. Seems to happen sometimes while using the development webserver with autoreload (
settings.py:DEBUG=True
)When this occurs, the websocket will be stuck in a perpetual handshake/connect loop for a minute or two. Happens the same within Conreq, and I'm not using any external web modules over there yet.
Somehow, using a keyboard interrupt (CTRL+C) to attempt to escape the situation does not resolve the bug. Will still be stuck in this infinite connection loop upon restarting the development webserver (
manage.py runserver
)New Behavior
WS connection and render should be performed smoothly
Implementation Details
Need to debug
Code of Conduct
The text was updated successfully, but these errors were encountered: