I have a project hosted in googlecode with Git.
I'm using STS (SpringSource Tool Suite) with eGit.
I cloned the repository at home and I could commit & push the changes successfully. I did the same thing at work and when I try to push the changes after commiting them, it shows the following error:
https://[email protected]/p/myproject/: Invalid username/password.
You may need to use your generated googlecode.com password; see https://code.google.com/hosting/settings
I entered the googlecode generated password when I first cloned the repository (as I did at home, and this error never showed up). I try entering it again and nothing changes.
Does anyone know what could be causing this?
Thanks!!
That bug (for https URI) can be linked to the (still opened in 2014) bug 355442: On every push, egit will ask for password for a secure store. The problem is, I never check the option to store the repository username and password in the push dialog. (Meaning if you forget to enter the credentials, it won't ask you again for it)
remote: invalid username or password The most common cause of this error is that you have inserted an invalid username or password. Before you try any other solution, make sure you have correctly typed in your username and password to authenticate to the Git server.
If you try to access or modify a repository and enter the wrong authentication credentials, you’ll encounter the remote: invalid username or password error. In this guide, we discuss the most common causes of this error. We’ll walk through a few examples of how to fix this error so you can solve the problem you are facing.
That way you will avoid having to type your password all the time; and since it already seems to work, that’s what you should be using. To do that, you need to change your remote URL though, so Git knows that it needs to connect via SSH. The format is then this: [email protected]:username/repository. To update your URL use this command:
I resolved it by going to Preferences > General > Security > Secure Storage > Contens
tab and deleting default secure storage for repository.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With