Authorization error when using Google Code and TortoiseSVN
-
25-09-2019 - |
문제
I want to commit my project to https://code.google.com, but TortoiseSVN gives the following error:
authorization failed: Could not authenticate to server: rejected Basic challenge (https://personal-domain-mail-gadget.googlecode.com)
What is the solution for this error?
해결책
It looks like the Google Code servers were not able to successfully authenticate you:
authorization failed: Could not authenticate to server: rejected Basic challenge
Are you sure that you're using the correct user name and password? Remember that it's not the same password as you use for your Gmail account—Google generates/uses a new, separate password for SVN.
You can get (and regenerate) your GoogleCode password here: https://code.google.com/hosting/settings
다른 팁
This happened to me when using mvn release:prepare command on Ubuntu. I double checked password and username, both were correct.
On Ubuntu, this can happen because of some weird interactions with keyrings. You can fix this by editing your ~/.subversion/config file and adding the following line:
password-stores =
It worked fine for me after this change. Note that there is a commented out line with password-stores in the config file. That is not enough, you must actually set it to blank.
I need to use SVN Password to commit!
I got it from SVN Password as per the specification in Google Code API