You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ahmed Ashour <as...@yahoo.com.INVALID> on 2024/10/04 10:00:03 UTC

Re: net::ERR_HTTP2_PROTOCOL_ERROR with 10.1.30

 > 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