-
Notifications
You must be signed in to change notification settings - Fork 1.3k
check what's up with the dns tests in the browser and the gateway ipfs dns cmd #2416
Comments
PR to re-instate skipped tests #2417 |
It is returning "403 - Forbidden" |
You can use https://ipfs.io/ipfs/QmNrnVzJT3oQFNFWUSw4v1DxvRQfEzhXUtNk8CdCqhNzTh to check. I get the following response: ...yet, if I paste https://ipfs.io/api/v0/dns?arg=ipfs.io into my browser URL bar it works! |
not sure I follow you @alanshaw the screenshot shows a 403 on |
oh me oh my... can you see the |
hmm could it be related to referer header? If i click the link, i get |
ok so, i think this is go-ipfs adding it's extra referer check... @lidel do you know where that check is? Basically go-ipfs adds an extra check for referer if you disable all API CORS headers in config, which we recently changed on the gateways. |
See: ipfs/kubo#6204 |
Good detective work 🕵️♂️ 👍 |
Thanks! It's unclear to me why this would fail in the tests tho... |
They are browser tests that are failing - they have a referrer. |
There is a PR with a fix waiting for review on the gateway infratructure. Will report back here when it gets applied. |
@alanshaw the change has been deployed to all the gateways. I now get a |
Dns tests in the browser are failing due to bad json coming from the gateway.
Failing tests for reference https://travis-ci.com/ipfs/js-ipfs/jobs/230141268#L2549
The text was updated successfully, but these errors were encountered: