Hello Everyone!
When i check a running job, i got this error on developers tools.
Firefox can’t establish a connection to the server at wss://domain/websocket/. connectJobSocket.js:4:7
The connection to wss://domain/websocket/ was interrupted while the page was loading. connectJobSocket.js:4:7
Socket error:
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
Disconnecting... connectJobSocket.js:41:12
Firefox can’t establish a connection to the server at wss://domain/websocket/. connectJobSocket.js:4:7
Socket closed. Reconnecting...
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
connectJobSocket.js:32:14
The connection to wss://domain/websocket/ was interrupted while the page was loading. connectJobSocket.js:4:7
Socket error:
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
Disconnecting... connectJobSocket.js:41:12
Socket closed. Reconnecting...
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, … }
connectJobSocket.js:32:14
Uncaught DOMException: An attempt was made to use an object that is not, or is no longer, usable
<anonymous> connectJobSocket.js:17
rye connectJobSocket.js:4
onclose connectJobSocket.js:34
setTimeout handler*rye/eye.onclose connectJobSocket.js:33
rye connectJobSocket.js:29
Fye JobOutput.js:271
Fl React
unstable_runWithPriority scheduler.production.min.js:18
React 4
unstable_runWithPriority scheduler.production.min.js:18
React 5
n useRequest.js:44
u runtime.js:63
_invoke runtime.js:294
j runtime.js:119
Babel 6
j_e Job.js:113
Fl React
unstable_runWithPriority scheduler.production.min.js:18
React 3
M scheduler.production.min.js:16
onmessage scheduler.production.min.js:12
6813 scheduler.production.min.js:12
Webpack 10
main.13ab8549.js:2
But when i can connect with postman and wscat.
% wscat -c wss://domain/websocket/ --auth wsstest:asdfasdfasdf
Connected (press CTRL+C to quit)
< {"accept": true, "user": 10}
>
Any idea would be appreciated.