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

Cannot connect to Jenkins CLI with https

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Our Jenkins server was switched to https from http and now we continue to get issues relating to ssl. Any help would be appreciated because I have not found any solutions to this issue yet. Here is the error we keep getting:

      Exception in thread "main" java.io.IOException: Failed to connect to https://ncs-jenkins.cisco.com:8443/
              at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
              at hudson.cli.CLI.<init>(CLI.java:126)
              at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
              at hudson.cli.CLI._main(CLI.java:466)
              at hudson.cli.CLI.main(CLI.java:382)
      Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
       at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:902)
              at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1208)
              at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1235)
              at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1219)
              at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:440)
              at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
              at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
              at hudson.cli.CLI.getCliTcpPort(CLI.java:264)
              ... 4 more
      Caused by: java.io.EOFException: SSL peer shut down incorrectly
              at sun.security.ssl.InputRecord.read(InputRecord.java:482)
              at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:883)
              ... 11 more
      

        Attachments

          Activity

          tommroma Tommy Romano created issue -
          tommroma Tommy Romano made changes -
          Field Original Value New Value
          Description Our Jenkins server was switched to https from http and now we continue to get issues relating to ssl. Here is the error we keep getting:

          Exception in thread "main" java.io.IOException: Failed to connect to https://ncs-jenkins.cisco.com:8443/
                  at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
                  at hudson.cli.CLI.<init>(CLI.java:126)
                  at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
                  at hudson.cli.CLI._main(CLI.java:466)
                  at hudson.cli.CLI.main(CLI.java:382)
          Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

          Any help would be appreciated because I have not found any solutions to this issue yet.

          Our Jenkins server was switched to https from http and now we continue to get issues relating to ssl. Any help would be appreciated because I have not found any solutions to this issue yet. Here is the error we keep getting:

          {code:java}
          Exception in thread "main" java.io.IOException: Failed to connect to https://ncs-jenkins.cisco.com:8443/
                  at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
                  at hudson.cli.CLI.<init>(CLI.java:126)
                  at hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72)
                  at hudson.cli.CLI._main(CLI.java:466)
                  at hudson.cli.CLI.main(CLI.java:382)
          Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
           at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:902)
                  at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1208)
                  at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1235)
                  at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1219)
                  at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:440)
                  at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
                  at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
                  at hudson.cli.CLI.getCliTcpPort(CLI.java:264)
                  ... 4 more
          Caused by: java.io.EOFException: SSL peer shut down incorrectly
                  at sun.security.ssl.InputRecord.read(InputRecord.java:482)
                  at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:883)
                  ... 11 more
          {code}


          danielbeck Daniel Beck made changes -
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 164275 ] JNJira + In-Review [ 197466 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            tommroma Tommy Romano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: