So you know, I switched NIO and NIO2 on my two servers last night so that the 
timeout no longer occurs on my live server. The test server now shows the 
behavior.

- Matt

-----Original Message-----
From: Matt Cosentino [mailto:mcosent...@cacorp.com] 
Sent: Wednesday, July 12, 2017 10:05 PM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: RE: Response cut off after 10 seconds when using NIO2 connector

That's certainly not the case, I have no problem accessing 8443. Here is the 
connector config, only difference on the 8443 server is the protocol, address, 
and port.

    <Connector protocol="org.apache.coyote.http11.Http11Nio2Protocol" 
sslImplementationName="org.apache.tomcat.util.net.openssl.OpenSSLImplementation"
               address="192.168.160.28" port="443" scheme="https" secure="true" 
SSLEnabled="true" defaultSSLHostConfigName="arclearn.com" URIEncoding="UTF-8"
               compression="2048" 
compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript,application/json,image/svg+xml,font/opentype,font/truetype,application/vnd.ms-fontobject,application/x-mpegurl">

- Matt


-----Original Message-----
From: Kreuser, Peter [mailto:pkreu...@airplus.com] 
Sent: Wednesday, July 12, 2017 4:56 AM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: AW: Response cut off after 10 seconds when using NIO2 connector

Hi Matt,

> -----Ursprüngliche Nachricht-----
> Von: Matt Cosentino [mailto:mcosent...@cacorp.com] 
> Gesendet: Dienstag, 11. Juli 2017 19:35
> An: Tomcat Users List <users@tomcat.apache.org>
> Betreff: Response cut off after 10 seconds when using NIO2 connector
> 
> I'm using Tomcat 8.5.16 with the NIO2 connector and OpenSSL. It seems that if 
> a request runs for more than 10 seconds, Tomcat simply cuts off the response. 
> This does not happen with either the NIO or APR connectors. I'm using all 
> default settings. Is this expected behavior or am I missing a setting 
> somewhere? Here are links showing the behavior with identical settings except 
> for the connector:
> 
> NIO2: https://www.arclearn.com/sleep.jsp
> NIO: https://www.arclearn.com:8443/sleep.jsp
> 
> - Matt

Thank you for the Test-Pages, but: could it be that port 8443 is not publicly 
accessible? I get a connection timeout. I assume that is not the problem you 
are referring to ;-) ...

Can you also send your connector config for NIO and NIO2, please?

Best regards

Peter 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to