Problems with SslHandler
Mike McGrady
mmcgrady at topiatechnology.com
Mon Aug 10 20:32:53 EDT 2009
I worked with SslHandler for days with no problem then suddenly have
this problem on an intermittant basis. I noticed it used to be
present but had been fixed. I am using netty-3.1.0.GA. The result is
extremely unpredicatable but always starts immediately rather than
along the way on a chunked handler.
MG
Mike McGrady
Principal Investigator AF081-028 AFRL SBIR
Senior Engineer
Topia Technology, Inc.
1.253.720.3365
mmcgrady at topiatechnology.com
SslHandler messageReceived: UpstreamMessageEvent message:
BigEndianHeapChannelBuffer: BigEndianHeapChannelBuffer(ridx=0,
widx=100, cap=1024)
SSL SslHandler unwrap: BigEndianHeapChannelBuffer(ridx=0, widx=100,
cap=1024)
SSL SslHandler wrap non app datajava.nio.HeapByteBuffer[pos=0
lim=17689 cap=17689]
SslHandler messageReceived: UpstreamMessageEvent message:
BigEndianHeapChannelBuffer: BigEndianHeapChannelBuffer(ridx=0,
widx=43, cap=1024)
SSL SslHandler unwrap: BigEndianHeapChannelBuffer(ridx=0, widx=43,
cap=1024)
SslHandler exceptionCaught
SslHandler messageReceived: UpstreamMessageEvent message:
BigEndianHeapChannelBuffer: BigEndianHeapChannelBuffer(ridx=0,
widx=75, cap=960)
SSL SslHandler unwrap: BigEndianHeapChannelBuffer(ridx=0, widx=75,
cap=960)
SSL SslHandler wrap non app datajava.nio.HeapByteBuffer[pos=0
lim=17689 cap=17689]
Aug 10, 2009 5:12:16 PM
com
.topiatechnology
.karma.spi.adapter.netty.handler.KarmaReceiverCodecHandler
WARNING: EXCEPTION, please implement
com
.topiatechnology
.karma
.spi.adapter.netty.handler.KarmaReceiverCodecHandler.exceptionCaught()
for proper handling.
javax.net.ssl.SSLException: Algorithm missing:
at
com
.sun
.net
.ssl.internal.ssl.SSLEngineImpl.changeReadCiphers(SSLEngineImpl.java:
526)
at
com
.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:
981)
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 org.jboss.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:759)
at org.jboss.netty.handler.ssl.SslHandler.decode(SslHandler.java:485)
at
org
.jboss
.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:
292)
at
org
.jboss
.netty
.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:226)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
342)
at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:
329)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:
330)
at
org
.jboss
.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:
282)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:203)
at
org
.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:
53)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:651)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:676)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.security.NoSuchAlgorithmException: Could not create
cipher RC4/128
at com.sun.net.ssl.internal.ssl.CipherBox.newCipherBox(CipherBox.java:
124)
at com.sun.net.ssl.internal.ssl.CipherSuite
$BulkCipher.newCipher(CipherSuite.java:443)
at
com.sun.net.ssl.internal.ssl.Handshaker.newReadCipher(Handshaker.java:
335)
at
com
.sun
.net
.ssl.internal.ssl.SSLEngineImpl.changeReadCiphers(SSLEngineImpl.java:
522)
... 17 more
Caused by: java.lang.IllegalArgumentException: Missing argument
at javax.crypto.spec.SecretKeySpec.<init>(DashoA12275)
at com.sun.net.ssl.internal.ssl.CipherBox.initCipher(CipherBox.java:
144)
at com.sun.net.ssl.internal.ssl.CipherBox.newCipherBox(CipherBox.java:
119)
... 20 more
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20090810/442ff9bc/attachment.html
More information about the netty-users
mailing list