Re: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Mark Thomas
On 10/10/2012 19:57, Mark Thomas wrote: On 10/10/2012 19:51, Steffen Heil (Mailinglisten) wrote: Hi I just took a look at this. The examples work out of the box for HTTPS with BIO but not with NIO. This looks like a Tomcat bug at this point. I'll take a look. What would I need to do to

Re: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Konstantin Kolinko
2012/10/11 Mark Thomas ma...@apache.org: On 10/10/2012 19:57, Mark Thomas wrote: On 10/10/2012 19:51, Steffen Heil (Mailinglisten) wrote: Hi I just took a look at this. The examples work out of the box for HTTPS with BIO but not with NIO. This looks like a Tomcat bug at this point. I'll

AW: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Steffen Heil (Mailinglisten)
Hi See if this fixes if for you: http://people.apache.org/~markt/dev/tomcat-7/v7.0.33-r1397089/apache- tomcat-7.0.33-r1397089.tar.gz Preliminary tests look promising. Everything worked (using a few single click tests so far). Thanks! This is not an official release. Use it at your own

Re: AW: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steffen, On 10/11/12 11:36 AM, Steffen Heil (Mailinglisten) wrote: See if this fixes if for you: http://people.apache.org/~markt/dev/tomcat-7/v7.0.33-r1397089/apache- tomcat-7.0.33-r1397089.tar.gz Preliminary tests look promising. Everything

Re: AW: AW: WebSockets and HTTPS problems

2012-10-11 Thread Mark Thomas
Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/10/11 Mark Thomas ma...@apache.org: On 10/10/2012 19:57, Mark Thomas wrote: On 10/10/2012 19:51, Steffen Heil (Mailinglisten) wrote: Hi I just took a look at this. The examples work out of the box for HTTPS with BIO but not with NIO.

WebSockets and HTTPS problems

2012-10-10 Thread Steffen Heil (Mailinglisten)
Hi We have a web application that makes more and more use of websockets. (In fact we emulate websockets with comet servlets for older browsers and want to use real websockets for current ones.) We implemented our websocket support using tomcat 7.0.30 and a servlet extending

Re: WebSockets and HTTPS problems

2012-10-10 Thread Mark Thomas
On 10/10/2012 12:55, Steffen Heil (Mailinglisten) wrote: Do you see any error in my configuration? Nothing jumps out at me. What can I do to debug this? I'd use Wireshark. I tried to enable logging in tomcat [2], but it seems that did not suffice to make tomcat more verbose... Maybe I

AW: WebSockets and HTTPS problems

2012-10-10 Thread Steffen Heil (Mailinglisten)
Hi Check to see if the WebSocket examples that ship with Tomcat work with your configuration. If they don't compare the differences between the default configuration and you configuration to and find the change that breaks stuff. First, thanks for the reply. I downloaded tomcat 7.0.32

Re: AW: WebSockets and HTTPS problems

2012-10-10 Thread Mark Thomas
On 10/10/2012 17:41, Steffen Heil (Mailinglisten) wrote: Hi Check to see if the WebSocket examples that ship with Tomcat work with your configuration. If they don't compare the differences between the default configuration and you configuration to and find the change that breaks stuff.

AW: AW: WebSockets and HTTPS problems

2012-10-10 Thread Steffen Heil (Mailinglisten)
Hi I just took a look at this. The examples work out of the box for HTTPS with BIO but not with NIO. This looks like a Tomcat bug at this point. I'll take a look. What would I need to do to switch to BIO for now? And does Comet work with BIO? Regards, Steffen smime.p7s Description:

Re: AW: AW: WebSockets and HTTPS problems

2012-10-10 Thread Mark Thomas
On 10/10/2012 19:51, Steffen Heil (Mailinglisten) wrote: Hi I just took a look at this. The examples work out of the box for HTTPS with BIO but not with NIO. This looks like a Tomcat bug at this point. I'll take a look. What would I need to do to switch to BIO for now? Change the