Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rida-rechrache opened this issue Dec 13, 2019 · 8 comments

Comments

@rida-rechrache
Copy link

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)

@pabloFuente
Copy link
Member

Do OpenVidu Demos (https://demos.openvidu.io/) work fine with that same Firefox installation? If they do, please make sure to meet these network requirements in your instance: https://openvidu.io/docs/deployment/deploying-ubuntu/#server-network-requirements

@rida-rechrache
Copy link
Author

rida-rechrache commented Dec 13, 2019

Yes OpenVidu Demo (https://demos.openvidu.io/basic-webinar/) work good with my Firefox.
For information : i use default configuration of OpenVidu for template AWS (CF-OpenVidu-latest.yaml ) in my project.

@rida-rechrache
Copy link
Author

Hi @pabloFuente pabloFuente
I deployed OpenVidu Demos on AWS, the same problem I have on my project.
This link OpenVidu Demos on AWS : https://ec2-34-254-171-37.eu-west-1.compute.amazonaws.com/basic-webinar/

Please do you test in your Firefox ?

@devcarlos
Copy link

I have the same issue with 2.12.0 GitHub Demo, in fact I have opened and issue:

OpenVidu/openvidu#467

Any workaround this ? it seems a lot of months on this issue. 😅

@pabloFuente FYI 🖐️

@devcarlos
Copy link

FYI

Yes OpenVidu Demo (https://demos.openvidu.io/basic-webinar/) work good with my Firefox.
For information : i use default configuration of OpenVidu for template AWS (CF-OpenVidu-latest.yaml ) in my project.

Works good on Firefox as well BUT it seems it is a JAVA demo so I'm a little stuck testing this platform locally with Node.js so far.

@devcarlos
Copy link

UPDATE:

After test on Chrome I was able to see the Video Session:

Screen Shot 2020-05-09 at 20 49 06

So it seems the wss protocol issue is related to Firefox only, will keep looking for a workaround on that browser.

@devcarlos
Copy link

devcarlos commented 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 ☝️

@dahas
Copy link

dahas commented 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants