-
Notifications
You must be signed in to change notification settings - Fork 490
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
Download Broken - Tries To Use IPFS gateway at 0.0.0.0:8080 #1821
Comments
Thank you for reporting this – it is a bug in ipfs-webui – moving to the correct repo. It reads Gateway address from go-ipfs config but does not seem to validate if it is reachable. If someone wants to pick this up, this might be tackled together with #1814 (comment) |
We need to reproduce this and make sure we have documented the steps for doing so. We will then probably need to clarify what sort of messaging to provide to users (prompt them to update gateway configured in settings?) given an invalid gateway URL from go-ifps |
I would also be interested in that feature since it will allow browsing and using a deployed ipfs container on a local network. For now the webui works fine but all the download fail. |
Using kubo in docker and there the gateway is 0.0.0.0 which is of course not reachable from the outside, but changing the gateway to the domain crashes kubo. Can we make the gateway configurable in the frontend? |
I have the same issue, is there any workaround? |
@wblondel workaround is updating configuration in Once fix from #2287 lands, this will no longer be necessary. |
Closes #1821 Co-authored-by: Russell Dempsey <[email protected]>
## [4.4.0](v4.3.3...v4.4.0) (2024-11-07) CID `bafybeibkirkltohusogcco46jcw7khtgjf5nwphuvufjssr5pvhsuol5uy` --- ### Features * use [email protected] ([#2283](#2283)) ([437b8fe](437b8fe)), closes [#2259](#2259) ### Bug Fixes * normalize catch-all listeners to loopback ([#2287](#2287)) ([edf14c6](edf14c6)), closes [#1821](#1821) * remove iltorb dep, build for node v22.9.0 ([#2273](#2273)) ([9ba4559](9ba4559)) ### Trivial Changes * move enum.js to lib folder ([#2285](#2285)) ([682de0b](682de0b)) * pull new translations ([#2279](#2279)) ([8205d12](8205d12))
🎉 This issue has been resolved in version 4.4.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Version information:
go-ipfs version: 0.8.0-ce693d7
Repo version: 11
System version: amd64/linux
Golang version: go1.14.4
The above is from a container running docker tag ipfs/go-ipfs:v0.8.0, running on Ubuntu 20.04 LTS.
Description:
Browse to the admin web site (yourserver:5001), click on Files, click on the elipsis, and click Download. The download will fail.
If you use F12 in FireFox to open the networking tab and try again, you'll see a GET failure to 0.0.0.0:8080. Presumably, the web site is assuming that the IP address the gateway HTTP server is bound on is also an IP address it can use from the browser.
Since the IPFS gateway is running in a Docker container, it binds to 0.0.0.0, and does not know what the external IP address of its own IPFS gateway is. This would also apply if the IPFS gateway is behind a reverse proxy or NAT.
Suggested changes
A harsher option could be to require the new field to be populated when the gateway is bound to 0.0.0.0, but that wouldn't be backward compatible.
The text was updated successfully, but these errors were encountered: