javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Jenkins JIRA | vishal sahasrabuddhe | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    we are getting following error in the log for pull request build jobs. Mar 29, 2015 6:55:29 AM org.jenkinsci.plugins.ghprb.GhprbGitHub connect SEVERE: Can't connect to https://<github-enterprise-server>.com/api/v3 using oauth Mar 29, 2015 6:55:29 AM org.jenkinsci.plugins.ghprb.GhprbRepository initGhRepository SEVERE: Error while accessing rate limit API javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1720) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at org.kohsuke.github.Requester.parse(Requester.java:396) at org.kohsuke.github.Requester._to(Requester.java:198) at org.kohsuke.github.Requester.to(Requester.java:173) at org.kohsuke.github.GitHub.getMyself(GitHub.java:256) at org.kohsuke.github.GitHub.<init>(GitHub.java:133) at org.kohsuke.github.GitHubBuilder.build(GitHubBuilder.java:173) at org.jenkinsci.plugins.ghprb.GhprbGitHub.connect(GhprbGitHub.java:23) at org.jenkinsci.plugins.ghprb.GhprbGitHub.get(GhprbGitHub.java:46) at org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:53) at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:76) at org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:101) at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:149) at hudson.triggers.Trigger.checkTriggers(Trigger.java:266) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:214) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) we are using GHE 2.1.3, jenkins version is 1.5.96.2, ghprb version is 1.16-8

    Jenkins JIRA | 2 years ago | vishal sahasrabuddhe
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  2. 0

    we are getting following error in the log for pull request build jobs. Mar 29, 2015 6:55:29 AM org.jenkinsci.plugins.ghprb.GhprbGitHub connect SEVERE: Can't connect to https://<github-enterprise-server>.com/api/v3 using oauth Mar 29, 2015 6:55:29 AM org.jenkinsci.plugins.ghprb.GhprbRepository initGhRepository SEVERE: Error while accessing rate limit API javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1720) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) at org.kohsuke.github.Requester.parse(Requester.java:396) at org.kohsuke.github.Requester._to(Requester.java:198) at org.kohsuke.github.Requester.to(Requester.java:173) at org.kohsuke.github.GitHub.getMyself(GitHub.java:256) at org.kohsuke.github.GitHub.<init>(GitHub.java:133) at org.kohsuke.github.GitHubBuilder.build(GitHubBuilder.java:173) at org.jenkinsci.plugins.ghprb.GhprbGitHub.connect(GhprbGitHub.java:23) at org.jenkinsci.plugins.ghprb.GhprbGitHub.get(GhprbGitHub.java:46) at org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:53) at org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:76) at org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:101) at org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:149) at hudson.triggers.Trigger.checkTriggers(Trigger.java:266) at hudson.triggers.Trigger$Cron.doRun(Trigger.java:214) at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) we are using GHE 2.1.3, jenkins version is 1.5.96.2, ghprb version is 1.16-8

    Jenkins JIRA | 2 years ago | vishal sahasrabuddhe
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  3. 0

    Exception "Received fatal alert: handshake_failure" while sending a request through java code

    Stack Overflow | 2 years ago | Vemuri Ramanujadasu
    javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Alternative to SSLAdapterFactory &amp;&nbsp; WLSSLAdapter in weblogic 10.3??

    Oracle Community | 7 years ago | 715786
    javax.xml.ws.WebServiceException: weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

    15 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. javax.net.ssl.SSLHandshakeException

      Received fatal alert: handshake_failure

      at com.sun.net.ssl.internal.ssl.Alerts.getSSLException()
    2. Java JSSE
      SSLSocketImpl.startHandshake
      1. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
      2. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
      3. com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1720)
      4. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:954)
      5. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1138)
      6. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1165)
      7. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1149)
      7 frames
    3. Java RT
      HttpsURLConnectionImpl.getInputStream
      1. sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:434)
      2. sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
      3. sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
      4. sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
      4 frames
    4. org.kohsuke.github
      GitHubBuilder.build
      1. org.kohsuke.github.Requester.parse(Requester.java:396)
      2. org.kohsuke.github.Requester._to(Requester.java:198)
      3. org.kohsuke.github.Requester.to(Requester.java:173)
      4. org.kohsuke.github.GitHub.getMyself(GitHub.java:256)
      5. org.kohsuke.github.GitHub.<init>(GitHub.java:133)
      6. org.kohsuke.github.GitHubBuilder.build(GitHubBuilder.java:173)
      6 frames
    5. org.jenkinsci.plugins
      GhprbTrigger.run
      1. org.jenkinsci.plugins.ghprb.GhprbGitHub.connect(GhprbGitHub.java:23)
      2. org.jenkinsci.plugins.ghprb.GhprbGitHub.get(GhprbGitHub.java:46)
      3. org.jenkinsci.plugins.ghprb.GhprbRepository.initGhRepository(GhprbRepository.java:53)
      4. org.jenkinsci.plugins.ghprb.GhprbRepository.check(GhprbRepository.java:76)
      5. org.jenkinsci.plugins.ghprb.Ghprb.run(Ghprb.java:101)
      6. org.jenkinsci.plugins.ghprb.GhprbTrigger.run(GhprbTrigger.java:149)
      6 frames
    6. Hudson
      SafeTimerTask.run
      1. hudson.triggers.Trigger.checkTriggers(Trigger.java:266)
      2. hudson.triggers.Trigger$Cron.doRun(Trigger.java:214)
      3. hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
      3 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
      3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
      5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
      6. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      8. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      9. java.lang.Thread.run(Thread.java:662)
      9 frames