peerjs icon indicating copy to clipboard operation
peerjs copied to clipboard

Concurrent User Error

Open Kamran95 opened this issue 5 years ago • 2 comments

Hello Everyone! I am developing a product everything was successful until i got the error that Server has reached its concurrent user limit. Is there any way to set concurrent_limit for peerjs. or any other way to implement this where there are no such limitations. Along with that kindly explain concurrent_limit error as why and when does this error occur. I'll be really grateful. looking forward for someone's cooperation. Any Sort of help will be appreciated Thank You Regards Kamran Durrani Project Coordinator

Kamran95 avatar Sep 20 '20 01:09 Kamran95

(I'm not the maintainer of the repo)

I experienced the same kind of error because the peerjs-server can (by default) only handle 5000 user at a time.

While this repo offers a free cloud-based peerjs-server by default, all the users of this lbirary might end up using it, which is why I think you are experiencing this issue.

You are better up hosting your own instance of peerjs-server in the cloud

https://github.com/peers/peerjs-server

RPDeshaies avatar Sep 20 '20 14:09 RPDeshaies

Hi,

A simple solution is to setup your own peerjs signaling server (https://github.com/peers/peerjs-server) via Heroku https://elements.heroku.com/buttons/harshjv/peerjs-server.

Cordialement,

Nodalailama avatar Sep 21 '20 05:09 Nodalailama