Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

svn: OPTIONS of 'REPO URL: authorization failed:

Tags:

svn

I am using two commands 1)svn ls with username and password 2)svn mkdir with username and password. svn ls works without any problem but svn mkdir fails with the following error message: "svn: OPTIONS of 'REPO URL: authorization failed: Could not authenticate to server: rejected Basic challenge"

Can someone please help me with this? I have googled this many times. People have reported similar problems but not exactly the same.

like image 222
user1164061 Avatar asked Jan 22 '12 23:01

user1164061


2 Answers

is your repo url https?

in that case please add following switch before the command.

svn --non-interactive --trust-server-cert --username urname --password ******** <command>
like image 109
Selvakumar Esra Avatar answered Oct 21 '22 17:10

Selvakumar Esra


If you have Tortoise SVN installed. Go to the settings and clear the cache. It should be under "saved data". Open the repo browser, accept the certificate and save the password.

that's it !

like image 33
Zafer Avatar answered Oct 21 '22 16:10

Zafer