orbit-web icon indicating copy to clipboard operation
orbit-web copied to clipboard

Unnecessary redirect to HTTPS breaks local IPFS load

Open lidel opened this issue 3 years ago • 3 comments

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 (https://github.com/brave/brave-browser/issues/13853).

lidel avatar Feb 02 '21 23:02 lidel

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

gimzmoe avatar Oct 02 '21 22:10 gimzmoe

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

slrslr avatar Oct 26 '21 09:10 slrslr

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.

pmwoodward3 avatar Apr 05 '23 17:04 pmwoodward3