peers / peerjs

Simple peer-to-peer with WebRTC.
https://peerjs.com
MIT License
12.48k stars 1.43k forks source link

Unable to connect to peer cloud server #805

Closed jscott161 closed 3 years ago

jscott161 commented 3 years ago

I'm getting a connection time out to the default peer cloud server.

Failed to load resource: net::ERR_CONNECTION_TIMED_OUT

https://0.peerjs.com/peerjs/id?ts=16153877619780.2194956755253794

MNewbigging commented 3 years ago

Same here, worked ok last night, but today: peer error Error: Could not get an ID from the server

hjfitz commented 3 years ago

Got a similar issue -

peerjs.js:55 WebSocket connection to 'wss://0.peerjs.com/peerjs?key=peerjs&id=[redacted]&token=[redacted]' failed: 
o.start @ peerjs.js:55

Firefox: 86.0 (64-bit) Chromium: 89.0.4389.82 OS: Ubuntu 02.10

Edit: can replicate on this site: https://phone.hjf.io/

I'm guessing that PeerServer Cloud is down?

vinxenz commented 3 years ago

Same problem peerjs.min.js:52 WebSocket connection to 'wss://0.peerjs.com/peerjs?key=peerjs&id=farmaciS123456789&token=0yn60aqw597n' failed: Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT

DigitallyTailored commented 3 years ago

Also having this issue. Noticed that the the examples on PeerJS are currently failing also https://peerjs.com/examples.html

Had me doubting my code!

mdesilva commented 3 years ago

I am having the same issue as well

JonnieHedkvist commented 3 years ago

Same here, watching

nurainsyafinaz commented 3 years ago

is everyone still having the problem?

JonnieHedkvist commented 3 years ago

Yes: Here is the errorlog when setting debug level to 3:

peerjs.min.js:52 WebSocket connection to 'wss://0.peerjs.com/peerjs?key=peerjs&id=****&token=vjyu*****' failed: Error in connection establishment: net::ERR_ADDRESS_UNREACHABLE

nurainsyafinaz commented 3 years ago

same. what can we do now? just wait?

nurainsyafinaz commented 3 years ago

this.peer.on('open', () => { });

peer are not open. so there is nothing happen

JonnieHedkvist commented 3 years ago

I guess one solution is to setup your own peerjs Server? https://github.com/peers/peerjs-server

nurainsyafinaz commented 3 years ago

have u successfully setup your own serve?

JonnieHedkvist commented 3 years ago

Nope, didn't have to until now, but will maybe have to try it tonight if this issue doesn't get resolved

nurainsyafinaz commented 3 years ago

okay thankyou!

marcustrp commented 3 years ago

Still down for me. I tried to deploy my own server to Google App Engine and got it to work, but only from localhost (which uses ws to connect to the server). From my published site, which uses wss, I get ERR_SSL_PROTOCOL_ERROR

willemliufdmg commented 3 years ago

I've managed to deploy it to Azure Web Apps. However I use a free instance so only get 5 ws connections. If you use a paid instance there is no cap beyond what your instance can handle.

It works with wss (secure).

MNewbigging commented 3 years ago

@kidandcat @afrokick @ericz @michelle is this on your radar?

kidandcat commented 3 years ago

The OVH data center has burnt. We are waiting for next Monday to see if they can recover PeerJS servers. If not we will setup new ones.

https://www.datacenterdynamics.com/en/news/ovh-fire-update-four-halls-sbg1-destroyed-well-all-sbg2/

https://status.us.ovhcloud.com/

cryptoboid commented 3 years ago

@kidandcat Hi! Any updates on this?

kidandcat commented 3 years ago

Yes, sorry, it should be working since yesterday