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

jsipfs swarm addrs errors #1575

@alanshaw

Description

@alanshaw
$ 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High: Likely tackled by core team if no one steps upexp/expertHaving worked on the specific codebase is importanthelp wantedSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)status/readyReady to be worked

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions