jech / galene

The Galène videoconference server
https://galene.org
MIT License
899 stars 119 forks source link

Websocket connection fails on Firefox #182

Closed daenney closed 4 months ago

daenney commented 4 months ago

When using an instance of Galene together with firefox, trying to join a group results in:

Couldn't connect to wss://galene.org:8443/ws

In the Firefox console, I see:

Firefox can’t establish a connection to the server at wss://galene.org:8443/ws. protocol.js:292:17
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
galene.js:3902:17
    serverConnect https://galene.org:8443/galene.js:3902
    <anonymous> https://galene.org:8443/galene.js:3810
    (Async: EventHandlerNonNull)
    <anonymous> https://galene.org:8443/galene.js:3792
Socket close 1006 <empty string> galene.js:396:17

It works in Chrom(e|ium). I've tried this on a different Galene instance than the public one, same thing happens there.

daenney commented 4 months ago

This is Firefox 122 on a Linux box (Arch, with Gnome desktop)

jech commented 4 months ago

I cannot reproduce your issue with Firefox 122.0 on Debian. Could you please try in Troubleshoot Mode: https://support.mozilla.org/en-US/kb/diagnose-firefox-issues-using-troubleshoot-mode

daenney commented 4 months ago

That does indeed work. Helpfully, switching back to regular mode I can now no longer reproduce this on either galene.org or the other instance I was using this morning :face_exhaling:.

Sorry for the noise!