Skip to content

Can't connect to API over HTTPS #989

Closed
ipfs-inactive/ipfs-redux-bundle
#25
@xuhcc

Description

@xuhcc

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:

Trying IPFS Companion index.js:4
🎛️ Customise your js-ipfs-api options by storing a `ipfsApi` object in localStorage. e.g. localStorage.setItem('ipfsApi', '/ip4/127.0.0.1/tcp/5001') index.js:8
Trying ipfs-api with custom api address /dnsaddr/****/tcp/5002/https index.js:11
Failed to connect to ipfs-api /dnsaddr/****/tcp/5002/https index.js:49
Processing queued call
["add_event",{"key":"IPFS_INIT_FAILED","count":1,"dur":0.012}]

If I replace /dnsaddr/ with /dns4/ then this error gets printed to console (in addition to the above):

Blocked loading mixed active content “http://****:5002/api/v0/stats/bw?stream-channels=true”
  • OS: Linux
  • Browser: Firefox 65.0.2

Metadata

Metadata

Assignees

Labels

kind/bugA bug in existing code (including security flaws)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions