ipfs / infra

Tools and systems for the IPFS community
MIT License
133 stars 41 forks source link

ipfs.io gateway returns internalWebError but cloudflare gateway doesn't #480

Closed andrew closed 5 years ago

andrew commented 5 years ago

Not a showstopper issue for me, just a weird bug I noticed with some gateways but not others that wasn't very clear, @scout asked me to open an issue so it can be kept track of.

When attempting to view a folder (QmThJ4k554iT3B7SZonmVMwspHALiHGThhqaem7nij1wQD) via IPFS on the gateway, some gateways seem to error with internalWebError: operation not supported others in another and some work as expected.

https://ipfs.io/ipfs/QmTh...: internalWebError: operation not supported

https://ipfs.infura.io/ipfs/QmTh...: internalWebError: operation not supported

https://ipfs.jes.xxx/ipfs/QmTh... and https://cloudflare-ipfs.com/ipfs/QmTh... work as expected:

Screenshot 2019-03-21 at 18 20 27
andrew commented 5 years ago

I wonder if this is related to the use of --raw-leaves

scout commented 5 years ago

I looked more into this but still confused. The cloudflare and jes gateways load the root object fine as you noted, but are printing ipfs cat /ipfs/QmTh.../ubuntu: cannot currently read symlinks however our and infura's gateway loads that fine.

see: https://ipfs.jes.xxx/ipfs/QmTh.../ubuntu https://ipfs.infura.io/ipfs/QmTh.../ubuntu

Does that make any sense to you?

andrew commented 5 years ago

Yeah ubuntu is a symlink

andrew commented 5 years ago

Looks like it's related to this issue: https://github.com/ipfs/go-ipfs/issues/6203

scout commented 5 years ago

@andrew since this is most likely a software issue can this issue be closed?

andrew commented 5 years ago

Yeah, it seems like it'll solve itself as the different gateways upgrade to the latest versions of IPFS.