Firefox can’t establish a connection to the server
- Dominant language
- JavaScript
- Stars
- 1.5k
- Forks
- 186
- Avg merge
- 1d 36m
- Merged PRs (30d)
- 11
Description
**Describe the bug**
There's a console error saying that `Firefox can’t establish a connection to the server at wss://toot.cat/api/v1/streaming.` when I load the page.
It's followed by this:
```
WebSocket error:
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
bubbles: false
cancelBubble: false
cancelable: false
composed: false
currentTarget: null
defaultPrevented: false
eventPhase: 0
explicitOriginalTarget: WebSocket { url: "wss://toot.cat/api/v1/streaming", readyState: 3, bufferedAmount: 0, … }
isTrusted: true
originalTarget: WebSocket { url: "wss://toot.cat/api/v1/streaming", readyState: 3, bufferedAmount: 0, … }
returnValue: true
srcElement: WebSocket { url: "wss://toot.cat/api/v1/streaming", readyState: 3, bufferedAmount: 0, … }
target: WebSocket { url: "wss://toot.cat/api/v1/streaming", readyState: 3, bufferedAmount: 0, … }
timeStamp: 10369
type: "error"
: function isTrusted()
: EventPrototype { composedPath: composedPath(), stopPropagation: stopPropagation(), stopImmediatePropagation: stopImmediatePropagation(), … }
index.js:991:24
log index.js:991
error index.js:969
init index.js:446
s index.js:74
(Async: promise callback)
u index.js:75
l index.js:73
(Async: promise callback)
u index.js:75
s index.js:74
(Async: promise callback)
u index.js:75
l index.js:73
(Async: promise callback)
u index.js:75
s index.js:74
(Async: promise callback)
u index.js:75
l index.js:73
(Async: promise callback)
u index.js:75
Ze index.js:76
Ze index.js:72
init index.js:415
acquire index.js:474
Ze index.js:76
Ze index.js:72
acquire index.js:473
values index.js:554
l index.js:101
zn/a/o[d]/< index.js:100
d index.js:100
jt main-41447c4a.js:9
jt main-41447c4a.js:9
Preact 33
```
- Which site: dev.phanpy.social
- Which instance: toot.cat
**To Reproduce**
Steps to reproduce the behavior:
1. Go to dev.phanpy.social and log in, using Firefox. I only tested on toot.cat
2. Open the dev console.
3. Look for error messages.
**Expected behavior**
Websocket connection should work fine and not print any errors to console.
**Screenshots**

**Desktop (please complete the following information):**
- OS: Windows
- Browser Firefox
- Version 108
**Additional context**
I assume this is also why I'm not really seeing live updates on my various columns.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.