Tomcat EOFException when nginx is Reverse Proxy for WebSockets

Igal @ igal at
Tue Mar 21 08:37:16 UTC 2017

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 the Tomcat connection is stable, while the 
nginx connection drops intermittently.

If there are any ideas on how to further troubleshoot this issue or to 
provide more information, I'd love to hear them.


Igal Sapir
Lucee Core Developer <>

On 3/21/2017 12:18 AM, itpp2012 wrote:
> Looks like this issue:
> Posted at Nginx Forum:,273064,273066#msg-273066
> _______________________________________________
> nginx mailing list
> nginx at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list