Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47047

Unrecognized SSL message, plaintext connection?

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • tfs-plugin
    • None
    • Windows Server 2012

      FATAL: com.microsoft.tfs.core.exceptions.TECoreException: Unrecognized SSL message, plaintext connection?

       Above error is occurring when i try to checkout the TFS online code to build. I have already configured tfs online personalize access token and the jenkins build was working till yesterday.

      the complete Jenkins log is as below,
      Started by user
      anonymous
      Building in workspace C:\Jenkins\jobs\AtlasProjectTFSOnline\workspace
      Querying for remote changeset at '$/Atlas Portal Code/source' as of 'D2017-09-22T06:40:28Z'...
      FATAL: com.microsoft.tfs.core.exceptions.TECoreException: Unrecognized SSL message, plaintext connection?
      java.lang.RuntimeException
      : com.microsoft.tfs.core.exceptions.TECoreException: Unrecognized SSL message, plaintext connection?
      at
      hudson.plugins.tfs.model.Server.execute(Server.java:226)
      at
      hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:275)
      at
      hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:271)
      at
      hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:287)
      at
      hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:359)
      at
      hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:308)
      at
      hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
      at
      hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
      at
      jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      at
      hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
      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:374)
      Caused by:
      com.microsoft.tfs.core.exceptions.TECoreException
      : Unrecognized SSL message, plaintext connection?
      at
      com.microsoft.tfs.core.exceptions.mappers.TECoreExceptionMapper.map(TECoreExceptionMapper.java:92)
      at
      com.microsoft.tfs.core.exceptions.mappers.VersionControlExceptionMapper.map(VersionControlExceptionMapper.java:43)
      at
      com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.queryHistory(WebServiceLayer.java:1589)
      at
      com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayerLocalWorkspaces.queryHistory(WebServiceLayerLocalWorkspaces.java:1254)
      at
      com.microsoft.tfs.core.clients.versioncontrol.VersionControlClient.queryHistory(VersionControlClient.java:4264)
      at
      hudson.plugins.tfs.model.MockableVersionControlClient.queryHistory(MockableVersionControlClient.java:254)
      at
      hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:65)
      at
      hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:33)
      at
      hudson.remoting.LocalChannel.call(LocalChannel.java:45)
      at
      hudson.plugins.tfs.model.Server.execute(Server.java:222)
      ... 13 more
      Caused by: com.microsoft.tfs.core.ws.runtime.exceptions.TransportException: Unrecognized SSL message, plaintext connection?
      at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:674)
      at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequest(SOAPService.java:444)
      at ms.tfs.versioncontrol.clientservices._03._RepositorySoap12Service.queryHistory(_RepositorySoap12Service.java:1503)
      at com.microsoft.tfs.core.clients.versioncontrol.internal.WebServiceLayer.queryHistory(WebServiceLayer.java:1573)
      ... 20 more
      Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
      at sun.security.ssl.InputRecord.handleUnknownRecord(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 com.microsoft.tfs.core.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:541)
      at com.microsoft.tfs.core.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2260)
      at com.microsoft.tfs.core.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1202)
      at com.microsoft.tfs.core.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:432)
      at com.microsoft.tfs.core.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:182)
      at com.microsoft.tfs.core.httpclient.HttpClient.executeMethod(HttpClient.java:428)
      at com.microsoft.tfs.core.httpclient.HttpClient.executeMethod(HttpClient.java:343)
      at com.microsoft.tfs.core.ws.runtime.client.SOAPService.executeSOAPRequestInternal(SOAPService.java:545)
      ... 23 more
      Performing Post build task...
      Could not match :Build succeeded : False
      Logical operation result is FALSE
      Skipping script : cd /d C:\projects\insight-analyzer-win-TDM_Portal\insight-analyzer-win
      analyze.bat -submit -p "Atlas_Portal_TFS"
      END OF POST BUILD TASK : 0
      Could not match :[^0][1-9]* Error (s) : False
      Logical operation result is FALSE
      Skipping script : cd /d C:\projects\insight-analyzer-win-TDM_Portal\insight-analyzer-win
      analyze.bat -p "Atlas_Portal_TFS" -rm buildFail -submit
      END OF POST BUILD TASK : 1
      Finished: FAILURE
       

          [JENKINS-47047] Unrecognized SSL message, plaintext connection?

          Kellie Jos added a comment -

          Thank you for using the tfs-plugin. It appears that your issue was found in an older version of the plugin. There have been a number of improvements made in the recent releases that may have resolved your issue. Please update to the most recent 5.126.0 release and let us know if your issue persists.

          Kellie Jos added a comment - Thank you for using the tfs-plugin. It appears that your issue was found in an older version of the plugin. There have been a number of improvements made in the recent releases that may have resolved your issue. Please update to the most recent 5.126.0 release and let us know if your issue persists.

          Ian Williams added a comment -

          redsolo is no longer maintaining plugin; unassigned issues

          Ian Williams added a comment - redsolo is no longer maintaining plugin; unassigned issues

            Unassigned Unassigned
            husnijabir Husni Jabir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: