This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Description
- Version: 0.32 & 0.31
- Platform: Chrome
Type: Bug-ish
Severity: Low
Description:
Leaving js-ipfs running in Chrome while working on ipld-explorer, I've just started seeing lots of
Uncaught DOMException: Failed to construct 'RTCPeerConnection': Cannot create so many PeerConnections
index.js:88 Uncaught DOMException: Failed to construct 'RTCPeerConnection': Cannot create so many PeerConnections
at new Peer (http://localhost:3000/static/js/0.chunk.js:212931:14)
at ClassIsWrapper.dial (http://localhost:3000/static/js/0.chunk.js:106314:21)
at timeout (http://localhost:3000/static/js/0.chunk.js:97790:30)
at http://localhost:3000/static/js/0.chunk.js:6579:12
at http://localhost:3000/static/js/bundle.js:8182:12
at DialQueue._dialWithTimeout (http://localhost:3000/static/js/0.chunk.js:97797:25)
at DialQueue._doWork (http://localhost:3000/static/js/0.chunk.js:97752:10)
at DialQueue.queue.queue (http://localhost:3000/static/js/0.chunk.js:97736:12)
The instance is still functional, but it's one of those error messages that will worry people as it's large and red.

Steps to reproduce the error:
Create a js-ipfs instance in the browser, passing no custom opts. Leave it running for 5mins.