Tuesday 2 August 2011

How to fix SVN "could not connect to server" and "authorization failed: Could not authenticate to server: rejected Basic challenge"

ERROR MESSAGE 1

svn: OPTIONS of 'http://crossroadscorp.unfuddle.com/svn/crossroadscorp_agi': could not connect to server (http://crossroadscorp.unfuddle.com)

I got this message because my wired internet access at a university has a firewall.

You can solve this problem by connecting through the wireless or by using SSL. Using SSL means switching from http to https.

ERROR MESSAGE 2

svn OPTIONS of 'https://crossroadscorp.unfuddle.com/svn/crossroadscorp_agi': authorization failed: Could not authenticate to server: rejected Basic challenge (https://crossroadscorp.unfuddle.com)

I've been using a free SVN service from Unfuddle. The problem is I thought they provided SSL but they don't.

Choose a service that provides free SSL such as Project Locker.



NOTES

+ This demonstrates that I'm bad at reading. I was going to say that I'm bad at reading the fine print but that's not fair to Unfuddle who has made the information clear if one looks.

+ This took me ages to figure out. I gave up early on and purchased a wireless USB for my desktop. It is because I'm tutoring a subject where I've encouraged the students to use SVN that I've investigated further.

+ I don't really know what SSL is beyond that it stands for Secure Sockets Layer. Yep. There's also something called SSH and I also don't know what that is either.

+ Your SVN username at Project Locker is your email address! This took me ages to figure out as well.

+ I googled for quite a while but there wasn't any useful information, just the opposite actually.

No comments:

Post a Comment