orbit-web
orbit-web copied to clipboard
Unnecessary redirect to HTTPS breaks local IPFS load
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).
trying to brows the server externally forces to https and fails Error code: SSL_ERROR_RX_RECORD_TOO_LONG is this supposed to happen?
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
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.