Forum Discussion

ramana_mohan's avatar
ramana_mohan
Regular Visitor
4 years ago

Unable to add changes from GUI and Command Line

I am getting error while adding changes from TFS repository using both Collaborator GUI and Command line.

DEBUG: Wed Dec 09 18:53:42 IST 2020: httpclient.wire.header
>> "[\r][\n]"
DEBUG: Wed Dec 09 18:53:42 IST 2020: httpclient.wire.content
>> "<?xml version='1.0' encoding='UTF-8'?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body xmlns="http://microsoft.com/webservices/"><Connect><connectOptions>0</connectOptions><lastChangeId>307203</lastChangeId><features>1</features></Connect></soap:Body></soap:Envelope>"
DEBUG: Wed Dec 09 18:53:42 IST 2020: com.microsoft.tfs.core.httpclient.HttpMethodDirector
Closing the connection.
INFO: Wed Dec 09 18:53:42 IST 2020: com.microsoft.tfs.core.httpclient.HttpMethodDirector
I/O exception (java.net.SocketException) caught when processing request: Connection reset
DEBUG: Wed Dec 09 18:53:42 IST 2020: com.microsoft.tfs.core.httpclient.HttpMethodDirector
Connection reset
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.security.ssl.InputRecord.readFully(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.flush(Unknown Source)
at java.io.FilterOutputStream.flush(Unknown Source)
at com.microsoft.tfs.core.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:597)
at com.microsoft.tfs.core.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2518)
at com.microsoft.tfs.core.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1313)
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:588)
at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:473)
at ms.ws._LocationWebServiceSoap12Service.connect(_LocationWebServiceSoap12Service.java:384)
at com.microsoft.tfs.core.clients.framework.location.internal.LocationWebServiceProxy.connect(LocationWebServiceProxy.java:70)
at com.microsoft.tfs.core.clients.framework.location.LocationService.connect(LocationService.java:754)
at com.microsoft.tfs.core.clients.framework.location.LocationService.ensureConnected(LocationService.java:884)
at com.microsoft.tfs.core.clients.framework.location.LocationService.ensureAuthenticated(LocationService.java:923)
at com.microsoft.tfs.core.clients.framework.location.LocationService.getAuthorizedIdentity(LocationService.java:893)
at com.microsoft.tfs.core.TFSConnection.getAuthorizedIdentity(TFSConnection.java:677)
at com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.isAuthorizedUser(VersionControlClient.java:6915)
at com.microsoft.tfs.core.clients.versioncontrol.Workstation.updateWorkspaceInfoCache(Workstation.java:1011)
at com.microsoft.tfs.core.clients.versioncontrol.Workstation.ensureUpdateWorkspaceInfoCache(Workstation.java:929)
at com.microsoft.tfs.core.clients.versioncontrol.Workstation.ensureUpdateWorkspaceInfoCache(Workstation.java:894)
at com.smartbear.scm.impl.tfs.TfsCore.getWorkspace(TfsCore.java:674)
at com.smartbear.scm.impl.tfs.TfsCore.getPendingChanges(TfsCore.java:770)
at com.smartbear.scm.impl.tfs.TfsClientConfiguration.getModifiedFiles(TfsClientConfiguration.java:140)
at com.smartbear.collaborator.ui.standalone.wizards.FileChangesSelectionPage.getModifiedFiles(FileChangesSelectionPage.java:95)
at com.smartbear.collaborator.ui.standalone.wizards.FileChangesSelectionPage.getModifiedFiles(FileChangesSelectionPage.java:42)
at com.smartbear.collaborator.ui.wizards.AbstractFileChangesSelectionPage$2.run(AbstractFileChangesSelectionPage.java:195)
at com.smartbear.collaborator.ui.wizards.ProgressWizardDialog$2.run(ProgressWizardDialog.java:158)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

1 Reply

  • OlegB's avatar
    OlegB
    SmartBear Alumni (Retired)

    Good morning ramana_mohan ,

     

    In accordance with the log file, the connection opened by the GUI client is getting reset for some reason. Thus, the uploading attempt failed. Try to follow the action items below:

    1. Ensure that the TFS server is acceptable from your PC. You can try to connect to the same TFS server or collection via a browser or Visual Studio interface.

    2. The TFS server can reset the connection due to an issue with the authentication method. Try to enable the "alternate authentication credentials" in your TFS account and re-use the alternative password instead of the regular one in the Collaborator client configuration. 

     

    I hope this helps.