| Issue 2856: | googlesource.com confused by multiple email addresses per google account | |
| 6 people starred this issue and may be notified of changes. | Back to list |
Affected Version: master What steps will reproduce the problem? 1. Registered an alternative email ...@ericsson.com 2. Tried to push What is the expected output? Can push my change. What do you see instead? remote: ERROR: committer email address ...@ericsson.com remote: ERROR: does not match your user account. remote: ERROR: remote: ERROR: The following addresses are currently registered: remote: ERROR: ...@gmail.com remote: ERROR: remote: ERROR: To register an email address, please visit: remote: ERROR: https://gerrit-review.googlesource.com/#/settings/contact Please provide any additional information below. It worked before, but now it does not work.
Aug 22, 2014
#1
stuart.m...@arm.com
Aug 22, 2014
(No comment was entered for this change.)
Labels:
Environment-Google
Aug 22, 2014
The "asynchronous process" just a cache coherency problem. We run a number of Gerrit servers with independent caches of this information, and we don't currently propagate cache invalidations. The timeout is something like 15 or 30 minutes which is why it eventually works.
Aug 22, 2014
This is still not working for me with the same error.
Aug 22, 2014
The account on gerrit-review for olgagrin2011 doesn't have any alternate emails attached to it. Did you get the email verification email and confirm it?
Aug 22, 2014
Yes, I did that many times. It keeps disappearing.
Aug 26, 2014
Hi, I would like to follow up on that issue. I still can not push when my profile is set as below: Full Name Olga Grinberg Email Address olga.grinberg@ericsson.com Registered Jul 11, 2014 8:36 AM Account ID 1016722 I get an error: emote: ERROR: committer email address ...@ericsson.com remote: ERROR: does not match your user account. remote: ERROR: remote: ERROR: The following addresses are currently registered: remote: ERROR: ...@gmail.com However, when the full name is empty I can push my changes, but they appear as "Anonymous coward". I do not want to have this featured on my account. I find that it has a very negative meaning. Please, address this issue ASAP because it prevents me from performing my work duties. I am looking forward to hearing from you soon. Olga Grinberg
Sep 19, 2014
Hi, what is the status of the issue? Can I expect the resolution soon? Thanks, Olga
Sep 19, 2014
Re comment #6: can you provide more detail? Feel free to contact me privately at jrn@google.com
Sep 19, 2014
Another piece of information that would be helpful for debugging is output from "curl --netrc https://gerrit-review.googlesource.com/a/accounts/self".
Sep 19, 2014
I am replying privately.
Sep 19, 2014
Hi,
I am not sure it is convenient to share a workaround on issue tracking but maybe it helps.
I have faced a similar problem before. I have use a work around which I found on net. I couldn't find the same resource now. But the trick was something like this.
git config --global user.name "user name"
git config --global user.email user.name@email.com
git commit --amend --reset-author
I try to write as far as I know. I am not sure whether it works for you or not. But I think the third command synch author somehow. Maybe its worth to try.
Sep 19, 2014
The solution you propose is related to git, not gerrit. There is nothing wrong with git. All commits have a correct name. The gerrit account name is incorrect as it appears on the change history list.
Sep 23, 2014
Is there any progress on the issue?
Sep 23, 2014
If I understood correctly by primary email, the "not able to push" issue was due to .netrc not being set up correctly. Fixing that got push working again (phew). There's a separate issue about how your name shows up in the UI, if I understand correctly. I'd prefer to deal with separate issues in separate bugs, so closing this one.
Status:
Invalid
Sep 23, 2014
no, you do not understand the issue correctly. I was able to push all the time when my name was not on the account, however, when it is there I am not able to push. It has nothing to do with netrc. I can always enter a password manually when I push.
Sep 23, 2014
Okay, cleared it up on IRC. The problem is that the account system used on googlesource.com is confused by Google accounts with multiple email addresses attached. Reopening. This affects - profile name sync - committer email validation - etc At the moment, my best advice is to use only one email address per Google account. A Gerrit account can be attached to multiple Google accounts and hence to multiple email addresses --- it's only multiple emails per Google account that confuse it. The committer email validation could be taught to also check against an account's preferred email as a workaround.
Summary:
googlesource.com confused by multiple email addresses per google account
(was: Not able to push to gerrit-review.googlesource.com)
Status: New
Sep 24, 2014
I am adding some details: the other developers on my team have a similar setup for a gerrit account: 1 gmail address and 1 ericsson address. Preferred address is the ericsson address. Everything works correctly for them. My account is broken somewhere. Can you please, compare ?
Sep 24, 2014
They have multiple google accounts, one per email address. You can associate a single gerrit account to multiple google accounts.
Sep 24, 2014
Hi, as far as I know, I only have one google account (hugares@g...). I registered an alternate email address (hugo....@ericsson.com) and configured it in gerrit contact information to be my preferred email address so I can use my ericsson email address to commit to gerrit-review. Olga did the same but when she tries to reload the full name in gerrit contact information, it doesn't work and it's empty.
May 26, 2015
Hi, I have the same problem. When a try to add an additional email address to gerrit I get an empty screen when opening https://android-review.googlesource.com/#/settings/contact
May 26, 2015
That's completely different storry. See ths issue for more details: [1]. * [1] https://code.google.com/p/gerrit/issues/detail?id=3389
Status:
AwaitingInformation
Dec 13, 2015
I tryed register a new email at https://android-review.googlesource.com/#/settings/contact, but my new email box did not receive a Verification mail.I have try serval times. Any one can help ?
Today (70 minutes ago)
I just want to let everyone know that I just ran into this, and it was because the e-mail address they use to check against the registered gerrit address is actually the author address, not the committer address. The error message shows the committer address, but if the author address is different than the committer address, and the author address is not registered, then it won't work. In my case my author address had capital letters in it, and the committer address was all lower case, as is my registered e-mail address. I reset my author address to also be all lowercase and then it worked. |
|
| ► Sign in to add a comment |