Re: example and TLS problem

"Huston" <[email protected]> Thu, 18 Jul 2002 10:48:52 -0600
Newsgroups gmane.network.beep.beepcore.java.general
Message-ID <00a601c22e7a$ff516f50$0c01000a@boys>
> 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




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf