On a PC with Vista 32Bit SP2 (UAC activated, Kaspersky Security Suite with firewall activated) I have set up a Subversion server (using the SlikSVN installer 1.6.13), a Tomcat 7.0, Java 6u21 and Hudson 1.386. I am accessing Hudson through the http-Interface using Firefox 3.6 ("http://localhost:8080/hudson"
). I downloaded a simple demo repo and started the subversion server, adding the repo. When the command
"svn list svn://localhost/gameoflife/trunk"
is entered at the command prompt the server prints out the list. I can access the repo with TortoiseSVN by right-clicking on its folder at the Windows Explorer, too. Everything seems to be set up correctly. But the following two things don't work:
Entering
"svn://localhost/gameoflife/trunk"
in the browser. The browser requests whether he should use TortoiseSVN to open it, but after agreeing, TortoiseSVN can't connect ("refused by server").Much more important and the reason for my question is that Hudson can't connect to the SVN. The build log shows
"ERROR: Failed to check out svn://localhost/gameoflife/trunk"
. The project configuration complains that the repository URL "svn://localhost/gameoflife/trunk" can't be accessed ("svn:connection refused by the server"
) and suggests to add authorization information. But I haven't set up a user or password on the svn server. I have updated the Hudson Subversion plugin from 1.20 to 1.21, but that didn't change anything. Disabling the firewall didn't change anything.
I am quite sure I followed detailed step-by-step instructions closely when I set up the build server, but being no pro with Subversion nor Hudson I am stuck now. Hence my question: What is the reason Hudson can't access Subversion and how can I make it work?
UPDATE: I made sure that Vista's host file has "127.0.0.1 localhost" in it (but URL doesn't work even when entering 127.0.0.1 instead of localhost). I checked that port 3690 is not blocked by a firewall. My error message doesn't state it has authentication errors, nor does it say that the server actively refuses the connection. It is the same error message one gets when entering a not existing URL. If the very same URL would not work at the console prompt I'd assume I had a typo in it, but I double-checked several times. It might be a Vista problem, but I still can't find the solution.
UPDATE 2: I am more and more convinced it must be a side-effect of the way my Vista system is (mis)configured. Hudson works, Subversion works. But they won't work together if both are running on the same machine. I was able to access a remote Subversion server from within Hudson without a problem. But the same Hudson wasn't able to access Subversion locally. I reproduced the "doesn't work together locally" behaviour when setting it up on a similar configured Vista-PC (main difference using 64 bit versions this time and Avira freeware instead of Kaspersky).
I tried exchanging the Subversion distribution with a different one (VisualSVN-Server 2.1.4) and tried accessing it with https. Initially I seemed to make progress, but now it failed with an handshake error when the files were about to be retrieved from the repo.
Since I can't locate the cause of my problem, I am switching to a different CI-Build-Tool now. Nonetheless thank you for investing your time to help me.