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

Docker Deployment of Rainbow Container Not Connecting to Peers #238

Open
Suo-Ran opened this issue Jan 29, 2025 · 1 comment
Open

Docker Deployment of Rainbow Container Not Connecting to Peers #238

Suo-Ran opened this issue Jan 29, 2025 · 1 comment

Comments

@Suo-Ran
Copy link

Suo-Ran commented Jan 29, 2025

I used the Docker deployment method from the README document, but it didn't work as expected. I found that the listening address was set to 127.0.0.1 instead of 0.0.0.0. I couldn't find any environment variables in the documentation that could change this. After reading the source code, I discovered that you can change it by passing the RAINBOW_GATEWAY_LISTEN_ADDRESS. Now I can successfully access the container, but why is it not connecting to other peers? I have port 4001 mapped and open, and under the same conditions, Kubo works fine, but Rainbow fails.

Here’s the command I used:

docker run -d --restart=always --name ipfs_rainbow -p 4001:4001 -p 4001:4001/udp -p 8090:8090 -p 8091:8091 -e RAINBOW_GATEWAY_LISTEN_ADDRESS=0.0.0.0:8090 -e RAINBOW_CTL_LISTEN_ADDRESS=0.0.0.0:8091 ghcr.io/ipfs/rainbow:main-latest
@stephen-eades
Copy link

I am not using Docker but fwiw I also can't get any peers. I am compiling and running it then checking http://127.0.0.1:8091/mgr/peers which returns {"Count":0,"Peers":null}

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

2 participants