java.lang.RuntimeException: javax.net.ssl.SSLProtocolException: Server returned wrong cipher suite for session

Jenkins JIRA | Toland Hon | 3 years ago
  1. 0

    [JENKINS-19590] Campfire Plugin failing SSL check after upgrading Jenkins to latest 1.530 - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    java.lang.RuntimeException: javax.net.ssl.SSLProtocolException: Server returned wrong cipher suite for session
  2. 0

    [JENKINS-19590] Campfire Plugin failing SSL check after upgrading Jenkins to latest 1.530 - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    java.lang.RuntimeException: javax.net.ssl.SSLProtocolException: Server returned wrong cipher suite for session
  3. 0

    Campfire recently changed their SSL configuration to a new set of preferred ciphers and this plugin randomly fails with the following exception: ERROR: Publisher hudson.plugins.campfire.CampfireNotifier aborted due to exception java.lang.RuntimeException: javax.net.ssl.SSLProtocolException: Server returned wrong cipher suite for session at hudson.plugins.campfire.Campfire.post(Campfire.java:77) at hudson.plugins.campfire.Room.speak(Room.java:29) at hudson.plugins.campfire.CampfireNotifier.publish(CampfireNotifier.java:121) at hudson.plugins.campfire.CampfireNotifier.perform(CampfireNotifier.java:184) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:754) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:707) at hudson.model.Run.execute(Run.java:1628) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: javax.net.ssl.SSLProtocolException: Server returned wrong cipher suite for session at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHello(ClientHandshaker.java:438) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:125) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:146) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) 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 hudson.plugins.campfire.Campfire.post(Campfire.java:75) ... 12 more

    Jenkins JIRA | 3 years ago | Toland Hon
    java.lang.RuntimeException: javax.net.ssl.SSLProtocolException: Server returned wrong cipher suite for session
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Campfire recently changed their SSL configuration to a new set of preferred ciphers and this plugin randomly fails with the following exception: ERROR: Publisher hudson.plugins.campfire.CampfireNotifier aborted due to exception java.lang.RuntimeException: javax.net.ssl.SSLProtocolException: Server returned wrong cipher suite for session at hudson.plugins.campfire.Campfire.post(Campfire.java:77) at hudson.plugins.campfire.Room.speak(Room.java:29) at hudson.plugins.campfire.CampfireNotifier.publish(CampfireNotifier.java:121) at hudson.plugins.campfire.CampfireNotifier.perform(CampfireNotifier.java:184) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:754) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:707) at hudson.model.Run.execute(Run.java:1628) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: javax.net.ssl.SSLProtocolException: Server returned wrong cipher suite for session at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHello(ClientHandshaker.java:438) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:125) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:146) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) 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 hudson.plugins.campfire.Campfire.post(Campfire.java:75) ... 12 more

    Jenkins JIRA | 3 years ago | Toland Hon
    java.lang.RuntimeException: javax.net.ssl.SSLProtocolException: Server returned wrong cipher suite for session
  6. 0

    [HTTPSRedirector] [session hijacker] wrong SSL server certificate?

    GitHub | 1 year ago | gainan
    javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x51435ad8: Failure in SSL library, usually a protocol error error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher (external/openssl/ssl/s3_srvr.c:1365 0x4157cb6a:0x00000000)

    1 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.SSLProtocolException

      Server returned wrong cipher suite for session

      at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHello()
    2. Java JSSE
      AppOutputStream.write
      1. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHello(ClientHandshaker.java:438)
      2. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:125)
      3. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:593)
      4. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:529)
      5. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:943)
      6. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
      7. com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654)
      8. com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100)
      8 frames
    3. Java RT
      BufferedOutputStream.flush
      1. java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
      2. java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
      2 frames
    4. HttpClient
      HttpClient.executeMethod
      1. org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:146)
      2. org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
      3. org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
      4. org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
      5. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
      6. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
      7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
      8. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
      8 frames
    5. hudson.plugins.campfire
      CampfireNotifier.perform
      1. hudson.plugins.campfire.Campfire.post(Campfire.java:75)
      2. hudson.plugins.campfire.Room.speak(Room.java:29)
      3. hudson.plugins.campfire.CampfireNotifier.publish(CampfireNotifier.java:121)
      4. hudson.plugins.campfire.CampfireNotifier.perform(CampfireNotifier.java:184)
      4 frames
    6. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)
      2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:754)
      4. hudson.model.Build$BuildExecution.post2(Build.java:183)
      5. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:707)
      6. hudson.model.Run.execute(Run.java:1628)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:246)
      9 frames