From users-return-273651-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Fri Aug 6 13:36:13 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id B6A7B180181 for ; Fri, 6 Aug 2021 15:36:13 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id 3A13162E74 for ; Fri, 6 Aug 2021 13:35:40 +0000 (UTC) Received: (qmail 55880 invoked by uid 500); 6 Aug 2021 13:35:35 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 55867 invoked by uid 99); 6 Aug 2021 13:35:35 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Aug 2021 13:35:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id 6511D1FF407 for ; Fri, 6 Aug 2021 13:35:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: 0.199 X-Spam-Level: X-Spam-Status: No, score=0.199 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=0.2, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-ec2-va.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id A4p8zU2H3KVP for ; Fri, 6 Aug 2021 13:35:33 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=87.239.214.74; helo=mx2.ergon.ch; envelope-from=benjamin.grenacher@ergon.ch; receiver= Received: from mx2.ergon.ch (mx2.ergon.ch [87.239.214.74]) by mx1-ec2-va.apache.org (ASF Mail Server at mx1-ec2-va.apache.org) with ESMTPS id 2F97FBD371 for ; Fri, 6 Aug 2021 13:35:32 +0000 (UTC) IronPort-SDR: YyEfASkHm/Mh8Pr5uqb/Cahzi5bnK4VCHOhXiRUmoBOSdumWt4RdWGb7BY/GscCn8ozQW2vWoD gITyQAdUd9z42zhyMT2b2SAx2s/uofyvgqKVOLLSVkq2wZxFH6D3Z0fynvyOD+WqqOAQT5pPyD NAGhGzk5LEUZZbFzeNS9oKom7VyVHXoEddDPFNi0CM0BHG7+YT0+kqEMCn/6GLMjmYd4It82s3 H6xZ1XNxVqDu0/qDqC0Yeg3kLq1Dbn/yixmvMvfF10TZslbpYiIUGPRkJQtZd3uUT2aBFgly6W fbs= IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AqnPnOK8uOFSZ1FvCTXZuk+DhI+orL9Y04l?= =?us-ascii?q?Q7vn2ZESYlEfBw5Pre/sjztCWE7gr5N0tApTntAsO9qBDnhOdICOsqXYtKNT?= =?us-ascii?q?OO0ACVxepZgbcKtgePJ8SIzIFgPMlbHpSWQ+eAaGSSxfyKhDVQPexQp+W6zA?= =?us-ascii?q?=3D=3D?= X-IronPort-AV: E=Sophos;i="5.84,300,1620684000"; d="scan'208,217";a="2887629" X-Amp-Result: SKIPPED(no attachment in message) Received: from mahler.ergon.ch ([87.239.208.18]) by mx2.ergon.ch with ESMTP/TLS/DHE-RSA-AES128-SHA256; 06 Aug 2021 15:35:25 +0200 Received: from escher.ergon.local (escher.ergon.ch [87.239.210.207]) by mahler.ergon.ch (Postfix) with ESMTP id CA62B12EF9 for ; Fri, 6 Aug 2021 15:35:25 +0200 (MEST) From: Benjamin Grenacher To: "users@tomcat.apache.org" Subject: Http11NioProtocol with TLS seems to be very slow for certain requests >= 9.0.48 Thread-Topic: Http11NioProtocol with TLS seems to be very slow for certain requests >= 9.0.48 Thread-Index: AQHXisdSRzIGl7VeIUybkzoV4WUSfw== Date: Fri, 6 Aug 2021 13:35:24 +0000 Message-ID: Accept-Language: en-GB, de-CH, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [87.239.211.101] Content-Type: multipart/alternative; boundary="_000_e88296de8ed14393b588575b492214c0ergonch_" MIME-Version: 1.0 --_000_e88296de8ed14393b588575b492214c0ergonch_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Recently updated from 9.0.43 to 9.0.50 and are having similar symptoms as a= lready reported ("Possible Http11NioProtocol regression since 9.0.48?"). Integration test runs have shown this issue seems to occur for browser test= s only. Since we have larger JS files and requests take about 1 min (defaul= t 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=3Doff" the rest is defaul= t. Trying to change configuration (useSendfile, selectorTimeout, useBomIfPr= esent) 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_MI= SMATCH 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 --_000_e88296de8ed14393b588575b492214c0ergonch_--