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

ERROR: Cannot create so many PeerConnections #1414

Closed
robertheessels opened this issue Jun 11, 2018 · 1 comment
Closed

ERROR: Cannot create so many PeerConnections #1414

robertheessels opened this issue Jun 11, 2018 · 1 comment
Labels

Comments

@robertheessels
Copy link

@robertheessels robertheessels commented Jun 11, 2018

What version of WebTorrent?
0.100.0

What browser and version? (if using WebTorrent in the browser)
Chrome latest and also Chrome Canary latest

My browser app needs to share about 100 torrents per client.

Even when I seed 'only' 12 torrents I get a constant flood of this error:

webtorrent.min.js:1
Uncaught DOMException:
Failed to construct 'RTCPeerConnection':
Cannot create so many PeerConnections

Am I allowed to seed a hundred files in the browser? Is 0.100.0 production ready?
Thanx for any help!

@DiegoRBaquero

This comment has been minimized.

Copy link
Member

@DiegoRBaquero DiegoRBaquero commented Aug 24, 2018

WebTorrent creates many simple-peers in order to send WebRTC offers to the tracker, this is about 10 per torrent. So this is a limitation of the browser (a good one). If you are seeding so many, you should try using server side seeds.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.