Connection to ejabberd getting lost #3851
Answered
by
prefiks
pavan-bandodekar
asked this question in
Questions
-
Hi, I have implemented real time notifications using ejabberd server(version: 16.01-2) and stophe.js. I am facing issue of connection to the server getting lost if it is in idle state. Please help if anyone has any idea about what can cause this issue. |
Beta Was this translation helpful? Give feedback.
Answered by
prefiks
Jun 22, 2022
Replies: 1 comment 3 replies
-
Generally on websocket should occasionally send ping to client to verify that connection is alive, so they aren't really truly idle. Possilby tunning toplevel |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
badlop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Generally on websocket should occasionally send ping to client to verify that connection is alive, so they aren't really truly idle.
Possilby tunning toplevel
websocket_timeout
option will do something (i think it's set to 300 seconds by default, you could try increasing it).