Opened 21 months ago
Closed 21 months ago
#18293 closed bug (fixed)
Cannot login to Gerrit
Reported by: | bitigchi | Owned by: | kallisti5 |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Website/Gerrit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
I get a "Forbidden", then a "Server error" after a refresh.
Attachments (2)
Change History (11)
comment:1 by , 21 months ago
comment:2 by , 21 months ago
- I've tried with Web+, Epiphany, and Safari on both Haiku and macOS.
- 2023/03/03, around 11:20 GMT +3
- Screenshots attached
comment:3 by , 21 months ago
yikes. ok. I'm going to walk through some gerrit upgrades today to see if it helps. We have fallen behind a bit in upgrading gerrit.
comment:4 by , 21 months ago
I went ahead and upgrades us from Gerrit 3.4 to 3.6. Could you give it another try and let me know if you still run into this?
comment:5 by , 21 months ago
Still ongoing. Tried with variations of Wi-Fi, Cellular, Adblock-Pihole turned off, and Github mobile authentication disabled.
Please let me know if you need anything specific from me.
comment:6 by , 21 months ago
Ok. The suspect cause was a large number of email adjustments over time in github and in gerrit.
I tried to resolve it unsuccessfully by doing the following...
- Checkout All-Users.git
- git fetch origin refs/meta/external-ids:external
- echo -n "username:bitigchi" | sha1sum
- git rm xx/xxxxxxxxxxxxxxxxxxxxxx
- git commit -a -m "doing stuff"
- git push origin
Didn't work :sigh: "com.google.gerrit.server.account.AccountException: Cannot assign external ID "username:bitigchi" to account 1000XXX; external ID already in use."
comment:7 by , 21 months ago
Ok. We noticed in IRC that while bitigchi only had a username:bitigchi mapping, the rest of us (tm) had:
$ grep -R "externalId" | cut -d" -f2 | sort | cut -d: -f1 | uniq -c 447 github-oauth 145 mailto 453 username
I also realized I pushed to that external-ids ref wrong. I redid it and am waiting on bitigchi to test/confirm
- Checkout All-Users.git
- git fetch origin refs/meta/external-ids:external
- echo -n "username:bitigchi" | sha1sum
- git rm xx/xxxxxxxxxxxxxxxxxxxxxx
- git commit -a -m "doing stuff"
- git push origin HEAD:refs/meta/external-ids
comment:8 by , 21 months ago
Confirmed fixed! Thank you kallisti5 very much for your continuous effort!
comment:9 by , 21 months ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
I'm not seeing this here. Could you provide some step-by-step context on how you were logging in?
Also could use: