Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Unnecessary redirect to HTTPS breaks local IPFS load #155

Open
lidel opened this issue Feb 2, 2021 · 3 comments
Open

Unnecessary redirect to HTTPS breaks local IPFS load #155

lidel opened this issue Feb 2, 2021 · 3 comments

Comments

@lidel
Copy link

lidel commented Feb 2, 2021

Opening http://localhost:8080/ipns/orbit.chat/ (local gateway provided by go-ipfs) triggers unnecessary redirect to HTTPS:

https://github.com/orbitdb/orbit-web/blob/653c0e867719b0a26946d3bdee19db20c222c632/src/index.js#L17

which breaks load from local gateway and in Brave (brave/brave-browser#13853).

@gimzmoe
Copy link

gimzmoe commented Oct 2, 2021

trying to brows the server externally forces to https and fails
Error code: SSL_ERROR_RX_RECORD_TOO_LONG
is this supposed to happen?

@slrslr
Copy link

slrslr commented Oct 26, 2021

Same issue here.
I open https://orbit.chat/ in Firefox 93.0 i am redirected to https://orbit.chat.ipns.localhost:8080/
(I am using IPFS companion 0.9.1/dc2715a)
page shows error:

Secure Connection Failed
An error occurred during a connection to orbit.chat.ipns.localhost:8080. SSL received a record that exceeded the maximum permissible length.
Error code: SSL_ERROR_RX_RECORD_TOO_LONG

@pmwoodward3
Copy link

Don't want to bump an old ticket, but i'm still seeing this on the latest version of IPFS using the latest version of Firefox.

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

No branches or pull requests

4 participants