Description of the issue:
I’m a developer hacking on a web app. My dev server (ruby on rails) runs an http app on localhost:7000. It works 99.9% of the time until it doesn’t. Then, boom I start getting 403s in the browser.
The application is not broken.
curl localhost:7000
works fine.
Clearing site data and trying again does not fix the problem. As a matter of fact, when the browser is in this state, clearing site data doesn’t actually work. By that I mean that the cookies which show up in the cookies tab do not disappear. And subsequent requests (which still 403) still show the cookies in the request.
There is no server log activity (which otherwise works fine).
On the flip side, a private window works fine.
It’s just the normal brave profile (the default profile) stops working.
Killing Brave and restarting it fixes this problem.
How can this issue be reproduced?
It seems to be triggered by making a request to localhost:7000 when the dev server is not running. Getting a 403 in this situation is obviously expected. But it persists after I restart the server.
It’s like maybe the browser profile has cached the 403.
It seems to timeout after a few minutes and start working again.
Expected result:
This shouldn’t happen
Brave Version( check About Brave
):
Version 1.73.97 Chromium: 131.0.6778.108 (Official Build) (arm64)