input-output-hk / nami

Nami Wallet is a browser based wallet extension to interact with the Cardano blockchain. Support requests: https://iohk.zendesk.com/hc/en-us/requests/new
https://namiwallet.io
Apache License 2.0
373 stars 168 forks source link

Blockforst IPFS 504 Gateway timeout. #753

Open n15e opened 2 years ago

n15e commented 2 years ago

The same file on IPFS

https://ipfs.blockfrost.dev/ipfs/QmaPWNXpXHfYKDbsoZPy1VdrM7Nu3Q41CpZ6PqdbvLQX4Y

and

https://ipfs.io/ipfs/QmaPWNXpXHfYKDbsoZPy1VdrM7Nu3Q41CpZ6PqdbvLQX4Y

leads to a 504 Gateway timeout on blockforst's gateway, while more popular public gateways have no trouble serving the image.

Might it be possible to add a redundancy feature where if blockfrost's gateway fails it will try a different ipfs gateway?

n15e commented 2 years ago

Cloudflare has a really good IPFS mirror at https://cloudflare-ipfs.com/ipfs/

This issue seems to be a recurring issue for others as well. https://github.com/berry-pool/nami/issues/187#issuecomment-1250006626

This issue really confuses users who are using nami to store and view their NFTs and getting the blame directed to the NFT developers rather than the real issue, which is nami having no fail over ifps mirrors set up in place.

@alessandrokonrad would really appreciate if this issue can be fixed.

GGAlanSmithee commented 2 years ago

Isn't the underlying issue with Blockfrost? I reported an issue to them with a link to these issues.

GGAlanSmithee commented 2 years ago

@KelvinEthDev I am not the one having an issue here but thanks anyway :) I just wanted to help out and send a support ticket to blockfrost.

n15e commented 2 years ago

@GGAlanSmithee Talk to Cardano Support on the Live support page so that your issue can be looked into.

Keep seeing that you are spamming this link everywhere on the issue tracker. Get a real job instead of trying to scam people.

n15e commented 2 years ago

Isn't the underlying issue with Blockfrost? I reported an issue to them with a link to these issues.

Thanks for that.

Yes I agree its an issue with blockfrost. But I think the best option would be if nami could use a few fail-over IPFS mirrors than reply on just one endpoint.

GGAlanSmithee commented 2 years ago

@n15e you can report the user by going to it's GitHub page, https://github.com/KelvinEthDev, and klick report. I did report him, but not sure how effective it'll be.

GGAlanSmithee commented 2 years ago

@n15e they banned him :)

GGAlanSmithee commented 2 years ago

@n15e I got an answer from blockfrost support

Hello Alan,

This happens when the assets are not pinned with Blockfrost. If they are not, we need to fetch them from a different server and it takes time, as these are pretty heavily rate limited.

If you developer a project on Cardano, I suggest you pin your items on Blockfrost too.