Skip to content

Websocket connection drops in Firefox (HTTP/2) #927

@rnkn

Description

@rnkn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions