I also have been experiencing the same issue (with Tomcat 9). 9.0.93
works fine. 9.0.94 is unusable. 9.0.95 and now 9.0.96 almost work but
sometimes I get the same behavior as with 9.0.94. I see it in my
integration tests - there are some sporadic failures here and there when
I upgrade from 9.0.93. Not sure how to help more but I just wanted to
chime in and say that Ahmed is not the only one still seeing the problem
even with the newest version.
On 2024/10/04 10:00:03 Ahmed Ashour wrote:
> > How rare? Once in how many requests? Can you trigger this via
automated testing e.g. with wrk?
> After working for some time (from 10 minutes to an hour), making a
request to a page (with subsequent JS/images) every one minute, the
issue is shown, happens on Chrome and Brave.
> The requests with wrk are all successful, tested for one hour, using
the default settings.
> Background:- There is a Tomcat server which is restarted daily, to
clean the auto deploy of the applications.- Three members have seen the
issue, in the last 3 days.- The main application is protected by basic
authentication- Once the issue happens, even the sample non-protected
application (html/js) is not accessible.
>
> > Does setting discardRequestsAndResponses="true" help at all?
>
> No, it doesn't.
> The settings now are:
> <UpgradeProtocol discardRequestsAndResponses="true"
className="org.apache.coyote.http2.Http2Protocol" readTimeout="20000"/>
>
> which still gives the error.
> The current workaround is to remove the UpgradeProtocol element.
>
> I wonder if low-level logs, or network sniffing can help, as it is a
secure connection.
> Thanks,Ahmed
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org