Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

IPFS: 'Addresses.API' being set to node's multiaddr #13

Open
folex opened this issue Oct 7, 2021 · 0 comments
Open

IPFS: 'Addresses.API' being set to node's multiaddr #13

folex opened this issue Oct 7, 2021 · 0 comments
Labels
bug Something isn't working critical

Comments

@folex
Copy link
Member

folex commented Oct 7, 2021

In cont-init.d/20-config, ipfs daemon is told to use 0.0.0.0 in Addresses.API. But sometimes, on some nodes, the multiaddress is being set to the $external_IP/tcp/5001. It triggers an error from IPFS daemon:

2021-10-07 11:12:18.647461509  Initializing daemon...
2021-10-07 11:12:18.647465773  go-ipfs version: 0.9.0-179d1d1
2021-10-07 11:12:18.647467203  Repo version: 11
2021-10-07 11:12:18.647468538  System version: amd64/linux
2021-10-07 11:12:18.647469821  Golang version: go1.15.2
2021-10-07 11:12:18.708260850  Swarm is limited to private network of peers with the swarm key
2021-10-07 11:12:18.708265178  Swarm key fingerprint: ef371f974014caa3bd2b73076a6c271c
2021-10-07 11:12:18.708266605  Swarm listening on /ip4/127.0.0.1/tcp/4001
2021-10-07 11:12:18.708267883  Swarm listening on /ip4/172.18.0.2/tcp/4001
2021-10-07 11:12:18.708269057  Swarm listening on /p2p-circuit
2021-10-07 11:12:18.708293318  Swarm announcing /ip4/178.128.194.190/tcp/4001/p2p/12D3KooWJdCPqrVJBMzdhZHxgPczA1Ar9mRoAbQmiY7E9HDQNrH3
2021-10-07 11:12:18.711005862
2021-10-07 11:12:18.711009349  Error: serveHTTPApi: manet.Listen(/ip4/178.128.194.190/tcp/5001) failed: listen tcp4 178.128.194.190:5001: bind: cannot assign requested address
2021-10-07 11:12:19.667193369  Initializing daemon...
@folex folex added bug Something isn't working critical labels Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working critical
Projects
None yet
Development

No branches or pull requests

1 participant