WS debugging chat

Thats it for the error message but this is the web socket error event object: Event {isTrusted: true, type: 'error', target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …} isTrusted : true bubbles : false cancelBubble : false cancelable : false composed : false currentTarget : WebSocket {url: 'wss://dev.api.mage.stream/wsinit/channelid/a496d37…e20fbc5cd99abad15faaefa46e389e2537faa1962/connect', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …} defaultPrevented : false eventPhase : 0 returnValue : true srcElement : WebSocket {url: 'wss://dev.api.mage.stream/wsinit/channelid/a496d37…e20fbc5cd99abad15faaefa46e389e2537faa1962/connect', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …} target : WebSocket {url: 'wss://dev.api.mage.stream/wsinit/channelid/a496d37…e20fbc5cd99abad15faaefa46e389e2537faa1962/connect', readyState: 3, bufferedAmount: 0, onopen: null, onerror: null, …} timeStamp : 2583.800000011921 type : "error"
8 Replies
elithrar
elithrar8mo ago
Bringing this into a thread
Gagan Suie
Gagan SuieOP8mo ago
good idea
elithrar
elithrar8mo ago
Can you provide an example repo of exactly what you have deployed? Or are you saying it’s the chat demo with zero changes - ?
Gagan Suie
Gagan SuieOP8mo ago
nearly zero changes. but its been working for years. so im assuming its account related and that demo hasn't been changed since last year. its working locally. just not in dev and prod environments
elithrar
elithrar8mo ago
Nearly zero is not zero. There’s no “account level” changes we make.
Gagan Suie
Gagan SuieOP8mo ago
i can share my desktop with you if that makes it easier to run through any issues you may see
Gagan Suie
Gagan SuieOP8mo ago
can this be an issue? And DNS records of workers are navigating to "/workers/services/view/mage-api-dev/production/triggers" that got moved.
No description
Gagan Suie
Gagan SuieOP8mo ago
triggers are now under: "/workers/services/view/mage-api-dev/production/settings/triggers" this wss url should at least be reachable. im testing in https://websocketking.com/ wss://dev.api.mage.stream/ ✅ solved. remove smart placement in workers.
Want results from more Discord servers?
Add your server