This Question is Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
3 Replies Last post: Aug 3, 2012 1:19 PM by Sean Fackrell  
Sean Fackrell Newbie 6 posts since
Aug 1, 2012
Currently Being Moderated

Aug 1, 2012 10:40 AM

SubVersion and VisualSVN setup problem

I’m evaluating TeamCity with a view to my team using it using a Windows 7 laptop with VS2010, SubVersion and VisualSVN installed.  I have a C# project setup and working in SubVersion and I have added a new VCS Root pointed to https://sean-VAIO:8443/svn/.  The problem I am running into is when I try to run a build I get the errors:

 

svn: E175002: can not read HTTP status line
svn: E175002: OPTIONS request failed on '/svn'

 

I have configured C:\Users\sean\AppData\Roaming\Subversion\servers with:

 

[global]

http-proxy-host = sean-VAIO

http-proxy-port = 8443

http-timeout = 60

http-proxy-username = sean

http-proxy-password = password

http-auth-types = basic

 

And I have tried various combinations of settings with no success or much difference in the error message (other than dropping the status line message).  I have also exported the VisualSVN certificate but I’m not sure exactly how I tell TeamCity to use it.

 

Can anyone point me in the right direction please?  Thanks in advance,

 

Sean

 

 

 

Stack Trace:

 

