com.atlassian.connector.eclipse.internal.jira.core.service.JiraException: com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLException: Received fatal alert: bad_record_mac

Ecosystem JIRA | Santiago | 3 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

    When I validate JIRA server connection I've received the following issue !ENTRY com.atlassian.connector.eclipse.jira.ui 4 0 2014-05-14 15:05:08.192 !MESSAGE com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLException: Received fatal alert: bad_record_mac !STACK 0 com.atlassian.connector.eclipse.internal.jira.core.service.JiraException: com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLException: Received fatal alert: bad_record_mac at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.call(JiraRestClientAdapter.java:765) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.getSessionInfo(JiraRestClientAdapter.java:372) at com.atlassian.connector.eclipse.internal.jira.core.service.JiraClient.getSessionInfo(JiraClient.java:612) at com.atlassian.connector.eclipse.internal.jira.core.JiraClientManager.validateConnection(JiraClientManager.java:156) at com.atlassian.connector.eclipse.internal.jira.core.JiraClientFactory.validateConnection(JiraClientFactory.java:167) at com.atlassian.connector.eclipse.internal.jira.ui.wizards.JiraRepositorySettingsPage$JiraValidator.run(JiraRepositorySettingsPage.java:537) at org.eclipse.mylyn.tasks.ui.wizards.AbstractRepositorySettingsPage$29.run(AbstractRepositorySettingsPage.java:2009) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: com.atlassian.jira.rest.client.RestClientException: com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLException: Received fatal alert: bad_record_mac at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:81) at com.atlassian.jira.rest.client.internal.jersey.JerseyMetadataRestClient.getSessionInfo(JerseyMetadataRestClient.java:118) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter$7.call(JiraRestClientAdapter.java:374) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter$7.call(JiraRestClientAdapter.java:1) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.call(JiraRestClientAdapter.java:730) ... 7 more Caused by: com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLException: Received fatal alert: bad_record_mac at com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:213) at com.sun.jersey.client.apache.ApacheHttpClientHandler.handle(ApacheHttpClientHandler.java:175) at com.sun.jersey.api.client.Client.handle(Client.java:629) at com.sun.jersey.api.client.WebResource.handle(WebResource.java:601) at com.sun.jersey.api.client.WebResource.get(WebResource.java:187) at com.atlassian.jira.rest.client.internal.jersey.JerseyMetadataRestClient$2.call(JerseyMetadataRestClient.java:125) at com.atlassian.jira.rest.client.internal.jersey.JerseyMetadataRestClient$2.call(JerseyMetadataRestClient.java:118) at com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:60) ... 11 more Caused by: javax.net.ssl.SSLException: Received fatal alert: bad_record_mac at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190) at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1822) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1004) 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.HttpConnection.flushRequestOutputStream(HttpConnection.java:828) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565) 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 com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:210) ... 18 more ----------------------------------------------------------------------------------------- I've solved with the following workaround adding the next property to my eclipse.ini -Dcom.sun.net.ssl.rsaPreMasterSecretFix=true -----------------------------------------------------------------------------------------

    Ecosystem JIRA | 3 years ago | Santiago
    com.atlassian.connector.eclipse.internal.jira.core.service.JiraException: com.sun.jersey.api.client.ClientHandlerException: javax.net.ssl.SSLException: Received fatal alert: bad_record_mac
  2. 0

    Simple Groupware Tracker Archive

    simple-groupware.de | 8 months ago
    javax.net.ssl.SSLException: Received fatal alert: bad_record_mac
  3. 0

    Java6

    hc-httpclient-users | 1 decade ago | Richard Suematsu
    javax.net.ssl.SSLException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can I do an HttpPost using HttpClient to an HTTPS endpoint?

    Stack Overflow | 5 years ago | Andrew Rueckert
    javax.net.ssl.SSLException: java.lang.NullPointerException
  6. 0

    Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty | WSO2 Inc

    wso2.com | 5 months ago
    java.lang.RuntimeException: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

    10 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.SSLException

      Received fatal alert: bad_record_mac

      at com.sun.net.ssl.internal.ssl.Alerts.getSSLException()
    2. Java JSSE
      AppOutputStream.write
      1. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
      2. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136)
      3. com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1822)
      4. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1004)
      5. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1188)
      6. com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:654)
      7. com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:100)
      7 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.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)
      2. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)
      3. org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)
      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)
      7 frames
    5. Jersey Apache HTTP Client
      ApacheHttpClientHandler.handle
      1. com.sun.jersey.client.apache.DefaultApacheHttpMethodExecutor.executeMethod(DefaultApacheHttpMethodExecutor.java:210)
      2. com.sun.jersey.client.apache.ApacheHttpClientHandler.handle(ApacheHttpClientHandler.java:175)
      2 frames
    6. jersey-client
      WebResource.get
      1. com.sun.jersey.api.client.Client.handle(Client.java:629)
      2. com.sun.jersey.api.client.WebResource.handle(WebResource.java:601)
      3. com.sun.jersey.api.client.WebResource.get(WebResource.java:187)
      3 frames
    7. com.atlassian.jira
      JerseyMetadataRestClient.getSessionInfo
      1. com.atlassian.jira.rest.client.internal.jersey.JerseyMetadataRestClient$2.call(JerseyMetadataRestClient.java:125)
      2. com.atlassian.jira.rest.client.internal.jersey.JerseyMetadataRestClient$2.call(JerseyMetadataRestClient.java:118)
      3. com.atlassian.jira.rest.client.internal.jersey.AbstractJerseyRestClient.invoke(AbstractJerseyRestClient.java:60)
      4. com.atlassian.jira.rest.client.internal.jersey.JerseyMetadataRestClient.getSessionInfo(JerseyMetadataRestClient.java:118)
      4 frames
    8. com.atlassian.connector
      JiraRepositorySettingsPage$JiraValidator.run
      1. com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter$7.call(JiraRestClientAdapter.java:374)
      2. com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter$7.call(JiraRestClientAdapter.java:1)
      3. com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.call(JiraRestClientAdapter.java:730)
      4. com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.getSessionInfo(JiraRestClientAdapter.java:372)
      5. com.atlassian.connector.eclipse.internal.jira.core.service.JiraClient.getSessionInfo(JiraClient.java:612)
      6. com.atlassian.connector.eclipse.internal.jira.core.JiraClientManager.validateConnection(JiraClientManager.java:156)
      7. com.atlassian.connector.eclipse.internal.jira.core.JiraClientFactory.validateConnection(JiraClientFactory.java:167)
      8. com.atlassian.connector.eclipse.internal.jira.ui.wizards.JiraRepositorySettingsPage$JiraValidator.run(JiraRepositorySettingsPage.java:537)
      8 frames
    9. Mylyn Tasks UI
      AbstractRepositorySettingsPage$29.run
      1. org.eclipse.mylyn.tasks.ui.wizards.AbstractRepositorySettingsPage$29.run(AbstractRepositorySettingsPage.java:2009)
      1 frame
    10. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      1 frame