Page MenuHomePhabricator

Cannot log into Gerrit using Brave Browser
Closed, InvalidPublic

Description

I've recently switched to Brave 1.0.0 on MacOS. Most things work fine, but I can't log into Gerrit. When logging in, I am just redirected to my previous page without being logged in.

In the browser's error console, I see:

gr-app.js:727 GET https://gerrit.wikimedia.org/r/accounts/self/detail 403 (Forbidden)

Event Timeline

Similar problem with wikitech.wikimedia.org. When trying to log in using Brave, I get:

There seems to be a problem with your login session; this action has been canceled as a precaution against session hijacking. Please resubmit the form.

hi, then I guess it is an issue with Brave?

You might want to try against Gerrit while tailing the Apache log files and filtering by your IP. That is on gerrit1001.wikimedia.org:

/var/log/apache2
gerrit.wikimedia.org.http.error.log
gerrit.wikimedia.org.http.access.log
gerrit.wikimedia.org.https.error.log
gerrit.wikimedia.org.https.access.log

The fields respect https://wikitech.wikimedia.org/wiki/Apache_log_format Fields from #1:

15UserThe username as determined by HTTP authentication
16User: Response headerThe username as determined by the server and added as the HTTP User: header. Since 2019-03-20

But the session cookie is not around so .. That might not be that helpful.

You are right this is a problem with Brave...although now it is working fine for me. Not sure what changed!