jetbrains.buildServer.vcs.VcsExce*****tion: org.tmatesoft.svn.core.SVNExce*****tion: svn: E175002: can not read HTTP status line
svn: E175002: OPTIONS request failed on '/svn'
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSu**********ort.getCurrentVersion(SvnSu**********ort.java:145)
at jetbrains.buildServer.vcs.im*****l.VcsRootInstancesManagerIm*****l$SVcsRootInstance.getCurrentRevision(VcsRootInstancesManagerIm*****l.java:86)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.getCurrentVersion(VcsChangesLoaderIm*****l.java:22)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.collectRevisionsForAllRoots(VcsChangesLoaderIm*****l.java:35)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.getLoadChangesIntervals(VcsChangesLoaderIm*****l.java:77)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.loadChangesNoLocking(VcsChangesLoaderIm*****l.java:86)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.loadChanges(VcsChangesLoaderIm*****l.java:66)
at jetbrains.buildServer.vcs.im*****l.VcsManagerIm*****l.loadChanges(VcsManagerIm*****l.java:171)
at jetbrains.buildServer.serverSide.im*****l.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:33)
at jetbrains.buildServer.serverSide.im*****l.VcsModificationChecker$1.run(VcsModificationChecker.java:5)
at java.util.concurrent.Executors$RunnableAda*****ter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.tmatesoft.svn.core.SVNExce*****tion: svn: E175002: can not read HTTP status line
svn: E175002: OPTIONS request failed on '/svn'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:662)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:286)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:274)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.*****erformHtt*****Request(DAVConnection.java:704)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCa*****abilities(DAVConnection.java:627)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.o*****en(DAVConnection.java:103)
at org.tmatesoft.svn.core.internal.io.dav.DAVRe*****ository.o*****enConnection(DAVRe*****ository.java:1016)
at org.tmatesoft.svn.core.internal.io.dav.DAVRe*****ository.getLatestRevision(DAVRe*****ository.java:180)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSu**********ort.getCurrentVersion(SvnSu**********ort.java:155)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSu**********ort.getCurrentVersion(SvnSu**********ort.java:143)
... 15 more
Caused by: java.io.EOFExce*****tion: can not read HTTP status line
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPParser.*****arseStatus(HTTPParser.java:45)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.readHeader(HTTPConnection.java:204)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPRequest.dis*****atch(HTTPRequest.java:177)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.connect(HTTPConnection.java:175)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:343)
... 24 more
org.tmatesoft.svn.core.SVNExce*****tion: svn: E175002: can not read HTTP status line
svn: E175002: OPTIONS request failed on '/svn'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:662)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:286)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:274)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.*****erformHtt*****Request(DAVConnection.java:704)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCa*****abilities(DAVConnection.java:627)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.o*****en(DAVConnection.java:103)
at org.tmatesoft.svn.core.internal.io.dav.DAVRe*****ository.o*****enConnection(DAVRe*****ository.java:1016)
at org.tmatesoft.svn.core.internal.io.dav.DAVRe*****ository.getLatestRevision(DAVRe*****ository.java:180)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSu**********ort.getCurrentVersion(SvnSu**********ort.java:155)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSu**********ort.getCurrentVersion(SvnSu**********ort.java:143)
at jetbrains.buildServer.vcs.im*****l.VcsRootInstancesManagerIm*****l$SVcsRootInstance.getCurrentRevision(VcsRootInstancesManagerIm*****l.java:86)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.getCurrentVersion(VcsChangesLoaderIm*****l.java:22)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.collectRevisionsForAllRoots(VcsChangesLoaderIm*****l.java:35)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.getLoadChangesIntervals(VcsChangesLoaderIm*****l.java:77)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.loadChangesNoLocking(VcsChangesLoaderIm*****l.java:86)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.loadChanges(VcsChangesLoaderIm*****l.java:66)
at jetbrains.buildServer.vcs.im*****l.VcsManagerIm*****l.loadChanges(VcsManagerIm*****l.java:171)
at jetbrains.buildServer.serverSide.im*****l.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:33)
at jetbrains.buildServer.serverSide.im*****l.VcsModificationChecker$1.run(VcsModificationChecker.java:5)
at java.util.concurrent.Executors$RunnableAda*****ter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.EOFExce*****tion: can not read HTTP status line
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPParser.*****arseStatus(HTTPParser.java:45)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.readHeader(HTTPConnection.java:204)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPRequest.dis*****atch(HTTPRequest.java:177)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.connect(HTTPConnection.java:175)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:343)
... 24 more
java.io.EOFExce*****tion: can not read HTTP status line
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPParser.*****arseStatus(HTTPParser.java:45)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.readHeader(HTTPConnection.java:204)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPRequest.dis*****atch(HTTPRequest.java:177)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.connect(HTTPConnection.java:175)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:343)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:286)
at org.tmatesoft.svn.core.internal.io.dav.htt*****.HTTPConnection.request(HTTPConnection.java:274)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.*****erformHtt*****Request(DAVConnection.java:704)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCa*****abilities(DAVConnection.java:627)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.o*****en(DAVConnection.java:103)
at org.tmatesoft.svn.core.internal.io.dav.DAVRe*****ository.o*****enConnection(DAVRe*****ository.java:1016)
at org.tmatesoft.svn.core.internal.io.dav.DAVRe*****ository.getLatestRevision(DAVRe*****ository.java:180)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSu**********ort.getCurrentVersion(SvnSu**********ort.java:155)
at jetbrains.buildServer.buildTriggers.vcs.svn.SvnSu**********ort.getCurrentVersion(SvnSu**********ort.java:143)
at jetbrains.buildServer.vcs.im*****l.VcsRootInstancesManagerIm*****l$SVcsRootInstance.getCurrentRevision(VcsRootInstancesManagerIm*****l.java:86)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.getCurrentVersion(VcsChangesLoaderIm*****l.java:22)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.collectRevisionsForAllRoots(VcsChangesLoaderIm*****l.java:35)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.getLoadChangesIntervals(VcsChangesLoaderIm*****l.java:77)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.loadChangesNoLocking(VcsChangesLoaderIm*****l.java:86)
at jetbrains.buildServer.vcs.im*****l.VcsChangesLoaderIm*****l.loadChanges(VcsChangesLoaderIm*****l.java:66)
at jetbrains.buildServer.vcs.im*****l.VcsManagerIm*****l.loadChanges(VcsManagerIm*****l.java:171)
at jetbrains.buildServer.serverSide.im*****l.auth.SecuredVcsManager.loadChanges(SecuredVcsManager.java:33)
at jetbrains.buildServer.serverSide.im*****l.VcsModificationChecker$1.run(VcsModificationChecker.java:5)
at java.util.concurrent.Executors$RunnableAda*****ter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Kirill Maximov JetBrains 2,241 posts since
Aug 23, 2002
Currently Being Moderated
Aug 2, 2012 1:29 PM in response to: Sean Fackrell
Re: SubVersion and VisualSVN setup problem

Hi,

 

  What kind of SVN authentication you're using? Which settings did you specify on the VCS Root page? Did you try "Test connection" button on VCS Root page?

  Why do you specify SVN proxy settings, do you use proxy to access SVN server?

 

  The documentation regarding SVN settings is available here: http://confluence.jetbrains.net/display/TCD7/Subversion

 

  Regards,

  KIR

More Like This

  • Retrieving data ...