Closed da2x closed 5 years ago
There two bugs at play here.
2) does not happen anymore, but looks like a clash between gateway and dnslink redirect. I fixed similar edge cases in https://github.com/ipfs-shipyard/ipfs-companion/pull/518, fix will land in next release.
3) the problem is that blog is is a separate static website and current URL structure does not translate to dnslinks used.
If user is visiting https://ipfs.io/blog/ and has dnslink lookup enabled in companion extension they get redirected to http://127.0.0.1:8080/ipns/ipfs.io/blog/ which at the moment is a directory with this gem: http://127.0.0.1:8080/ipns/ipfs.io/blog/index.json
A fix is to either:
Visit http://127.0.0.1:8080/ipns/ipfs.io/docs/examples/
Click on “IPFS for websites” in the list of examples
ipfs resolve -r /ipns/ipfs.io/ipfs/QmNZiPk974vDsPmQii3YbrMKfi12KTSNM7XMiYyiea4VYZ/example: no link named "ipfs" under QmPCawMTd7csXKf7QVr2B1QRDZxdPeWxtE4EpkDRYtJWty
Go back and click on “Blog” (in the top bar)
ipfs resolve -r /ipns/ipfs.io/blog: no link named "blog" under QmPCawMTd7csXKf7QVr2B1QRDZxdPeWxtE4EpkDRYtJWty