-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
gateway api doesn't resolve ipns entries #1586
Comments
can't reproduce. likely due to caching |
@rht, @lgierth - i made this test script to show what i want to work: http://gateway.ipfs.io/ipfs/QmZmgC5Cw1scmQwUZp9X7QZBPFyPrXt1Uz1hXYSTeV1tL1/ it works fine on localhost, but fails on gateway. Probably something to do with the Referer. Thoughts? |
Most likely. Because it works if directly from the gateway http://gateway.ipfs.io/api/v0/cat?arg=/ipfs/QmZTR5bcpQD7cFgTorqxZDYaew1Wqgfbd2ud9QqGPAkK2V The script doesn't tell if the err is 403 or 404, however. |
And the related tokens/CORS discussion: #1532 |
It does in the network console, it's all 403 with a "403 - Forbidden" body |
@lgierth does the gateway have the CORS headers setup?
|
Setting the gateway CORS to its own domain should be enough, other gateways will choose their own CORS. Assuming most people would not need to send cookies with their gateways, we could just warn them that it's not an opaque thing no? |
@lgierth any progress/ETA on this? |
on it right now |
so at the very least, it looks like
maybe:
|
All good! |
@rht
The text was updated successfully, but these errors were encountered: