javax.net.ssl.SSLException: Received fatal alert: bad_record_mac

igniterealtime.org | 7 months 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    [#OF-496] javax.net.ssl.SSLException: Received fatal alert: bad_record_mac

    igniterealtime.org | 9 months ago
    javax.net.ssl.SSLException: Received fatal alert: bad_record_mac

    3 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
      SSLEngineImpl.unwrap
      1. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
      2. com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1467)
      3. com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1435)
      4. com.sun.net.ssl.internal.ssl.SSLEngineImpl.recvAlert(SSLEngineImpl.java:1601)
      5. com.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:1031)
      6. com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:845)
      7. com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:721)
      7 frames
    3. Java RT
      SSLEngine.unwrap
      1. javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
      1 frame
    4. Apache MINA SSL Filter
      SSLFilter.messageReceived
      1. org.apache.mina.filter.support.SSLHandler.unwrap0(SSLHandler.java:658)
      2. org.apache.mina.filter.support.SSLHandler.unwrap(SSLHandler.java:596)
      3. org.apache.mina.filter.support.SSLHandler.decrypt(SSLHandler.java:423)
      4. org.apache.mina.filter.support.SSLHandler.messageReceived(SSLHandler.java:308)
      5. org.apache.mina.filter.SSLFilter.messageReceived(SSLFilter.java:392)
      5 frames
    5. org.apache.mina
      AbstractIoFilterChain.fireMessageReceived
      1. org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
      2. org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53)
      3. org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:648)
      4. org.apache.mina.common.support.AbstractIoFilterChain$HeadFilter.messageReceived(AbstractIoFilterChain.java:499)
      5. org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299)
      6. org.apache.mina.common.support.AbstractIoFilterChain.fireMessageReceived(AbstractIoFilterChain.java:293)
      6 frames
    6. Apache MINA Core
      SocketIoProcessor$Worker.run
      1. org.apache.mina.transport.socket.nio.SocketIoProcessor.read(SocketIoProcessor.java:228)
      2. org.apache.mina.transport.socket.nio.SocketIoProcessor.process(SocketIoProcessor.java:198)
      3. org.apache.mina.transport.socket.nio.SocketIoProcessor.access$400(SocketIoProcessor.java:45)
      4. org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(SocketIoProcessor.java:485)
      4 frames
    7. MINA
      NamePreservingRunnable.run
      1. org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
      1 frame
    8. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      2 frames