bob11
September 21, 2022, 11:58pm
1
I’m all of a sudden getting errors that match this previous thread: CORS Policy on ic0.app
This is the error:
Access to fetch at ‘https://raw.ic0.app/api/v2/canister/zggm4-5qaaa-aaaai-qmjea-cai/query ’ from origin ‘https://xqbgo-kqaaa-aaaad-qdb6a-cai.raw.ic0.app ’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: Redirect is not allowed for a preflight request.
Did something happen with routing at the boundary nodes again? Would love to have someone take a look.
Thanks!
6 Likes
Same problem please help and fix this issue. Many thanks.
1 Like
bob11
September 23, 2022, 5:07am
3
It appears this was dependency related for us.
We upgraded all of these from 0.10.0 to 0.10.2 and that fixed the problem we were having.
“@dfinity /agent”: “0.10.2”,
“@dfinity /auth-client”: “0.10.2”,
“@dfinity /authentication”: “0.10.2”,
“@dfinity /candid”: “0.10.2”,
“@dfinity /identity”: “0.10.2”,
“@dfinity /principal”: “0.10.2”
Would still love a report back from someone at Dfinity on this one though.
3 Likes
I’m also seeing this issue. Updating dependencies hasn’t immediately fixed the problem. Will continue looking for a solution and post here.
Our dependencies upgraded from 0.10.3 → 0.10.4 for these:
“@dfinity /agent”: “0.10.4”,
“@dfinity /candid”: “0.10.4”,
“@dfinity /principal”: “0.10.4”,
still experiencing cors preflight issue. Also tried latest: 0.14.1 no dice.