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

jsipfs swarm addrs errors #1575

Closed
alanshaw opened this issue Sep 17, 2018 · 0 comments · Fixed by #2083
Closed

jsipfs swarm addrs errors #1575

alanshaw opened this issue Sep 17, 2018 · 0 comments · Fixed by #2083
Labels
exp/expert Having worked on the specific codebase is important help wanted Seeking public contribution on this issue kind/bug A bug in existing code (including security flaws) P1 High: Likely tackled by core team if no one steps up status/ready Ready to be worked

Comments

@alanshaw
Copy link
Member

$ jsipfs swarm addrs
QmaFBzZTyz3ibDumf9kUTno7xSFoa36ateG7uoithtY855 (8)
/usr/local/lib/node_modules/ipfs/node_modules/multiaddr/src/index.js:234
    throw new Error('Address ' + this + ' does not contain subaddress: ' + addr)
    ^

Error: Address /ip4/127.0.0.1/tcp/4001 does not contain subaddress: ipfs
    at ClassIsWrapper.decapsulate (/usr/local/lib/node_modules/ipfs/node_modules/multiaddr/src/index.js:234:11)
    at peer.multiaddrs.forEach (/usr/local/lib/node_modules/ipfs/src/cli/commands/swarm/addrs.js:26:28)
    at Array.forEach (<anonymous>)
    at MultiaddrSet.forEach (/usr/local/lib/node_modules/ipfs/node_modules/peer-info/src/multiaddr-set.js:52:29)
    at res.forEach (/usr/local/lib/node_modules/ipfs/src/cli/commands/swarm/addrs.js:25:25)
    at Array.forEach (<anonymous>)
    at argv.ipfs.swarm.addrs (/usr/local/lib/node_modules/ipfs/src/cli/commands/swarm/addrs.js:21:11)
    at send (/usr/local/lib/node_modules/ipfs/node_modules/ipfs-api/src/swarm/addrs.js:30:7)
    at f (/usr/local/lib/node_modules/ipfs/node_modules/once/once.js:25:25)
    at streamToValue (/usr/local/lib/node_modules/ipfs/node_modules/ipfs-api/src/utils/stream-to-json-value.js:30:5)
@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 P1 High: Likely tackled by core team if no one steps up labels Sep 17, 2018
@alanshaw alanshaw added the help wanted Seeking public contribution on this issue label Sep 28, 2018
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 help wanted Seeking public contribution on this issue kind/bug A bug in existing code (including security flaws) P1 High: Likely tackled by core team if no one steps up status/ready Ready to be worked
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant