-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
[BUG] Downloads Fail on hosts with IPv4/IPv6 dual stack #52
Comments
Removing ::1 temporarily from /etc/hosts allows you to bypass the issue, however since Kubernetes controls that file it must be done manually each time you deploy the software. |
Can this be replicated with docker? We've not experienced the same issue in testing. K8s isn't a supported platform by us : https://docs.linuxserver.io/misc/support-policy/#reasonable-endeavours-support |
I have not replicated it in docker, however I found a fix for the issue. If the API line in /data/.ipfs/config is updated to read: At this point I have made that change manually which is persistent. Obviously it would be more ideal for that to be in the upstream if the change does not impact your Docker build. |
I can confirm that this is an issue with docker running a ULA IPv6 address. As a workaround I just disabled IPv6 in my container with |
Disabling IPv6 is not an option in our environment because it would impact other containers which use it. I am using the patch I suggested for now.On Dec 2, 2023, at 2:17 PM, RedPine404 ***@***.***> wrote:
I can confirm that this is an issue with docker running a ULA IPv6 address. As a workaround I just disabled IPv6 in my container with
sysctls: - net.ipv6.conf.all.disable_ipv6=1
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Would you consider patching the API line in /data/.ipfs/config is updated to read: |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Is there an existing issue for this?
Current Behavior
When you attempt to download the initial resources the system seems to try and connect to localhost:5001 , however on hosts with dual stack (IPv4/IPv6) networks the connection gives an error connecting to port 5001 on ::1 (IPv6 localhost) because the API server is not binding to the IPv6 host.
Expected Behavior
API server binds to port 5001 on both IPv4 and IPv6
Steps To Reproduce
Environment
- OS: K8S v1.27.6
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: