https://lwpwiki.webhosting.rug.nl/index.php?title=Subversion_(svn)_authentication_fails&feed=atom&action=historySubversion (svn) authentication fails - Revision history2024-03-28T21:40:51ZRevision history for this page on the wikiMediaWiki 1.39.2https://lwpwiki.webhosting.rug.nl/index.php?title=Subversion_(svn)_authentication_fails&diff=177&oldid=prevChris: Created page with "Category:software-faq ==== Problem ==== When subversion client fails to authenticate printing error messages like: Password for '(null)' GNOME keyring: svn: OPTIONS of..."2015-02-10T16:47:49Z<p>Created page with "<a href="/index.php/Category:Software-faq" title="Category:Software-faq">Category:software-faq</a> ==== Problem ==== When subversion client fails to authenticate printing error messages like: Password for '(null)' GNOME keyring: svn: OPTIONS of..."</p>
<p><b>New page</b></p><div>[[Category:software-faq]]<br />
==== Problem ====<br />
When subversion client fails to authenticate printing error messages like:<br />
<br />
Password for '(null)' GNOME keyring:<br />
svn: OPTIONS of <nowiki>'https://vcs.service.rug.nl/svn/example-repo'</nowiki>:<br />
authorization failed: Could not authenticate to server:<br />
rejected Basic challenge (<nowiki>https://vcs.service.rug.nl)</nowiki><br />
<br />
The cause of this problem is that subversion is trying to use the gnome-keyring deamon to get a username and password. There are to known ways to prevent this and thus solve the problem:<br />
<br />
==== Solution #1 ====<br />
Edit the file ~/.subversion/config and under the section [auth] make sure there is a line that reads (note: nothing after the '=' symbol):<br />
password-stores =<br />
<br />
==== Solution #2 ====<br />
Disable the "keyring" which subversion is trying to use:<br />
rm ~/.gnome2/keyrings/login.keyring</div>Chris