Jump to content

Topic on Talk:Gerrit/Troubleshooting

git review: Authentication failed

6
Syced (talkcontribs)

I want to modify the file https://phabricator.wikimedia.org/diffusion/GTWN/browse/master/groups/Wikimedia/CommonsAndroid.yaml

So I cloned using the URL https://gerrit.wikimedia.org/r/p/translatewiki

Following the instructions at Gerrit/Tutorial#Prepare to work with Gerrit I uploaded my SSH public key, modified and added/committed the file. Then whenI ran git review -R I got prompted for a a username and password. Despite entering the name that appears near Username at https://gerrit.wikimedia.org/r/#/settings/ and the password I use successfully to log into https://gerrit.wikimedia.org, it failed:

~/src/translatewiki$ git review -R

Username for 'https://gerrit.wikimedia.org': nicolas-raoul

Password for 'https://nicolas-raoul@gerrit.wikimedia.org':

remote: Unauthorized

fatal: Authentication failed for 'https://gerrit.wikimedia.org/r/p/translatewiki/'

What am I doing wrong?

AKlapper (WMF) (talkcontribs)

Which exact full complete command did you use for cloning?

Legoktm (talkcontribs)
Nikerabbit (talkcontribs)

Don't people usually clone using the ssh:// protocol and not https?

AKlapper (WMF) (talkcontribs)

That's why I asked for the full complete command, indeed :)

Syced (talkcontribs)
Reply to "git review: Authentication failed"