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

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)


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

On Wed, May 30, 2012 at 8:42 PM, Charles Moulliard <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.

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