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
Websocket closed unexpectedly #1727
Comments
Still seeing this with HEAD
Basically I connect, Firefox private tab, and after 2 mins it's disconnected. I need to reload the page and retype user/pass to relogin. |
I had a look on your server and get the same error. Honestly, I don't think this is a Converse issue, looks more like something on Ejabberd's side. I could maybe look into why Converse doesn't properly reconnect and login again after the websocket connection drops, but I don't see any indication that it's Converse's fault that it drops in the first place.
|
websockets server config
All the other settings are not modified so (in theory are) at their defaults: https://docs.ejabberd.im/archive/20_04/toplevel/#websocket-origin When it disconnects, server side it logs:
But after disconnect, each time the console logs a new
@weiss Help? |
Yup, server log confirms it. Bumping and reloading (not yet restarted) the config of |
Ok, the branch reconnects, but after a while (was idle for an hour, switched to other pages, etc) it still broke:
|
Hi. I have similar problem. In my case Websocket closing connection or lock stanzas. Can't solve it for a while. Decision for me was - to turn off websocket due to malfunction. And enable BOSH (it's working good). |
Using ejabberd HEAD and conversejs HEAD here, do retry, as it seems to reconnect as needed. |
HEAD (cd5dacb), Firefox 69
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
Be able to read old messages.
Actual behaviour
Read for a while, then see the whole view reloading, member list reappears and you are scrolled down to the bottom
Firefox log says:
Config:
There no errors logged in ejabberd logs.
/LE: Can repro with Vivaldi Snapshot too, the member list reappears too but the view is not reset the same, it keeps its scroll position.
/LE2: I'm now thinking that #1697 is also a consequence of this
The text was updated successfully, but these errors were encountered: