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

Already Piped Error #56

Open
sorleone opened this issue Aug 13, 2018 · 5 comments
Open

Already Piped Error #56

sorleone opened this issue Aug 13, 2018 · 5 comments

Comments

@sorleone
Copy link

sorleone commented Aug 13, 2018

The error I get has been around for quite long if you search for it:

https://github.com/libp2p/js-libp2p-switch/issues/235

I get it with js-ipfs version 0.31.4, 0.31.3, and 0.30.0, but I think every version has it. This is what I get:

js-ipfs/node_modules/pull-pair/index.js:11
      throw new Error('already piped')

the node crashes with varying delays, can be 15 minutes or last for much longer, it's preventing me to use IPFS.

@pgte
Copy link
Contributor

pgte commented Aug 13, 2018

I believe this is a js-ipfs issue. described here.

@sorleone
Copy link
Author

@pgte Can I use ipfs-pubsub-room with this: https://github.com/ipfs/js-ipfs-api? If so I can get around that problem by using the go-ipfs daemon...

@pgte
Copy link
Contributor

pgte commented Aug 13, 2018

In theory if you don't use direct messages, you can, but I haven't tried.

@sorleone
Copy link
Author

@pgte take it as feature request, support for the HTTP API would be great! Especially with private encrypted messages! However I get this error:

TypeError: this._ipfs.isOnline is not a function

Code:

const ipfsAPI = require('ipfs-api')
const Room = require('ipfs-pubsub-room')
const ipfs = ipfsAPI({host: 'localhost', port: '5001', protocol: 'http'})
const room = Room(ipfs, 'room-name')

@noxonsu
Copy link

noxonsu commented Aug 15, 2018

ipfs/js-ipfs#1446

they are wraped this error in try catch multiformats/js-multistream-select#44

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants