Tomcat closes HTTP2 connection with 'Too much overhead' exception

Solution Verified - Updated -


  • We see some HTTP2 connections are abruptly closed by Tomcat. With additional debugging, we see the following exception:
FINE [https-openssl-nio-10443-exec-10] org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Connection error
    org.apache.coyote.http2.ConnectionException: Connection [1], Too much overhead so the connection will be closed
        at org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(
        at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(
        at org.apache.coyote.AbstractProcessorLight.process(
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
        at org.apache.tomcat.util.threads.TaskThread$


  • JBoss Web Server (JWS) 5.x
    • Tomcat 9.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content