Closed (fixed)
Project:
Git on Drupal.org
Component:
Git
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 May 2011 at 22:24 UTC
Updated:
2 Mar 2016 at 00:16 UTC
Jump to comment: Most recent
I uploaded my public key to my account, when I do push/pull, git still ask for my password.
How to debug?
Comments
Comment #1
eliza411 commentedTry editing your user page and saving it. It may take one or two tries, but this forces a cache clear server-side.
Comment #2
mattyoung commentedEdit and save my profile page a couple of times, still ask for password, same after waiting for over an hour :(
Comment #3
laura s commentedI am encountering the same thing trying to get the repo to see my laptop. Is there a delay before the saved key applies to the repos?
Comment #4
cafuego commentedSame here. My laptop key works fine, but my desktop key hasn't worked for about a month now, despite me having removed and re-added it a few times since then.
Comment #5
sdboyer commentedLooking into this. Seems like there's something other than the normal cache issues happening, as I am seeing the following in the logs for cafuego:
So we see successful logins on
46da2fd817a8f458b66d16d16772a06c, but failed logins on173efa3649677e9a729f615d6bfc446a. Probably a serverside cache issue on just that key. What's odd is that it *should* clear along with the other one, but...yeah. I'll have to look.Comment #6
mattyoung commentedI got this:
Comment #7
cafuego commentedOn the machine with the non-working key, git@git.drupal.org does indeed work fine:
However, cafuego@git.drupal.org does not:
On the other machine, both work fine.
So the backend must decide one of the public keys it has on file somehow doesn't match the private key on my end, or it can't find a matching public key at all. I've deleted and re-added that public key twice.
It's also not a matter of it being an invalid key pair, as it works absolutely fine between my workstation and servers locally.
I've renamed the ~/.ssh/config file, so that can't be interfering and/etc/ssh/ssh_config on both systems at my end is identical.
When I copy the private key from the working laptop to the non-working desktop and configure SSH to use that, it authenticates fine.
Comment #8
batje commentedsubscribe
Comment #9
sdboyer commentedWe cleared out Varnish today, so everybody who has been having problems should, in theory, be all set now. We also made it so the timeout is just a day, so problems should self-correct in 24 hours.
Comment #10
mattyoung commentedThanks! It's working for me now.
Comment #12
sibiru commentedI got this issue when git push my commit, wait 24 hours still asking passphrase & drupal.org password.