Vault VCS Root

We are using TeamCity 6.0.2 (15857) with Source Gear Vault 5.0.4 (18845). The Vault repository is on a different server than the Team City Agent and Team City Server. All of our Vault Clients on our developer machines are connecting to Vault using https. Unfortunately we are unable to get Team City's VCS Root to connect to Vault using https. What can we do to get the Team City VCS Root to connect to vault using https?

Thanks,
Damien

13 comments
Comment actions Permalink

Hello, Damien,

Could you please tell me what are your Vault VCS root settings? Thank you.

0
Comment actions Permalink

Type of VCS: SourceGear Vault (experimental)
Vault server URL: http://development.healthcaresynergy.com/VaultService
Repository name: HealthCare Assistant

These settings work, but if I change the URL to https://development.healthcaresynergy.com/VaultService it will not connect

0
Comment actions Permalink

Could you please try typing  https://development.healthcaresynergy.com/VaultService links into your server browser address bar and observe the result.

0
Comment actions Permalink

The vault web page comes up just the same as if I go to http://development.healthcaresynergy.com/VaultService. Using Internet Explorer I can go to both http://development.healthcaresynergy.com/VaultService and https://development.healthcaresynergy.com/VaultService from the same machine that TeamCity is on. Only when I try to use https://development.healthcaresynergy.com/VaultService from within TeamCity does it not work.

0
Comment actions Permalink

What error do you get when specifying https://development.healthcaresynergy.com/VaultService in TeamCity VCS root settings?

0
Comment actions Permalink

Exception occurred while trying to connect to Vault server. See original message below:
The connection to the server failed: server cannot be contacted or uses a protocol that is not supported by this client. Unable to connect to https://development.healthcaresynergy.com/VaultService.  No server was found at the specified URL.  Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.  Web Exception:

0
Comment actions Permalink

Here is the exception log that is produced when trying to test the VCS connection using https://development.healthcaresynergy.com/VaultService


[2011-02-11 10:18:29,413]   WARN [on=editVcsRoot ] -      jetbrains.buildServer.VCS - Error occurred in test connection
jetbrains.buildServer.vcs.VcsException: Exception occurred while trying to connect to Vault server. See original message below:
The connection to the server failed: server cannot be contacted or uses a protocol that is not supported by this client. Unable to connect to https://development.healthcaresynergy.com/VaultService.  No server was found at the specified URL.  Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.  Web Exception:
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.connect(VaultConnection.java:83)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.doInConnection(VaultConnection.java:60)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.testConnection(VaultConnection.java:140)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultVcsSupport.testConnection(VaultVcsSupport.java:254)
 at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsController.doPost(EditVcsRootsController.java:97)
 at jetbrains.buildServer.controllers.BaseFormXmlController$1.handleRequest(BaseFormXmlController.java:54)
 at jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(AjaxRequestProcessor.java:45)
 at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:52)
 at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:73)
 at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
 at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:271)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at jetbrains.buildServer.web.SetThreadNameFilter.runChainWithModifiedThreadName(SetThreadNameFilter.java:16)
 at jetbrains.buildServer.web.SetThreadNameFilter.doFilter(SetThreadNameFilter.java:3)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:9)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Unknown Source)
