Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1011 Bytes

README.md

File metadata and controls

45 lines (30 loc) · 1011 Bytes

Test for "already piped" errors in js-libp2p-switch

This app just starts up an js-ipfs node, and lets it idle. After 3mins, "already piped" errors start to show up in the console.

Usage

With node@8 and [email protected]

yarn
yarn start

Add the following debug config to your localStorage to see the logging.

localStorage.setItem('debug', 'libp2p:switch:dial')

You can try it out with the PR branch by adding the following to the package.json

"resolutions": {
  "libp2p-switch": "libp2p/js-libp2p-switch#fix/already-piped"
},

then clear out your node_modules dir, re-install, and restart

rm -rf node_modules
yarn
yarn start

The app should now run without errors. I've left it going to 50mins and no errors so far. Hurray.


This project was bootstrapped with Create React App.