Downtimes with volatile packet is discarded since the transport is not currently writable #5063
Unanswered
severinolorillajr
asked this question in
Q&A
Replies: 1 comment 8 replies
-
Hi! What do you mean by "downtimes"? Does your server crash? Volatile packets can indeed be discarded if the underlying transport is not ready to be used, for example if there is no pending GET request when using HTTP long-polling. Reference: https://socket.io/docs/v4/emitting-events/#volatile-events |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our socket server generally works fine.
But we've been having downtimes twice a week (more or less).
We've been bombarded with these messages:
Jul 9 02:09:36 ip-10-0-31-159 web[255737]: 2024-07-09T02:09:36.802Z socket.io:client volatile packet is discarded since the transport is not currently writable
Jul 9 02:09:36 ip-10-0-31-159 web[255737]: 2024-07-09T02:09:36.802Z socket.io:client volatile packet is discarded since the transport is not currently writable
Jul 9 02:09:36 ip-10-0-31-159 web[255737]: 2024-07-09T02:09:36.802Z socket.io:client volatile packet is discarded since the transport is not currently writable
Jul 9 02:09:36 ip-10-0-31-159 web[255737]: 2024-07-09T02:09:36.802Z socket.io:client volatile packet is discarded since the transport is not currently writable
Jul 9 02:09:36 ip-10-0-31-159 web[255737]: 2024-07-09T02:09:36.804Z socket.io:client volatile packet is discarded since the transport is not currently writable
Jul 9 02:09:36 ip-10-0-31-159 web[255737]: 2024-07-09T02:09:36.805Z socket.io:client volatile packet is discarded since the transport is not currently writable
Any ideas how to approach or work around this?
Can't seem to find anything on Socket IO docs and the web discussing this.
Was this because we are looping volatile emit events?
But it doesn't seem to happen that frequently though.
Beta Was this translation helpful? Give feedback.
All reactions