Hello Jeff!

Thank you for your answer. We are using LCDS 2.6.1. and Flex SDK 3.2.

Best regards,
Taze

--- In flexcoders@yahoogroups.com, Jeff Vroom <jvr...@...> wrote:
>
> Are you running the released version of 2.6?   There was a bug in 
RTMPS in that version which is fixed in a hotfix or in 2.6.1 that 
might cause this type of error intermittently.
> 
> Jeff
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcod...@yahoogroups.com] On Behalf Of taze170171
> Sent: Friday, December 12, 2008 5:52 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] BadPaddingException using RTMPS
> 
> 
> Hello!
> 
> We are using AIR, LCDS (running on a JBoss) and an RTMPS connection.
> Sometimes we get the following exception, when the AIR client tries
> to connect to the server:
> 
> [Flex]Thread[my-rtmps-SocketServer-WorkerThread-88,5,jboss] failed 
to
> read Connection 'xxx' or process the data; Connection is in
> the 'Handshaking' state and will be forced closed.
> javax.net.ssl.SSLHandshakeException: Invalid padding
> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException
> (Alerts.java:150)
> at com.sun.net.ssl.internal.ssl.SSLEngineImpl.fatal
> (SSLEngineImpl.java:1417)
> at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord
> (SSLEngineImpl.java:874)
> at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord
> (SSLEngineImpl.java:787)
> at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap
> (SSLEngineImpl.java:663)
> at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:566)
> at flex.messaging.socketserver.SSLConnection.handshake
> (SSLConnection.java:301)
> at flex.messaging.socketserver.Connection$ConnectionReader.run
> (Connection.java:761)
> at
> 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
> er.runTask(ThreadPoolExecutor.java:665)
> at
> 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
> er.run(ThreadPoolExecutor.java:690)
> at java.lang.Thread.run(Thread.java:595)
> 
> Caused by: javax.crypto.BadPaddingException: Padding length invalid:
> 244
> at com.sun.net.ssl.internal.ssl.CipherBox.removePadding
> (CipherBox.java:442)
> at com.sun.net.ssl.internal.ssl.CipherBox.decrypt
(CipherBox.java:290)
> at com.sun.net.ssl.internal.ssl.InputRecord.decrypt
> (InputRecord.java:153)
> at com.sun.net.ssl.internal.ssl.EngineInputRecord.decrypt
> (EngineInputRecord.java:238)
> at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord
> (SSLEngineImpl.java:856)
> ... 8 more
> 
> Can anybody help?
> 
> Thanks in advance,
> Taze
>


Reply via email to