Caused by: System.Exception: The connection to the server failed: server cannot be contacted or uses a protocol that is not supported by this client. Unable to connect to https://development.healthcaresynergy.com/VaultService.  No server was found at the specified URL.  Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.  Web Exception:  ---> System.Exception: Unable to connect to https://development.healthcaresynergy.com/VaultService.  No server was found at the specified URL.  Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client.  Web Exception:
 at clr.System.ExceptionStaticWrapper.ExceptionCtor(Unknown Source)
 at VaultClientNetLib.VaultConnection.Login(Unknown Source)
 at VaultClientOperationsLib.ClientInstance.Login(Unknown Source)
 at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3405)
 at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3535)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.connectNotForce(VaultConnection.java:94)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.connect(VaultConnection.java:76)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.doInConnection(VaultConnection.java:60)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.testConnection(VaultConnection.java:140)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultVcsSupport.testConnection(VaultVcsSupport.java:254)
 at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsController.doPost(EditVcsRootsController.java:97)
 at jetbrains.buildServer.controllers.BaseFormXmlController$1.handleRequest(BaseFormXmlController.java:54)
 at jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(AjaxRequestProcessor.java:45)
 at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:52)
 at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:73)
 at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
 at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:271)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at jetbrains.buildServer.web.SetThreadNameFilter.runChainWithModifiedThreadName(SetThreadNameFilter.java:16)
 at jetbrains.buildServer.web.SetThreadNameFilter.doFilter(SetThreadNameFilter.java:3)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:9)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Unknown Source)

 at clr.System.ExceptionStaticWrapper.ExceptionCtor(Unknown Source)
 at VaultClientNetLib.VaultConnection.Login(Unknown Source)
 at VaultClientOperationsLib.ClientInstance.Login(Unknown Source)
 at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3405)
 at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3535)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.connectNotForce(VaultConnection.java:94)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.connect(VaultConnection.java:76)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.doInConnection(VaultConnection.java:60)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.testConnection(VaultConnection.java:140)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultVcsSupport.testConnection(VaultVcsSupport.java:254)
 at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsController.doPost(EditVcsRootsController.java:97)
 at jetbrains.buildServer.controllers.BaseFormXmlController$1.handleRequest(BaseFormXmlController.java:54)
 at jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(AjaxRequestProcessor.java:45)
 at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:52)
 at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:73)
 at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
 at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:271)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at jetbrains.buildServer.web.SetThreadNameFilter.runChainWithModifiedThreadName(SetThreadNameFilter.java:16)
 at jetbrains.buildServer.web.SetThreadNameFilter.doFilter(SetThreadNameFilter.java:3)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:9)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Unknown Source)
   --- End of inner exception stack trace ---
 at clr.System.ExceptionStaticWrapper.ExceptionCtor(Unknown Source)
 at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3416)
 at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3535)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.connectNotForce(VaultConnection.java:94)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.connect(VaultConnection.java:76)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.doInConnection(VaultConnection.java:60)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.testConnection(VaultConnection.java:140)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultVcsSupport.testConnection(VaultVcsSupport.java:254)
 at jetbrains.buildServer.controllers.admin.projects.EditVcsRootsController.doPost(EditVcsRootsController.java:97)
 at jetbrains.buildServer.controllers.BaseFormXmlController$1.handleRequest(BaseFormXmlController.java:54)
 at jetbrains.buildServer.controllers.AjaxRequestProcessor.processRequest(AjaxRequestProcessor.java:45)
 at jetbrains.buildServer.controllers.BaseFormXmlController.doHandle(BaseFormXmlController.java:52)
 at jetbrains.buildServer.controllers.BaseController.handleRequestInternal(BaseController.java:73)
 at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
 at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
 at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at jetbrains.buildServer.rootDispatcher.TeamCityDispatcherServlet.service(TeamCityDispatcherServlet.java:271)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at jetbrains.buildServer.web.SetThreadNameFilter.runChainWithModifiedThreadName(SetThreadNameFilter.java:16)
 at jetbrains.buildServer.web.SetThreadNameFilter.doFilter(SetThreadNameFilter.java:3)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at jetbrains.buildServer.web.ResponseFragmentFilter.doFilter(ResponseFragmentFilter.java:9)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 at java.lang.Thread.run(Unknown Source)

 at clr.System.ExceptionStaticWrapper.ExceptionCtor(Unknown Source)
 at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3416)
 at VaultClientIntegrationLib.ServerOperations.Login(ServerOperations.cs:3535)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.connectNotForce(VaultConnection.java:94)
 at jetbrains.buildServer.buildTriggers.vcs.vault.VaultConnection.connect(VaultConnection.java:76)
 ... 36 more

0
Comment actions Permalink

Hello, Damien,

Thanks a lot for the details. I've passed your issue to SourceGear support and hope they'll help.
Please, answer Jeff's questions in the following thread http://support.sourcegear.com/viewtopic.php?f=32&t=14614&p=60671#p60671 or just let me know

