Closed mehulhere closed 2 months ago
Thanks for reporting. Currently I can't see this error and things seems to be working.
This problem occurred because the Codeforces server served error 403 responses instead of the expected data. Unfortunately the extension cannot do anything about this, it depends on the server working correctly.
A similar issue was reported some time ago: #55
Closing since things seem to be working fine. Though if this exact issue with the server happens again I can't really do anything about it. Feel free to report it if anything else is going wrong!
@meooow25 I think this could be solved. You can request in frontend instead of backend, then Cloudflare won't block you.
Hey @RimuruChan, could you elaborate? There is no backend for Carrot, the extension talks to the Codeforces API directly.
Hey @RimuruChan, could you elaborate? There is no backend for Carrot, the extension talks to the Codeforces API directly.
I didn't make it clear. I meant the background of browser. The background cookies and sessions seem to be different to frontend, which leads to cloudflare blocking.
@meooow25 I have a solution, which may solve the problem by making a request in the browser tab and then sending the result to background.
That sounds like it should work, thanks for the idea!
How to Reproduce?
Browser
Console Log: