TortoiseSVN trunk checkout “Server sent unexpected return value (403 Forbidden) in response to OPTIONS” error

StackOverflow https://stackoverflow.com/questions/2544594

Question

My problem is that every time I do some operation with an URL like the following one: https://nttt.dttt.com:8443/svn/nttt/Med/trunk I get

Server sent unexpected return value (403 Forbidden) in response to OPTIONS".

The user and password I supplied was correct, so no problem there.

I don't know where the problem lies, I don't know if it is the server(on witch I don't have any control) or my Tortoise client.

Was it helpful?

Solution

I don't think it is TroitoiseSVN. The problem most likely is that you don't have access to full tree or all HTTP operations. Try accessing these URLs in your browser:

https://nttt.dttt.com:8443/svn/nttt

https://nttt.dttt.com:8443/svn/nttt/Med

https://nttt.dttt.com:8443/svn/nttt/Med/trunk

And see if you get any 403 errors. Otherwise you will need to talk to your system administrator to fix the rights.

OTHER TIPS

according to this post it is a known bug http://groups.google.com/group/visualsvn/browse_thread/thread/e16fe2e3c5fdab8d?pli=1 Setting username and password manually may help

You just need to delete the saved data from your SVN. Go to this path All Programs --> TSVN --> settings -->Saved Data ---> Clear the Authentication Data. After doing this, you can access to your SVN path with the proper credentials.

This error can happen if you checkout a SVN repository with a different account. The account data is stored to disk, and the next time you want to commit to a repository SVN may use the wrong account. It could help to specify the right account in the console or terminal:

svn commit -m "my message" --username my_username --password my_password

It's possible that you're using the wrong URL. It's also possible that your apache server is misconfigured.

What happens when you put that URL into your web browser? Can you see it? Try verifying the path first by testing your URL with the browser, then try Tortoise again.

i was also debugging this issue. I have a control over the server. So just found out that the group "everyone", if present, was configured to "No Access" (which I did it) and it was conflicting with my admin rights so just removed it completely to resolve this forbidden user error.

I had the same problem and solved it updating TortoiseSVN to last version avaliable (1.8.10 at the moment).

I used to run 1.6.x.

I had the same error message just now when trying to update my working copy.

As I knew which directory needed to be updated, I tried to update just that and it worked (Strangely enough).

After that, it seems the issue is gone for the moment. I really do not understand what was going on.

To recap: I was trying to update a repository having its root at

    https://MyServer/repos/config/MyProject/trunk

and it was complaining

    svn: Server sent unexpected return value (403 Forbidden) in response
    to OPTIONS request for 'https://MyServer/repos/config'

I did then an

    cd $WORKINGCOPY/path/to/my/changed/dir
    svn up ... https://MyServer/repos/config/path/to/my/changed/dir/ .

and this worked.

Any following svn up now works.

that 403 comes in response if you don't have permissions on the repository to Read/Write you may only have Read permissions and you're trying to commit changes so you're not allowed well in this case you need to consult with your system administrator to allow you proper privileges and permissions according to you role

and I don't know if it is the server(on which I don't have any control) or my Tortoise client.

your client is just fine only server permissions needs a consideration

What if this problem appears only for big amount of files. The commit works normally for one single folder, or a folder including some files, but when it's a big hierarchy, the process starts and stops with the error message just before completing the commit.

I recently had the same error message. After checking, I realized that I was using a bad project name in the URL. Might be worth checking your URL too.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top