11

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?

quanta
  • 51,413
  • 19
  • 159
  • 217
  • 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 Answers5

6

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/

user45200
  • 61
  • 1
  • 2
1

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.

Kuf
  • 449
  • 2
  • 8
  • 25
1

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.

pjz
  • 10,595
  • 1
  • 32
  • 40
1

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.

Jarl
  • 305
  • 1
  • 4
  • 10
0

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!

Marko
  • 227
  • 4
  • 7
  • 15
Persi
  • 1