user1164061
user1164061

Reputation: 4352

svn: OPTIONS of 'REPO URL: authorization failed:

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.

Upvotes: 7

Views: 8060

Answers (3)

pevik
pevik

Reputation: 4801

I got this just with empty (forgotten) password, while using --password option.

Upvotes: 0

Zafer
Zafer

Reputation: 21

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 !

Upvotes: 2

Selvakumar Esra
Selvakumar Esra

Reputation: 1204

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>

Upvotes: 2

Related Questions