Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have the following error when ever I try to connect to a SVN server on my network:

Could not authenticate to server: rejected Basic challenge

Can anyone help?

share|improve this question
    
You need to be more accurate with the information. What svn client you use, what svn server, on what OS are you trying (client / server) and so on if you want accurate answers –  Anarko_Bizounours Jun 12 '12 at 11:17

5 Answers 5

rm ~/.gnome2/keyrings/login.keyring helped me.... afterwards I had to re-enter my password when checking out with svn checkout -username tom https://servername.domain/

share|improve this answer
    
+1, your answer helped me too. –  zmf Jul 30 '10 at 18:11

You've got bad credentials in your http(s) svn url. The error message is telling you that it's trying to use http Basic Auth and failing.

share|improve this answer

follow these steps if you are facing this issue(on ubuntu)

  1. type this command: svn ls http://[subversionpath] ,it will ask for authentication. enter you password if promoted for
  2. type ant command

This should work.

share|improve this answer

You can add

password-stores = #intentionally left blank

in your ~/.subversion/config file eventually combined with --non-interactive --trust-server-cert args to the subversion command to avoid this.

share|improve this answer

I ran into the same problem and in fact it results in the point, that SVN doesn't save your login information locally.

I was able to fix this problem by doing the following steps:

1.) I edited my SVN config like this:

`store-passwords = yes`
`store-auth-creds = yes`

2.)

svn ls REPOSITORY_PATH

using my correct user data.

After this procedure SVN has stored your login data locally. This fixed my problems.

Have a nice day!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.