May 8, 2009

Turn on debug output in SVN

Posted in Software at 00:02 by graham

After a desktop and server upgrade, my subversion client stopped working. I am using Digest authentication, and it kept asking me for the username and password. Wireshark showed me that the SVN client wasn’t sending the Authentication header. To find out more, I turned on Subversion’s debug output. Here’s how you do it:

Edit /etc/subversion/servers Add this line at the end: neon-debug-mask = 511

That showed me this error: auth: '/' is inside auth domain: 0.

This means that the path I was requesting (the root of the repo) was not considered inside the AuthDigestDomain I had set in Apache.

It turns out that at some point in the upgrade of Apache, Subversion, or a library, the AuthDigestDomain requires a scheme. I had AuthDigestDomain svn.myserver.com whereas it should of been AuthDigestDomain http://svn.gkgk.org.

So now you know.

1 Comment »

  1. Rune said,

    June 11, 2009 at 09:42

    You might want to use your own config instead, it should be located in ~/.subversion/ — still works great.

Leave a Comment

Note: Your comment will only appear on the site once I approve it manually. This can take a day or two. Thanks for taking the time to comment.