tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Grenacher <benjamin.grenac...@ergon.ch>
Subject Http11NioProtocol with TLS seems to be very slow for certain requests >= 9.0.48
Date Fri, 06 Aug 2021 13:35:24 GMT
Recently updated from 9.0.43 to 9.0.50 and are having similar symptoms as already reported
("Possible Http11NioProtocol regression since 9.0.48?").

Integration test runs have shown this issue seems to occur for browser tests only. Since we
have larger JS files and requests take about 1 min (default connectionTimeout/keepAliveTimeout)
this seems to be the same issue.

Downgrading to 9.0.48 shows that the issue persists.

Related active configuration is only "compression=off" the rest is default. Trying to change
configuration (useSendfile, selectorTimeout, useBomIfPresent) didn't help.

Seems to be resolved when using HTTP (no TLS).


Running on docker swarm through reverse proxy and without explicit reverse proxy (swarm internally
routes traffic, so kind of "proxy" in place).

When running through reverse proxy there occur "I/O Errors" reported by the proxy (not restricted
to JS file requests - e.g. includes favicon and svg requests).

Related error logs (browser):

https://XXX...b85a.js - Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH

https://XXX..f.min.js 14:1649 Uncaught SyntaxError: Unexpected end of input


Running with local docker containers (without proxy): Can't reproduce issue.


Let me know if you need anything else.


Ben


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message