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

[Firefox] HTTPS Only Mode redirects to https://ipfs-cid.ipfs.localhost/ #1026

Closed
da2x opened this issue Sep 18, 2021 · 5 comments
Closed

[Firefox] HTTPS Only Mode redirects to https://ipfs-cid.ipfs.localhost/ #1026

da2x opened this issue Sep 18, 2021 · 5 comments
Labels
kind/stale need/author-input Needs input from the original author need/triage Needs initial labeling and prioritization

Comments

@da2x
Copy link

da2x commented Sep 18, 2021

To Reproduce

  1. Enable Use Subdomains in IPFS Companion.
  2. Enable Enable HTTPS-Only Mode in all windows. (Bottom of Settings: Security.)
  3. Go to https://ipfs.io/

Expected behavior
Should redirect to http://docs.ipfs.io.ipns.localhost:8080/. Firefox may show an interstitial asking you to confirm navigation to an unencrypted website.

Actual behavior
IPFS redirects to https://docs.ipfs.io.ipns.localhost:8080/. The request times out. Firefox never suggests downgrading to HTTP because the browser explicitly navigates directly to HTTPS. (It only prompts when the browser intervenes and attempts to redirect to HTTPS.)

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Firefox
  • Version: 92
@da2x da2x added the need/triage Needs initial labeling and prioritization label Sep 18, 2021
@lidel
Copy link
Member

lidel commented Sep 24, 2021

@da2x I was unable to replicate this in Firefox 92.0.1 on Linux.

  • Do you have any other extensions installed that could do this? (eg. https://www.eff.org/https-everywhere)?
  • Does the problem go away when you disable HTTPS-Only mode or add an exeption for docs.ipfs.io.ipns.localhost:8080, as described here?

@lidel lidel added the need/author-input Needs input from the original author label Sep 24, 2021
@da2x
Copy link
Author

da2x commented Sep 24, 2021

Do you have any other extensions installed that could do this?

No. Reproduces for me with a clean profile, just those two settings, and the IPFS companion.

Does the problem go away when you disable HTTPS-Only mode

Yes.

or add an exeption for docs.ipfs.io.ipns.localhost:8080, as described here?

The exception thing doesn’t show (indicating that the URL was opened to https: directly instead of being redirected from http: to https:.). I can’t reproduce on Windows, but it reproduces on macOS and Fedora.

@github-actions
Copy link
Contributor

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 30 days.

@github-actions
Copy link
Contributor

This issue was closed because it is missing author input.

@Mikaela
Copy link
Contributor

Mikaela commented Nov 25, 2021

I think this was a potential duplicate of #855 or at least related to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/stale need/author-input Needs input from the original author need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

3 participants