question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OpenVidu - Firefox can’t establish a connection to the server at AWS

See original GitHub issue

Hi, my project with OpenVidu work a good with chrome but I have a problem with firefox, i can’t understand why this problem just with Firefox and AWS.(for information Firefox work with server local) => Firefox can’t establish a connection to the server at AWS Error firefox : 'OpenVidu' initialized OpenVidu.ts:107:12 openvidu-browser version: 2.11.0 OpenVidu.ts:108:12 TURN temp credentials [ZSBPS8:vjig95] Session.ts:1186:24 openvidu-server version: 2.11.0 Session.ts:1195:24 Connecting websocket to URI: wss://ec2-34-253-8-220.eu-west-1.compute.amazonaws.com:4443/openvidu jsonrpcclient.js:138:11 Firefox can’t establish a connection to the server at wss://ec2-34-253-8-220.eu-west-1.compute.amazonaws.com:4443/openvidu. webSocketWithReconnection.js:71:13 Could not connect to wss://ec2-34-253-8-220.eu-west-1.compute.amazonaws.com:4443/openvidu (invoking onerror if defined) error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … } webSocketWithReconnection.js:82:15 --------- ONERROR ----------- jsonrpcclient.js:125:15 Connection closed unexpectecly. Reconnecting... webSocketWithReconnection.js:101:23 reconnectToSameUri (attempt #1, max=2000) webSocketWithReconnection.js:112:15 --------- ONRECONNECTING ----------- jsonrpcclient.js:79:15 Websocket connection lost (reconnecting)

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
devcarloscommented, May 10, 2020

UPDATE2: SOLVED ON FIREFOX !

After open the WSS server URL https://localhost:4443/ on another Firefox Tab (as suggested on some google thread) I was able to JOIN the video session:

Screen Shot 2020-05-09 at 21 03 22

So this seems a pretty well known Firefox bug as said here: https://groups.google.com/forum/#!topic/netty/sCIB8J6abu8

So I think this issue can be closed now I have found the solution. 🤓👍

@pabloFuente FYI ☝️

0reactions
dahascommented, Aug 3, 2020

Hello! Just stumbled upon the same problem. In my case I had to exclude the AWS url from Bitdefender. To do so I executed the AWS url in Firefox and when Bitdefender blocks the url I clicked on “I know the risk” (or what ever it said) to proceed. Then it worked.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firefox can't establish a connection to the server at ws://127.0 ...
Hello, Firefox 91.0.2 shows in dev. console: Firefox can't establish a connection to the server at ws://127.0.0.1.
Read more >
Firefox can't establish a connection to the server at wss ...
Hello, I try to run the mvc-java app, but I get this error in the Firefox console when I join a session :...
Read more >
Bountysource
OpenVidu - Firefox can't establish a connection to the server at AWS.
Read more >
Troubleshooting / FAQ - Docs - OpenVidu
For all purposes, OpenVidu Server acts as a final user, and your connections may fail if it is hosted behind a complex network....
Read more >
Firefox can't establish a connection to the server at wss ...
Your implementaion needs some changes. In the backend server, you forgot to call the onConnect function. So your ws.on method will never ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found