licode icon indicating copy to clipboard operation
licode copied to clipboard

WebSocket connection to 'wss://192.168.2.51/socket.io/?EIO=3&transport=websocket' failed: WebSocket is closed before the connection is

Open laoliang330 opened this issue 7 years ago • 9 comments

how to solve this problem? WebSocket connection to 'wss://192.168.2.51/socket.io/?EIO=3&transport=websocket' failed: WebSocket is closed before the connection is

laoliang330 avatar Feb 01 '18 09:02 laoliang330

is there an ERR_INSECURE_RESPONSE in the browser console? can you post the output log screen?

kekkokk avatar Feb 01 '18 09:02 kekkokk

WebSocket connection to 'wss://192.168.2.51/socket.io/?EIO=3&transport=websocket' failed: WebSocket is closed before the connection is established. erizo.js:100 WARNING: connect error, id: undefined , error: websocket error erizo.js:100 WARNING: WebSocket closed, code: 1006 erizo.js:100 WARNING: connect timeout, id: undefined , error: undefined erizo.js:100 DEBUG: reconnect attempt, id: undefined , attempet: 1 erizo.js:100 DEBUG: reconnecting, id: undefined , attempet: 1

laoliang330 avatar Feb 01 '18 09:02 laoliang330

and in server side,no any error message

laoliang330 avatar Feb 01 '18 09:02 laoliang330

can you please try to visit the page: https://192.168.2.51/socket.io/?EIO=3&transport=websocket and accecpt the certificate? then retry to load the basicexample page?

kekkokk avatar Feb 01 '18 09:02 kekkokk

when start initLicode.sh,there's a warning message. WARN: CloudHandler - ErizoController 0 in 192.168.2.51 does not respond. Deleting it.

laoliang330 avatar Feb 01 '18 09:02 laoliang330

that's not a problem. it's the old instance that was stored in db so it doesn't effectivly exist anymore

kekkokk avatar Feb 01 '18 10:02 kekkokk

have you solve this problem?

HiXiSi avatar Jun 13 '18 16:06 HiXiSi

Maybe your firewall is blocking websockets? Do you have any chrome extension that can interfere with websockets?

kekkokk avatar Jun 14 '18 07:06 kekkokk

Sorry to bring up this thread again. Was there any solution to this issue?

oagustin avatar Nov 10 '21 10:11 oagustin