IPFS UI + HTTPs API are always pointing to port 80
See original GitHub issueVersion information: 0.4.13
Type: Bug
Severity: Medium
Description:
When I am exposing the API behind a reverse proxy via HTTPS (nginx), the API call coming from the /webui
interface are all failing as they are trying to get to port :80
. In the logs of the browser it looks like this:
GET https://ipfs-api.myawesomewebsite:80/api...
What should I do to allow the UI to talk to the HTTPS correctly? If I am disabling HTTPS it works perfectly.
To reproduce you can spin up a container, set up nginx to point :443
to :5001
. Even with a fake certificate you will see the problem by browsing to https://localhost/webui
.
(clones https://github.com/ipfs/go-ipfs/issues/4488 as this probably is the right place to submit the issue)
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (7 by maintainers)
Top Results From Across the Web
IPFS UI + HTTPs API are always pointing to port 80 · Issue #611
Description: When I am exposing the API behind a reverse proxy via HTTPS (nginx), the API call coming from the /webui interface are...
Read more >IPFS with React: Loading IPFS Assets from Your Distributed ...
Perhaps the most important configuration is the proxy_pass value, pointing to localhost (127.0.0.1, port 8080), followed by the URI. The URI in ...
Read more >KeySpace: End-to-End Encryption using Ethereum and IPFS
js library ( https ://github.com/airswap/AirSwap.js). Afterwards they will be able to validate identities in decentralized messaging systems, encrypt & decrypt ...
Read more >Ipfs node won't connect to my react app running on local host
It seems the issue is that CORS is left to the default settings on your IPFS node: block all connections. To fix this,...
Read more >ChangeLog-SLE-15-SP3-GM-SLE-15-SP4-Snapshot ... - SUSE
Update to version 2.36.0: + New API: - Added ATK_ROLE_MARK and ... 4.4.21 - bsc#1192626: - Registration takes place always at the same...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👋 v2 of the Web UI is out, which is a significant re-write. It’ll be released with v0.4.18 of go-ipfs. You can also try out a recent build at https://webui.ipfs.io
In general, the Web UI expects accessed via 127.0.0.1, on the same port as the API. There is currently no access control or authentication for the http API, so it is not advised that you proxy access to it to the public internet. See https://github.com/ipfs-shipyard/ipfs-webui/issues/836
I tried master (commit 3d8aa07) built as
QmULQD1iBBkxWkzb7nsyxpLqivjdfp4D1w2ctC8wRz8jJD
. It’s definitely different, but not fixed 😃It seems to have the opposite problem now. I see Firefox blocking the AJAX requests like this:
Note port 443 but scheme http.