-
Notifications
You must be signed in to change notification settings - Fork 3
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
Event subscription handler hangs after a while #8
Comments
Couldn't find anything relevant in logs, surprisingly. Still don't know what the root cause here is, but I may experiment with multiple workers vs eventlet vs gevent, etc: https://flask-sock.readthedocs.io/en/latest/web_servers.html |
Looking at this a bit more now. Here's an example from today, two things happened:
After that, the Bluesky relay kept making I suspect we're not handling something in the initial HTTP 101 code path, and that's killing the serving thread or something similar.
|
Looking more and more likely. Looking at logs from the most recent time this happened, we served 20 101s and then started serving 504s, and |
for #8, background in miguelgrinberg/flask-sock#78
… to constructor breaking change, backward incompatible! for snarfed/lexrpc#8
Deployed. If it stays up past ~1:30p PT tomorrow, I'll declare victory. |
Confirmed fixed! |
At least a few hours. Not sure why, probably websocket subscriptions something or other.
The text was updated successfully, but these errors were encountered: