Re: Tomcat EOFException when nginx is Reverse Proxy for WebSockets

2017-03-21 Thread Igal @ Lucee.org
Yup. That was it. Thanks! I also found this related post: http://stackoverflow.com/questions/10550558/nginx-tcp-websockets-timeout-keepalive-config Igal Sapir Lucee Core Developer Lucee.org On 3/21/2017 2:33 AM, Reinis Rozitis wrote: Any ideas? Try to increase the prox

Re: Tomcat EOFException when nginx is Reverse Proxy for WebSockets

2017-03-21 Thread Reinis Rozitis
Any ideas? Try to increase the proxy_read_timeout. "By default, the connection will be closed if the proxied server does not transmit any data within 60 seconds. This timeout can be increased with the proxy_read_timeout directive" http://nginx.org/en/docs/http/websocket.html rr ___

Re: Tomcat EOFException when nginx is Reverse Proxy for WebSockets

2017-03-21 Thread Igal @ Lucee.org
Well, in both issues nginx closes the connection prematurely, so the exception in Java is similar, but they are very different issues. I suspect that this issue is specific to WebSocket proxying. I am connecting locally both through nginx (on port 80) and directly to Tomcat (on port 8080), and

Re: Tomcat EOFException when nginx is Reverse Proxy for WebSockets

2017-03-21 Thread itpp2012
Looks like this issue: http://stackoverflow.com/questions/30619703/java-io-eofexception-when-downloading-files-from-remote-server-to-android-phone Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273064,273066#msg-273066 ___ nginx mailing list