0
Comment actions Permalink

Victory,

I tried the first two suggestions from Jeff and neither of them worked. The certificate is still valid and works when I use internet explorer or any other browser from the same machine that TeamCity is on. I also tried specifying the port 443 but that did not work as well. His third suggestion I beleive was for the TeamCity folks to try internally.

Thanks,
Damien

0
Comment actions Permalink

Victory,

Jeff over at SourceGear helped me add our ssl certificate to the java keystore located under the TeamCity folder and after doing that and rebooting the TeamCity machine, our TeamCity is able to connect to Vault using https.
Not sure if you want to document this or maybe add a feature to help facilitate this from the program.

Thanks,
Damien

0
Comment actions Permalink

OK after the Vault VCS Root was able to connect for a couple of builds we are now getting this error:

[10:14:18]: Problem while loading patch data stream: Connection reset
[10:14:18]: Problem while loading patch data stream jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl$3: Problem while loading patch data stream      at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.downloadPatch(PatchDownloaderImpl.java:147)      at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.copyPatchAndCheck(PatchDownloaderImpl.java:54)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesPatcherBase.copyPatchToTempFile(UpdateSourcesPatcherBase.java:70)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesFromServer.updateSources(UpdateSourcesFromServer.java:62)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doSourceUpdate(UpdateSourcesBuildStageBase.java:90)      at jetbrains.buildServer.agent.impl.patch.UpdateSourcesBuildStageBase.doRecoverableStage(UpdateSourcesBuildStageBase.java:58)      at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doLastAttempt(RecoverableBuildStage.java:112)      at jetbrains.buildServer.agent.impl.buildStages.startStages.RecoverableBuildStage.doBuildStage(RecoverableBuildStage.java:70)      at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:31)      at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor$1.callStage(BuildStagesExecutor.java:29)      at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.callRunStage(StagesExecutor.java:68)      at jetbrains.buildServer.agent.impl.buildStages.StagesExecutor.doStages(StagesExecutor.java:31)      at jetbrains.buildServer.agent.impl.buildStages.BuildStagesExecutor.doStages(BuildStagesExecutor.java:24)      at jetbrains.buildServer.agent.impl.BuildRunAction.doStages(BuildRunAction.java:65)      at jetbrains.buildServer.agent.impl.BuildRunAction.runBuild(BuildRunAction.java:48)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.doActualBuild(BuildAgentImpl.java:250)      at jetbrains.buildServer.agent.impl.BuildAgentImpl.access$100(BuildAgentImpl.java:48)      at jetbrains.buildServer.agent.impl.BuildAgentImpl$1.run(BuildAgentImpl.java:223)      at java.lang.Thread.run(Unknown Source) Caused by: java.net.SocketException: Connection reset      at java.net.SocketInputStream.read(Unknown Source)      at java.io.BufferedInputStream.fill(Unknown Source)      at java.io.BufferedInputStream.read(Unknown Source)      at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:152)      at java.io.FilterInputStream.read(Unknown Source)      at org.apache.commons.httpclient.AutoCloseInputStream.read(AutoCloseInputStream.java:88)      at jetbrains.buildServer.http.ServerStreamProvider$1.read(ServerStreamProvider.java:126)      at java.io.InputStream.read(Unknown Source)      at jetbrains.buildServer.util.TCStreamUtil.writeBinary(TCStreamUtil.java:101)      at jetbrains.buildServer.agent.impl.patch.PatchStreamDownloader.copyStreamToFileAndCloseStream(PatchStreamDownloader.java:86)      at jetbrains.buildServer.agent.impl.patch.PatchStreamDownloader.downloadPatch(PatchStreamDownloader.java:38)      at jetbrains.buildServer.agent.impl.patch.PatchDownloaderImpl.downloadPatch(PatchDownloaderImpl.java:141)      ... 18 more

0
Comment actions Permalink

Thanks to Jeff.

We will cirtainly document this and probably iprove the Vault plugin.

0
Comment actions Permalink

Damien,

Could you please attach the whole build log for the mentioned build with "Problem while loading patch data stream: Connection reset".

0

Please sign in to leave a comment.