Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Jetty SSL with WebSocket Issue

Hi Charles,

I just tried the cometd demo chat application over websocket. Both http and https version do work fine in firefox 12.0 on MacOs Lion. Maybe something is wrong with your certificate and safari silently fails?

If you like you can retry the same thing using the cometd-demo.war. But the current release contains a small bug in the chat application. Let me know if you want a fixed war file to test it with different browsers. I'll send it to you then.

Cheers,
Thomas

But it contains a small bug in the chat application which we'll fix with the next release. You need to

On Wed May 30 23:26:26 2012, Charles Moulliard wrote:
Problem :

When I try to establish a secure wss:// connection between Safari and
Firefox (see version here after), the secure websocket connection
is closed at client / server side. There is a warn message appearing
in the log (nio - Broken Pipe) just after ssl NOT_HANDSHAKING. That's all.


1.
    [              qtp1534925604-36] ssl
     DEBUG [Session-1, SSL_NULL_WITH_NULL_NULL] SslConnection@6199ffdd
    SSL NOT_HANDSHAKING i/o/u=37/53/0 ishut=false oshut=false
    {AsyncHttpConnection@5868b72,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
    NOT_HANDSHAKING filled=-1/37 flushed=0/53
2.
    [              qtp1534925604-36] nio
     WARN  java.io.IOException: Broken pipe

,

Remarks :
- By no error, I would like to say that there is no SSL message like
unknown_certificate, ....
- That works fine with Google Chrome

Tests made on Mac OS Lion with :
Google Chrome - Version 19.0.1084.52 (OK)
Firefox - Version 12.0 (NOK)
Safari - Version 5.1.7 (7534.57.2) (NOK)

Regards,

Charles
On Wed, May 30, 2012 at 9:00 PM, Simone Bordet <sbordet@xxxxxxxxxxx
<mailto:sbordet@xxxxxxxxxxx>> wrote:

    Hi,

    On Wed, May 30, 2012 at 8:42 PM, Charles Moulliard
    <cmoulliard@xxxxxxxxx <mailto:cmoulliard@xxxxxxxxx>> wrote:
    > Hi.
    >
    > We have developed an Apache Camel WebSocket component using
    Jetty WebSocket.
    > SSL Communication - wss:// works fine between Google Chrome and
    Jetty 7.6.3
    > but fails without error (http://pastebin.com/qsXTsFLr) using
    Firefox/Safari.

    What does "fail without error" mean ?

    The pastebin is frankly unparsable :)
    Can you tell us what the problem is, before we attempt to reverse
    engineering the SSL log ?

    Note that Safari is known to be buggy, but recent FF should work.

    You have not mentioned what browser versions you are trying.

    Simon
    --
    http://cometd.org
    http://intalio.com
    http://bordet.blogspot.com
    ----
    Finally, no matter how good the architecture and design are,
    to deliver bug-free software with optimal performance and reliability,
    the implementation technique must be flawless.   Victoria Livschitz
    _______________________________________________
    jetty-users mailing list
    jetty-users@xxxxxxxxxxx <mailto:jetty-users@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/jetty-users




_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users

--
thomas becker
tbecker@xxxxxxxxxxx

http://webtide.com / http://intalio.com
(the folks behind jetty and cometd)


Back to the top