f1multiviewer/issue-tracker

Radio Transcriptions Fail to Load - "WebSocket is closed before the connection is established"

brarm opened this issue · 1 comments

Occasionally (not fully sure how to reproduce), the Radio Transcription widget fails to load any messages.

From the developer console, these are the errors/warnings displayed:

This shows 6 times

WebSocket connection to 'wss://api.multiviewer.dev/socket/websocket?appVersion=1.31.10&vsn=2.0.0' failed: WebSocket is closed before the connection is established.
isTrusted : true
bubbles : false
cancelBubble : false
cancelable : false
composed : false
currentTarget : WebSocket
timeout : 20000
binaryType : "arraybuffer"
bufferedAmount : 0
extensions : ""
onclose : ƒ ()
onerror : ƒ ()
onmessage : ƒ ()
onopen : ƒ ()
protocol : ""
readyState : 3
url : "wss://api.multiviewer.dev/socket/websocket?appVersion=1.31.10&vsn=2.0.0"
[[Prototype]] : WebSocket
defaultPrevented : false
eventPhase : 0
path : []
returnValue : true
srcElement : WebSocket {timeout: 20000, url: 'wss://api.multiviewer.dev/socket/websocket?appVersion=1.31.10&vsn=2.0.0', readyState: 3, bufferedAmount: 0, onopen: ƒ, …}
target : WebSocket {timeout: 20000, url: 'wss://api.multiviewer.dev/socket/websocket?appVersion=1.31.10&vsn=2.0.0', readyState: 3, bufferedAmount: 0, onopen: ƒ, …}
timeStamp : 53587.20000001788
type : "error"

What I have tried to fix the issue:

  • Restarting the app
  • Logging out and logging in
  • Restarting my host machine

Version: Version 1.31.10 (1.31.10)
OS: macOS Sonoma 14.4.1 (23E224)

I also see these Disconnect messages in the Inspector Console

isTrusted : true
bubbles : false
cancelBubble : false
cancelable : false
code : 1006
composed : false
currentTarget : WebSocket {timeout: 20000, url: 'wss://api.multiviewer.dev/socket/websocket?appVersion=1.31.10&vsn=2.0.0', readyState: 3, bufferedAmount: 0, onopen: ƒ, …}
defaultPrevented : false
eventPhase : 0
path : []
reason : ""
returnValue : true
srcElement : WebSocket {timeout: 20000, url: 'wss://api.multiviewer.dev/socket/websocket?appVersion=1.31.10&vsn=2.0.0', readyState: 3, bufferedAmount: 0, onopen: ƒ, …}
target : WebSocket {timeout: 20000, url: 'wss://api.multiviewer.dev/socket/websocket?appVersion=1.31.10&vsn=2.0.0', readyState: 3, bufferedAmount: 0, onopen: ƒ, …}
timeStamp : 54545.70000001788
type : "close"
wasClean : false