Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Node on different computer can't connect each other #1357

Closed
minxinping0105 opened this issue May 16, 2018 · 3 comments
Closed

Node on different computer can't connect each other #1357

minxinping0105 opened this issue May 16, 2018 · 3 comments
Labels
exp/expert Having worked on the specific codebase is important kind/bug A bug in existing code (including security flaws) P2 Medium: Good to have, but can wait until someone steps up

Comments

@minxinping0105
Copy link

System:ubuntu14.04
jsipfs Version: 0.28.2
Each Computer has run 'ipfs daemon', when connect to each other, ther errors is following"

root@dwrj167:~/Orbitdb/nodejs9.11.1/bin# ./jsipfs swarm connect /ip4/10.1.50.168/tcp/4002/ipfs/QmT3oRfkS4orcGT6kTzPzKgG7arM1KfugKgzVtg1vmtBGt
/root/Orbitdb/nodejs9.11.1/lib/node_modules/ipfs/src/cli/commands/swarm/connect.js:20
        throw err
        ^

Error: Error: dialed to the wrong peer, Ids do not match
    at parseError (/root/Orbitdb/nodejs9.11.1/lib/node_modules/ipfs/node_modules/ipfs-api/src/utils/send-request.js:16:17)
    at ClientRequest.<anonymous> (/root/Orbitdb/nodejs9.11.1/lib/node_modules/ipfs/node_modules/ipfs-api/src/utils/send-request.js:39:14)
    at Object.onceWrapper (events.js:272:13)
    at ClientRequest.emit (events.js:180:13)
    at HTTPParser.parserOnIncomingClient (_http_client.js:540:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:117:17)
    at Socket.socketOnData (_http_client.js:445:20)
    at Socket.emit (events.js:180:13)
    at addChunk (_stream_readable.js:274:12)
    at readableAddChunk (_stream_readable.js:261:11)
@alanshaw
Copy link
Member

@alanshaw
Copy link
Member

@minxinping0105 there's a new js-ipfs release out, would you mind checking if this error is still happening for you?

@alanshaw alanshaw added kind/bug A bug in existing code (including security flaws) exp/expert Having worked on the specific codebase is important status/ready Ready to be worked P2 Medium: Good to have, but can wait until someone steps up labels May 29, 2018
@daviddias
Copy link
Member

Hi @minxinping0105 3 releases happened since this was report, try out the new js-ipfs and let us know if it is still an issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
exp/expert Having worked on the specific codebase is important kind/bug A bug in existing code (including security flaws) P2 Medium: Good to have, but can wait until someone steps up
Projects
None yet
Development

No branches or pull requests

3 participants