AEM 5.6.1 is crashing some time

Avatar

Avatar

Chandra_gupta

Avatar

Chandra_gupta

Chandra_gupta

15-10-2015

Spring OSGI services make Web services call to web sphere based external  application and lot of 500 and 503 error happens in OSGI Java call with whatever reason from back end web services.. Spring classes from OSGI to Web services is based on https protocal (Secure)..

Manually testing on CQ5 server works very well CQ5 pull information from Web services all works well.

Automatic load testing on CQ like 200 concurrent users for an hours also looks good but when same testing carry our few times in week ...Very Randomly any one of CQ5 publish get crashed and doesn't show any evidence like PermGen, Out of memeory or Diskspace. Log also doesn't have any evident why it crashes ... I see only three kind of error ...500,503 and this SSL exception

0.09.2013 15:31:23.582 *WARN* [172.22.20.105 [1378845083565] <parse>] servletengine I/O error in execution: {} javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Invalid Padding length: 88
    at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1476)
    at sun.security.ssl.AppInputStream.read(AppInputStream.java:92)
    at java.io.InputStream.read(InputStream.java:101)
    at com.day.j2ee.servletengine.ServletHandlerImpl.parseRequest(ServletHandlerImpl.java:450)
    at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:301)
    at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:644)
    at java.lang.Thread.run(Thread.java:722)
Caused by: javax.net.ssl.SSLHandshakeException: Invalid Padding length: 88
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1886)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:974)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
    at sun.security.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:2173)
    at com.day.j2ee.servletengine.ServletHandlerImpl.getCipherSuite(ServletHandlerImpl.java:978)
    at com.day.j2ee.servletengine.RequestImpl.recycle(RequestImpl.java:269)
    at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:289)
    ... 2 more
Caused by: javax.crypto.BadPaddingException: Invalid Padding length: 88
    at sun.security.ssl.CipherBox.removePadding(CipherBox.java:684)
    at sun.security.ssl.CipherBox.decrypt(CipherBox.java:423)
    at sun.security.ssl.InputRecord.decrypt(InputRecord.java:154)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:969)
    ... 8 more
10.09.2013 15:31:23.692 *WARN* [172.22.20.105 [1378845083692] GET /servic except 500, 503 and this SSL exception.

 

 

My doubt is on this SSL exception is crashing CQ5 JVM..  Please share your experience.

 

Thanks Chandra

View Entire Topic

Avatar

Avatar

AshokPelluru

Avatar

AshokPelluru

AshokPelluru

15-10-2015

Getting same error

<parse>] servletengine I/O error in execution: {} javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Invalid Padding length: 194

                at sun.security.ssl.SSLSocketImpl.checkEOF(Unknown Source)

                at sun.security.ssl.AppInputStream.read(Unknown Source)

                at java.io.InputStream.read(Unknown Source)

                at com.day.j2ee.servletengine.ServletHandlerImpl.parseRequest(ServletHandlerImpl.java:466)

                at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:317)

                at com.day.j2ee.servletengine.HttpListener$Worker.run(HttpListener.java:625)

                at java.lang.Thread.run(Unknown Source)

Caused by: javax.net.ssl.SSLHandshakeException: Invalid Padding length: 194

                at sun.security.ssl.Alerts.getSSLException(Unknown Source)

                at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)

                at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

                at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)

                at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)

                at sun.security.ssl.SSLSocketImpl.getSession(Unknown Source)

                at com.day.j2ee.servletengine.ServletHandlerImpl.getCipherSuite(ServletHandlerImpl.java:947)

                at com.day.j2ee.servletengine.RequestImpl.recycle(RequestImpl.java:272)

                at com.day.j2ee.servletengine.ServletHandlerImpl.process(ServletHandlerImpl.java:309)

                ... 2 more

Caused by: javax.crypto.BadPaddingException: Invalid Padding length: 194

                at sun.security.ssl.CipherBox.removePadding(Unknown Source)

                at sun.security.ssl.CipherBox.decrypt(Unknown Source)

                at sun.security.ssl.InputRecord.decrypt(Unknown Source)

 

any help?