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

Local IPFS interfering with content fetching #152

Open
lkngtn opened this issue Feb 13, 2020 · 2 comments
Open

Local IPFS interfering with content fetching #152

lkngtn opened this issue Feb 13, 2020 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@lkngtn
Copy link

lkngtn commented Feb 13, 2020

I'm creating this issue on behalf of AlvinAntrican on Aragon's discord instance. He reported issues loading content from ipfs in the court dashboard. We were able to resolve the issue reliably be disabling his local ipfs instance, but are not able to explain what is causing the issue and are concerned that it will cause issues for others as well.

AlvinAntrican does not have access to github due to it being blocked in his location, but can help test further over discord. Here is a screenshot of the conversation for context:

image

@xuhcc
Copy link

xuhcc commented Feb 14, 2020

I use ipfs-companion with my own IPFS gateway. No issues with the Court so far, dispute and evidence data loaded relatively quickly.

@ghost
Copy link

ghost commented Feb 15, 2020

I have the same issue, using ipfs-companion as well. This probably doesn't happen if you use a localhost IPFS node, only if you are accessing an IPFS node on your network. Appliances such as DappNode, I believe, are working that way and a user of such product should expect to face this issue. Same goes if your IPFS node is in the cloud and accessed through a VPN, for example.

I am not entirely sure but I believe this is due to Chrome-based browsers that, within a https session, will only allow any secured (https) content with the exception of localhost for unsecured (http) content. IPFS is loading on http, not https.

Another option that can interfere can be found under two different names (although I believe it is the exact same thing): "Use Custom Gateway" and "Redirect to Gateway". Ideally this should be on as the more you can cache (and share) on your node the better, but in some cases it can also "break" the website.

Ideally, all should be loaded on IPFS.

@sohkai sohkai added the help wanted Extra attention is needed label Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants