convos icon indicating copy to clipboard operation
convos copied to clipboard

Websocket connection drops in Firefox (HTTP/2)

Open rnkn opened this issue 10 months ago • 0 comments

Describe the bug

The websocket connection drops frequently (sometimes several times a minute) in Firefox. The console displays this error upon connection drop:

The connection to wss://irc.example.com/events was interrupted while the page was loading.

The dropout bounces the user back to the login screen momentarily, before the connection is re-established.

The problem is remedied by changing Firefox's about:config setting network.http.http2.websockets to false.

This would lead me to believe there is a problem with websockets using HTTP/2.

To Reproduce Steps to reproduce the behavior:

  1. Install Convos
  2. Create user account
  3. Log in to user account
  4. Wait

Expected behavior Convos stays connected via websocket.

Environment:

  • OS: Docker (server), macOS 15.4.1 (client)
  • Browser: Firefox 138
  • Version 8.07
  • connecting to libera.chat and oftc.net

rnkn avatar May 02 '25 10:05 rnkn