You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pubsub to subscribe to neHeads and logs via my Alchemy provider, and a get this error a few times a day:
ERROR WS connection error while receiving a response err=WebSocket protocol error: Connection reset without closing handshake
immediately followed by these logs:
INFO Reconnecting pubsub service backend.
DEBUG Draining old backend to_handle
DEBUG Reissuing pending requests count=0
DEBUG Re-starting active subscriptions count=2
And that's it, I don't receive notifications anymore after that.
After adding more traces I noticed that new subscriptions are sent to the server, but the responses are not handled, because the reconnect logic doesn't add back in-flight request, and it's needed:
Another issue: Looking at PubSubService::reconnect(), I noticed that all server ids are dropped, leading to close the connection between the backend and the frontend.
The text was updated successfully, but these errors were encountered:
Component
pubsub
What version of Alloy are you on?
v0.1.0 (commit 50e38e8)
Operating System
Linux
Describe the bug
I'm using pubsub to subscribe to
neHeads
andlogs
via my Alchemy provider, and a get this error a few times a day:immediately followed by these logs:
And that's it, I don't receive notifications anymore after that.
After adding more traces I noticed that new subscriptions are sent to the server, but the responses are not handled, because the reconnect logic doesn't add back in-flight request, and it's needed:
alloy/crates/pubsub/src/service.rs
Lines 165 to 176 in 4db40b0
Another issue: Looking at
PubSubService::reconnect()
, I noticed that all server ids are dropped, leading to close the connection between the backend and the frontend.The text was updated successfully, but these errors were encountered: