Re: [Beepcore-java-users] example and TLS problem
Status: Beta
Brought to you by:
huston
From: Huston <hu...@us...> - 2002-07-18 16:51:11
|
> I've just been playing with beepcore-java and the Bing/Beepd example. I > am using the current CVS source and JDK 1.4 on linux. > > Without TLS everything works fine, but if I run: > java org.beepcore.beep.example.Bing -privacy required hostname > > Then Bing reports: > bing: Error unable to start TLS. > TLS not supported by this session > bing: Error closing session (java.net.SocketException: Socket closed) > > > And Beepd reports: > > Beepd: started > TCPSession Thread #0:TCP Mapping: org.beepcore.beep.core.BEEPException: > Malformed BEEP header > org.beepcore.beep.core.BEEPException: Malformed BEEP header > at > org.beepcore.beep.transport.tcp.TCPSession.processCoreFrame(TCPSession.java: 516) > at > org.beepcore.beep.transport.tcp.TCPSession.processNextFrame(TCPSession.java: 456) > at > org.beepcore.beep.transport.tcp.TCPSession.access$000(TCPSession.java:55) > at > org.beepcore.beep.transport.tcp.TCPSession$1.run(TCPSession.java:230) > TCPSession Thread #0:org.beepcore.beep.core.Session.terminate: Malformed > BEEP header > Thread-3:org.beepcore.beep.profile.tls.jsse.TLSProfileJSSE.startChannel: > Unrecognized SSL handshake. > java.lang.NullPointerException > at > org.beepcore.beep.core.Session.processStartChannel(Session.java:1236) > at org.beepcore.beep.core.Session.access$400(Session.java:66) > at > org.beepcore.beep.core.Session$ChannelZeroListener.receiveMSG(Session.java:1 397) > at org.beepcore.beep.core.Channel$1.run(Channel.java:473) > at > EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Thread.java:536) > > Any ideas? There is a bug with TLS on 1.4, I'm currently working on this bug. I hope to have a fix soon. --Huston |