peerjs icon indicating copy to clipboard operation
peerjs copied to clipboard

Still getting concurrent limit even with my own server

Open lucastwong opened this issue 5 years ago • 3 comments

I have been getting lots of concurrent limit this morning. My code:

peer = new Peer({ config: { 'iceServers': [{ 'urls': 'stun:stun.l.google.com:19302' }, { 'urls': 'stun:stun1.l.google.com:19302' }, { 'urls': 'stun:stun2.l.google.com:19302' }, { 'urls': 'stun:stun3.l.google.com:19302' }, { 'urls': 'stun:stun4.l.google.com:19302' }, { 'urls': 'turn:numb.viagenie.ca', 'credential': 'xxxxxxx', 'username': 'xxxxxx' } ], debug: 2 } });

lucastwong avatar Sep 14 '20 17:09 lucastwong

Hi,

I had the same error "message" and it was a typo somewhere in the config options passed to new Peer().

So because the options wasn't correct, it not use my peerjs server but the default one which is public ... and because it's public, it's most of time run on the limit.

So you think it's your server but it's may be a typo in your config.

Cordialement,

Nodalailama avatar Sep 18 '20 05:09 Nodalailama

How to resolve this issue? @Nodalailama @lucastwong

RamyaAshika avatar Oct 02 '20 15:10 RamyaAshika

Yeah this morning here...not working for 1.5 hours now... We need some help in terms of setting up our own STUN server...anyone?

lucastwong avatar Oct 02 '20 15:10 lucastwong