-
Notifications
You must be signed in to change notification settings - Fork 489
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
Can't connect to API over HTTPS #989
Can't connect to API over HTTPS #989
Comments
I updated the title to better reflect what is the problem. |
@xuhcc Did you try to manually tell Web UI what is the multiaddr of your API? Click the status icon in top right: And then tweak default multiaddr of your API: |
Yes. In my case, API address on status page looks like |
Ok, I can confirm there is a bug: It seems multiaddr is passed to js-ipfs-http-client as-is: ipfs-redux-bundle/js-ipfs-api/index.js, may require an upstream fix. Update: I can confirm, passing multiaddr to js-ipfs-http-client does not respect protocol: js-ipfs-http-client/src/index.js#L27-L28 |
When I open Web UI (version 2.4.1), it shows the "Failed to connect to the API." page. IPFS API is located at
https://****:5002
. In the browser console I see these messages:If I replace
/dnsaddr/
with/dns4/
then this error gets printed to console (in addition to the above):The text was updated successfully, but these errors were encountered: