Skip to content
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

IPFS Cannot connect to https resources on IPFS because of insecure connection #13853

Closed
Mithrandir2k18 opened this issue Jan 31, 2021 · 4 comments

Comments

@Mithrandir2k18
Copy link

Description

Some applications like https://orbit.chat/ require an https connection to the ipfs node.
The node that comes with brave apperently doesn't support that, as I get
image

once the address is resolved to https://orbit.chat.ipns.localhost:9006/.

Now the annoying thing is, I cannot even connect to an https IPFS gateway, because it'll automatically override the address to point to the local node, that doesn't support https. I tried the address on chrome and there both, going through the https gateway https://ipfs.io/ipfs/QmU9ZTANSMd78GhdDv7srSBeiFkffSFqADpEJn3E4X7Thw/
and the above orbit.chat address work.

So basically with applications like orbit, they will work if you use a browser that doesn't support IPFS.

Steps to Reproduce

  1. Install the IPFs extention and go to https://orbit.chat/. It won't work.
  2. Use e.g. google chome and https://orbit.chat/ will work
@diracdeltas
Copy link
Member

@lidel any suggestion on how we should handle this?

@lidel
Copy link

lidel commented Feb 2, 2021

@Mithrandir2k18 mind providing more information?

  1. where does localhost:9006 come from? (this is not the default port of Brave node)
  2. Are you running IPFS Companion?
    2.1 What IPFS Node Type is set in its Preferences?
    2.2 What is IPFS API URL in its Preferences?

@lidel
Copy link

lidel commented Feb 2, 2021

Ok, turns out this is a bug in https://orbit.chat/ – I filled orbitdb-archive/orbit-web#155

@diracdeltas nothing to fix in Brave nor Companion, this can be closed.

@diracdeltas
Copy link
Member

@lidel thank you for looking into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants