flutter-webrtc-demo icon indicating copy to clipboard operation
flutter-webrtc-demo copied to clipboard

Closed by server [1006 => ]!

Open ggsant opened this issue 4 years ago • 13 comments

when I insert a link I get this error Closed by server [1006 =>]!

I take the opportunity to ask if it is possible to transmit images from a security camera via flutter_webrtc to the web, and how do I do this? In the demo it is not clear how to connect a camera other than a web can or cell phone camera.

ggsant avatar Feb 04 '21 20:02 ggsant

Hi, I have the same Problem ( 'Closed by server [1006 =>]!' ) but only when I try to use it as Web app. Not sure what this Error means.

Lukas2019 avatar Mar 05 '21 18:03 Lukas2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 04 '21 22:05 stale[bot]

same

mustafaboleken avatar Jun 29 '21 21:06 mustafaboleken

I tried to run this on web (chrome) it worked at first. But on the second time and so on, everytime I tried it it shows this error:

connect to https://demo.cloudwebrtc.com:8086/ws
Closed by server [1006 => ]!

It hasn't worked and still showing that error since then

mayaparamita avatar Jul 06 '21 16:07 mayaparamita

Getting the same issue.

Shanki070 avatar Jul 31 '21 07:07 Shanki070

As I remembered I got this error when used Nginx as WebScocket proxy and it closed WebScocket connections by timeout.

ycherniavskyi avatar Jul 31 '21 15:07 ycherniavskyi

The demo works on Android, but I receive this error only on Flutter web

Configured with demo.cloudwebrtc.com When clicking 'P2P Call sample" Chrome console shows:

browser_client.dart:72 GET https://demo.cloudwebrtc.com:8086/api/turn?service=turn&username=flutter-webrtc net::ERR_CERT_DATE_INVALID

html_dart2js.dart:31744 WebSocket connection to 'wss://demo.cloudwebrtc.com:8086/ws' failed: Error in connection establishment: net::ERR_CERT_DATE_INVALID
js_primitives.dart:30 Closed by server [1006 => ]!

eugenioamato avatar Nov 08 '21 16:11 eugenioamato

I tried to run this on web (chrome) it worked at first. But on the second time and so on, everytime I tried it it shows this error:

connect to https://demo.cloudwebrtc.com:8086/ws
Closed by server [1006 => ]!

It hasn't worked and still showing that error since then

Hi guys, I found that when i copy paste the browser link from browser who automatically open when I click run on android studio and paste it to another browser it automatically works. Hope it helps

mayaparamita avatar Nov 09 '21 12:11 mayaparamita

Still getting the same issue.

kakon007 avatar Nov 24 '21 07:11 kakon007

I've solved this issue in this way- Firstly, run this command in Your Server Machine- mkcert -key-file configs/certs/key.pem -cert-file configs/certs/cert.pem localhost 127.0.0.1 ::1 0.0.0.0 Secondly, run this command in Your Server Machine- mkcert --install

kakon007 avatar Nov 28 '21 08:11 kakon007

Same issue any updates ?

Androidsignal avatar Nov 25 '22 18:11 Androidsignal