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

Aragon UI fails to work if you have the IPFS browser companion installed and pointed at localhost. #1513

Open
MicahZoltu opened this issue Jul 31, 2020 · 0 comments
Labels

Comments

@MicahZoltu
Copy link

Describe the bug
If you have the IPFS browser companion installed it will redirect all IPFS requests to a specified (trusted) host. The Agent app is distributed via IPFS within the official UI. Unfortunately, Firefox doesn't consider subdomains of localhost to be secure contexts (known bug in Firefox), which means that when the resources get redirected to <hash>.ipfs.localhost:8080 they end up coming from an insecure context, which can't be loaded into a page that was loaded in a secure context (https).

Mainnet or testnet?
Mainnet.

Organization
N/A

To Reproduce
Steps to reproduce the behavior:

  1. Install Firefox
  2. Install IPFS desktop
  3. Install IPFS browser companion
  4. Point IPFS browser companion at localhost:8080
  5. Navigate to an Aragon organization like https://mainnet.aragon.org/#/augurens
  6. Click Agent on the left.
  7. Notice that it spins forever.
  8. Notice that you have errors about mixed mode content in the browser console.

Expected behavior
The site works when using modern censorship resistance software.

Desktop (please complete the following information):

  • OS and OS version: Windows
  • Browser and browser version: Firefox 79.0

Additional context
#1510 is probably the right solution for this, or lobbying Firefox to fix the bug that localhost subdomains are considered insecure contexts.

@MicahZoltu MicahZoltu added the bug label Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant