java.io.IOException: Communication error url: https:

Google Groups | benfo...@gmail.com (JIRA) | 2 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I'm trying out the "Bitbucket team/project" feature: I have an issue where some of my jobs keeps being deleted and recreated randomly, and it seems to be related to situations where communicating with bitbucket fails. I would not expect Jenkins to delete my multibranch-job when e.g. Bitbucket or some network link is down. Relevant log: {code:java} Proposing ansible-docker Connecting to https://bitbucket.org using hidden-org-name/****** (hidden-org-name bitbucket credentials) Looking up hidden-org-name/ansible-docker for branches Checking branch jenkins-test from hidden-org-name/ansible-docker Met criteria ERROR: Failed to create or update a subproject ansible-docker com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRequestException: Communication error: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRequest(BitbucketCloudApiClient.java:421) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRepository(BitbucketCloudApiClient.java:173) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.getRepositoryType(BitbucketSCMSource.java:254) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.observe(BitbucketSCMSource.java:372) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieveBranches(BitbucketSCMSource.java:326) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:279) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:146) at jenkins.scm.api.SCMSource.retrieve(SCMSource.java:230) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:175) at jenkins.branch.MultiBranchProjectFactory$BySCMSourceCriteria$1.call(MultiBranchProjectFactory.java:157) at jenkins.branch.MultiBranchProjectFactory$BySCMSourceCriteria$1.call(MultiBranchProjectFactory.java:154) at jenkins.branch.OrganizationFolder.withSCMSourceCriteria(OrganizationFolder.java:255) at jenkins.branch.MultiBranchProjectFactory$BySCMSourceCriteria.recognizes(MultiBranchProjectFactory.java:154) at jenkins.branch.OrganizationFolder$1$1.complete(OrganizationFolder.java:165) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMNavigator.add(BitbucketSCMNavigator.java:198) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMNavigator.visitSources(BitbucketSCMNavigator.java:175) at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:125) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:157) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:992) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRequest(BitbucketCloudApiClient.java:412) ... 20 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at sun.security.ssl.InputRecord.read(InputRecord.java:505) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ... 33 more Evaluating orphaned items in hidden-org-name on Bitbucket Will remove ansible-docker as it is #1 in the list Finished: SUCCESS {code}

    Jenkins JIRA | 10 months ago | Asgeir Frimannsson
    com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRequestException: Communication error: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  2. 0

    [JIRA] (JENKINS-42000) GitHub organization job losing build history

    Google Groups | 2 months ago | benfo...@gmail.com (JIRA)
    java.io.IOException: Communication error url: https:
  3. 0

    [JIRA] (JENKINS-36029) multibranch-job deleted when bitbucket communication fails

    Google Groups | 10 months ago | asg...@gmail.com (JIRA)
    com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRequestException: Communication error: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm trying out the "Bitbucket team/project" feature: I have an issue where some of my jobs keeps being deleted and recreated randomly, and it seems to be related to situations where communicating with bitbucket fails. I would not expect Jenkins to delete my multibranch-job when e.g. Bitbucket or some network link is down. Relevant log: {code:java} Proposing ansible-docker Connecting to https://bitbucket.org using hidden-org-name/****** (hidden-org-name bitbucket credentials) Looking up hidden-org-name/ansible-docker for branches Checking branch jenkins-test from hidden-org-name/ansible-docker Met criteria ERROR: Failed to create or update a subproject ansible-docker com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRequestException: Communication error: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRequest(BitbucketCloudApiClient.java:421) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRepository(BitbucketCloudApiClient.java:173) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.getRepositoryType(BitbucketSCMSource.java:254) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.observe(BitbucketSCMSource.java:372) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieveBranches(BitbucketSCMSource.java:326) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:279) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:146) at jenkins.scm.api.SCMSource.retrieve(SCMSource.java:230) at jenkins.scm.api.SCMSource.fetch(SCMSource.java:175) at jenkins.branch.MultiBranchProjectFactory$BySCMSourceCriteria$1.call(MultiBranchProjectFactory.java:157) at jenkins.branch.MultiBranchProjectFactory$BySCMSourceCriteria$1.call(MultiBranchProjectFactory.java:154) at jenkins.branch.OrganizationFolder.withSCMSourceCriteria(OrganizationFolder.java:255) at jenkins.branch.MultiBranchProjectFactory$BySCMSourceCriteria.recognizes(MultiBranchProjectFactory.java:154) at jenkins.branch.OrganizationFolder$1$1.complete(OrganizationFolder.java:165) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMNavigator.add(BitbucketSCMNavigator.java:198) at com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMNavigator.visitSources(BitbucketSCMNavigator.java:175) at jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:125) at com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:157) at com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:122) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:992) at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:747) at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:123) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRequest(BitbucketCloudApiClient.java:412) ... 20 more Caused by: java.io.EOFException: SSL peer shut down incorrectly at sun.security.ssl.InputRecord.read(InputRecord.java:505) at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ... 33 more Evaluating orphaned items in hidden-org-name on Bitbucket Will remove ansible-docker as it is #1 in the list Finished: SUCCESS {code}

    Jenkins JIRA | 10 months ago | Asgeir Frimannsson
    com.cloudbees.jenkins.plugins.bitbucket.api.BitbucketRequestException: Communication error: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

  1. Alireza Mohamadi 114 times, last 3 months ago
  2. Nikolay Rybak 1 times, last 6 months ago
  3. tvrmsmith 1 times, last 8 months ago
  4. poroszd 3 times, last 9 months ago
  5. aldrinleal 1 times, last 9 months ago
14 more registered users
71 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketTimeoutException

    Read timed out

    at java.net.SocketInputStream.socketRead0()
  2. Java RT
    SocketInputStream.read
    1. java.net.SocketInputStream.socketRead0(Native Method)
    2. java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    3. java.net.SocketInputStream.read(SocketInputStream.java:170)
    4. java.net.SocketInputStream.read(SocketInputStream.java:141)
    4 frames
  3. Java JSSE
    AppInputStream.read
    1. sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
    2. sun.security.ssl.InputRecord.read(InputRecord.java:503)
    3. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
    4. sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
    5. sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
    5 frames
  4. Java RT
    BufferedInputStream.read
    1. java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
    2. java.io.BufferedInputStream.read(BufferedInputStream.java:265)
    2 frames
  5. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
    2. org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
    3. org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
    4. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
    5. org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
    6. org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
    7. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
    8. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    9. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    10. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    11. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    11 frames
  6. com.cloudbees.jenkins
    BitbucketSCMSource.retrieve
    1. com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.executeMethod(BitbucketCloudApiClient.java:553)
    2. com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getRequest(BitbucketCloudApiClient.java:561)
    3. com.cloudbees.jenkins.plugins.bitbucket.client.BitbucketCloudApiClient.getPullRequests(BitbucketCloudApiClient.java:183)
    4. com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrievePullRequests(BitbucketSCMSource.java:335)
    5. com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.retrieve(BitbucketSCMSource.java:325)
    5 frames
  7. jenkins.scm.api
    SCMSource.fetch
    1. jenkins.scm.api.SCMSource._retrieve(SCMSource.java:300)
    2. jenkins.scm.api.SCMSource.fetch(SCMSource.java:254)
    2 frames
  8. jenkins.branch
    OrganizationFolder$SCMSourceObserverImpl$1.complete
    1. jenkins.branch.MultiBranchProjectFactory$BySCMSourceCriteria.recognizes(MultiBranchProjectFactory.java:260)
    2. jenkins.branch.OrganizationFolder$SCMSourceObserverImpl$1.recognizes(OrganizationFolder.java:1187)
    3. jenkins.branch.OrganizationFolder$SCMSourceObserverImpl$1.complete(OrganizationFolder.java:1202)
    3 frames
  9. com.cloudbees.jenkins
    BitbucketSCMNavigator.visitSources
    1. com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMNavigator.add(BitbucketSCMNavigator.java:211)
    2. com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMNavigator.visitSources(BitbucketSCMNavigator.java:187)
    2 frames
  10. jenkins.branch
    OrganizationFolder.computeChildren
    1. jenkins.branch.OrganizationFolder.computeChildren(OrganizationFolder.java:400)
    1 frame
  11. com.cloudbees.hudson
    FolderComputation.run
    1. com.cloudbees.hudson.plugins.folder.computed.ComputedFolder.updateChildren(ComputedFolder.java:219)
    2. com.cloudbees.hudson.plugins.folder.computed.FolderComputation.run(FolderComputation.java:141)
    2 frames
  12. jenkins.branch
    OrganizationFolder$OrganizationScan.run
    1. jenkins.branch.OrganizationFolder$OrganizationScan.run(OrganizationFolder.java:851)
    1 frame
  13. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:98)
    2. hudson.model.Executor.run(Executor.java:410)
    2 frames