question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Automatic redirects to IPFS via gateway don't always work

See original GitHub issue

Description

Automatic redirects to IPFS via gateway don’t always work

This is with go-ipfs 0.11.0 but also reproduces with the 0.12.0 release.

Steps to Reproduce

  1. install 1.38.20
  2. launch Brave
  3. open brave://settings/ipfs
  4. toggle Redirect IPFS resources to the configured IPFS gateway to On
  5. load https://ipfs.io/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR

Actual result:

It remains on https://ipfs.io/ipfs/QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR

Screen Shot 2022-03-03 at 11 05 14 AM

Expected result:

Per https://github.com/brave/qa-resources/blob/654c91cbf44d25cf74c5143c5cb42477458fa7b4/wikitemplate-IPFS.md#automatic-redirects-to-ipfs it should go to ipfs://bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi

Reproduces how often:

100%

Brave version (brave://version info)

Brave 1.38.20 Chromium: 99.0.4844.51 (Official Build) nightly (x86_64)
Revision d537ec02474b5afe23684e7963d538896c63ac77-refs/branch-heads/4844@{#875}
OS macOS Version 11.6.3 (Build 20G415)

cc @spylogsster @lidel @MadhaviSeelam

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kjozwiakcommented, Oct 26, 2022

@yrliou @bridiver going to remove this issue from 1.46.x due to reverting the above work via https://github.com/brave/brave-core/pull/15649. I’ll remove the QA Pass-macOS label as this will need to be rechecked again once the code/fix is remerged. Assuming we can re-use this issue 👍

1reaction
yrlioucommented, Oct 25, 2022

It was reverted on master via https://github.com/brave/brave-core/pull/15597, revert to beta is still pending uplift (https://github.com/brave/brave-core/pull/15649), I think we need to reopen this issue and ping uplift team to merge the revert on beta. cc @cypt4

Read more comments on GitHub >

github_iconTop Results From Across the Web

Automatice redirection to https from http is not happening
I have not been able to configure automatic https redirection. ... quickswap.exchange is hosted on ipfs and served through Cloudflare ipfs.
Read more >
Address IPFS on the Web
It provides support for native URLs and will automatically redirect IPFS gateway requests to your local daemon so that you are not relying...
Read more >
Overview - Documentation - Fleek docs
This gateway directly fetches the information on IPFS, meaning it will always display the exact content of the file on IPFS.
Read more >
tech, open source and networking | Page 3 - Daniel Stenberg
curl will probably output an error message if there was no gateway set when an ipfs:// URL is used, and inform the user...
Read more >
Host Static Website On IPFS - Level Up Coding
IPFS Gateway makes it easier for users to access IPFS and experient the distributed Web. However, The transit through a centralized gateway runs ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found