FATAL: Connection reset the error i am getting after checking out total source code from the tfs server

356 views
Skip to first unread message

Venkata Lakshma Reddy Gade

unread,
Nov 30, 2015, 5:26:02 AM11/30/15
to Jenkins Users

during first build in jenkins i am able to proper checkout while running 2nd build after checkout it is failing with below error do any one faced this type of error please help me..

i think after checkout it contacting some webservice, do i need to set any proxy if so how to set 

Thanks in advance 

Lakshman

[PPIUK] $ tf get . -recursive -version:D2015-11-30T07:20:02Z -noprompt ******** All files are up to date. FATAL: Connection reset com.microsoft.tfs.core.exceptions.TECoreException: Connection reset at com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:99) at com.microsoft.tfs.core.exceptions.mappers.RegistrationExceptionMapper.map(RegistrationExceptionMapper.java:23) at com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(RegistrationData.java:70) at com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationData(RegistrationClient.java:645) at com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationEntry(RegistrationClient.java:188) at com.microsoft.tfs.core.clients.registration.RegistrationClient.getRegistrationEntry(RegistrationClient.java:167) at com.microsoft.tfs.core.clients.webservices.IdentityManagementService.<init>(IdentityManagementService.java:65) at hudson.plugins.tfs.model.Project.getVCCHistory(Project.java:86) at hudson.plugins.tfs.model.Project.getDetailedHistory(Project.java:130) at hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:38) at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:220) at hudson.model.AbstractProject.checkout(AbstractProject.java:1275) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Caused by: com.microsoft.tfs.core.ws.runtime.exceptions.TransportException: Connection reset at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:744) at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:473) at ms.tfs.services.registration._03._RegistrationSoap12Service.getRegistrationEntries(_RegistrationSoap12Service.java:105) at com.microsoft.tfs.core.clients.registration.RegistrationData.newFromServer(RegistrationData.java:65) ... 16 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:209) at java.net.SocketInputStream.read(SocketInputStream.java:141) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at com.microsoft.tfs.core.httpclient.HttpParser.readRawLine(HttpParser.java:85) at com.microsoft.tfs.core.httpclient.HttpParser.readLine(HttpParser.java:121) at com.microsoft.tfs.core.httpclient.HttpConnection.readLine(HttpConnection.java:1390) at com.microsoft.tfs.core.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1777) at com.microsoft.tfs.core.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:2354) at com.microsoft.tfs.core.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:2065) at com.microsoft.tfs.core.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1315) at com.microsoft.tfs.core.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:508) at com.microsoft.tfs.core.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:197) at com.microsoft.tfs.core.httpclient.HttpClient.executeMethod(HttpClient.java:464) at com.microsoft.tfs.core.httpclient.HttpClient.executeMethod(HttpClient.java:376) at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:617) ... 19 more

Ashok Paramasivam

unread,
Jun 10, 2016, 3:05:41 AM6/10/16
to Jenkins Users
Did you find the solution? I am having the same trouble

Sankalp Mishra

unread,
May 11, 2018, 6:41:31 AM5/11/18
to Jenkins Users
Even i'm facing the same issue  ever since i changed my TFS URL , that too i use HTTPS now..I have certificate on server installed and TFS is accessible from that machine locally too.
Did you find any solution to this?
Reply all
Reply to author
Forward
0 new messages