javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?

Apache's JIRA Issue Tracker | Bae,MunHwan | 5 years ago
  1. 0

    [DIRMINA-859] SSL Close Exception - ASF JIRA

    apache.org | 11 months ago
    javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
  2. 0

    I am trying to make a ssl server and a client. The connection is ok between a server and a client. If the client's status is idle, then I want to make the server try to close the connection with the client. So, in the server, the server closes the session between the server and the client if the session is idle. When the server closes the session , the below error take places. As I tried to find out the solution of it, somebody said that it was not an error in ssl area. However, I want to fix it.. How can I do it??? javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack? at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1429) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1397) at com.sun.net.ssl.internal.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:1336) at org.apache.mina.filter.ssl.SslHandler.destroy(SslHandler.java:203) at org.apache.mina.filter.ssl.SslFilter.sessionClosed(SslFilter.java:446) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed(DefaultIoFilterChain.java:395) at org.apache.mina.core.filterchain.DefaultIoFilterChain.access$900(DefaultIoFilterChain.java:46) at org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionClosed(DefaultIoFilterChain.java:781) at org.apache.mina.core.filterchain.IoFilterAdapter.sessionClosed(IoFilterAdapter.java:95) at org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed(DefaultIoFilterChain.java:395) at org.apache.mina.core.filterchain.DefaultIoFilterChain.fireSessionClosed(DefaultIoFilterChain.java:388) at org.apache.mina.core.service.IoServiceListenerSupport.fireSessionDestroyed(IoServiceListenerSupport.java:244) at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(AbstractPollingIoProcessor.java:602) at org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:562) at org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:68) at org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1149) at org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64) 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)

    Apache's JIRA Issue Tracker | 5 years ago | Bae,MunHwan
    javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
  3. 0

    [jira] [Created] (VYSPER-350) Newer to start a in-memery demo

    mina-dev | 8 months ago | wutianbiao (JIRA)
    javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    <Security> <BEA-090482> <BAD_CERTIFICATE - Managed Servers' NodeMngr is unreachable

    Oracle Community | 2 years ago | ssine
    javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?
  6. 0

    javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?: Failed@starting 2nd Managed Server:

    Oracle Community | 2 years ago | ssine
    javax.net.ssl.SSLException: Inbound closed before receiving peer's close_notify: possible truncation attack?

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

      Inbound closed before receiving peer's close_notify: possible truncation attack?

      at com.sun.net.ssl.internal.ssl.Alerts.getSSLException()
    2. Java JSSE
      SSLEngineImpl.closeInbound
      1. com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)
      2. com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1429)
      3. com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1397)
      4. com.sun.net.ssl.internal.ssl.SSLEngineImpl.closeInbound(SSLEngineImpl.java:1336)
      4 frames
    3. Apache MINA Core
      AbstractPollingIoProcessor$Processor.run
      1. org.apache.mina.filter.ssl.SslHandler.destroy(SslHandler.java:203)
      2. org.apache.mina.filter.ssl.SslFilter.sessionClosed(SslFilter.java:446)
      3. org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed(DefaultIoFilterChain.java:395)
      4. org.apache.mina.core.filterchain.DefaultIoFilterChain.access$900(DefaultIoFilterChain.java:46)
      5. org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.sessionClosed(DefaultIoFilterChain.java:781)
      6. org.apache.mina.core.filterchain.IoFilterAdapter.sessionClosed(IoFilterAdapter.java:95)
      7. org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextSessionClosed(DefaultIoFilterChain.java:395)
      8. org.apache.mina.core.filterchain.DefaultIoFilterChain.fireSessionClosed(DefaultIoFilterChain.java:388)
      9. org.apache.mina.core.service.IoServiceListenerSupport.fireSessionDestroyed(IoServiceListenerSupport.java:244)
      10. org.apache.mina.core.polling.AbstractPollingIoProcessor.removeNow(AbstractPollingIoProcessor.java:602)
      11. org.apache.mina.core.polling.AbstractPollingIoProcessor.removeSessions(AbstractPollingIoProcessor.java:562)
      12. org.apache.mina.core.polling.AbstractPollingIoProcessor.access$800(AbstractPollingIoProcessor.java:68)
      13. org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1149)
      13 frames
    4. MINA
      NamePreservingRunnable.run
      1. org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames