You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Joel Werginz <jw...@tibco.com.INVALID> on 2023/08/11 15:16:29 UTC

Tomcat 8.5.64 maxHttpHeaderSize="6553600"

Version:  8.5.64

maxHttpHeaderSize=³6553600²

10-Aug-2023 16:36:21.530 FINE [https-openssl-apr-443-exec-7]
org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Entry,
Connection [1], SocketStatus [OPEN_READ]
10-Aug-2023 16:36:21.530 FINE [https-openssl-apr-443-exec-7]
org.apache.coyote.http2.Http2UpgradeHandler.init Connection [1], State
[CONNECTED]
10-Aug-2023 16:36:21.530 FINE [https-openssl-apr-443-exec-7]
org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Exit,
Connection [1], SocketState [UPGRADED]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Entry,
Connection [1], SocketStatus [OPEN_READ]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Http2UpgradeHandler.init Connection [1], State
[CONNECTED]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Http2Parser.validateFrame Connection [1], Stream
[23], Frame type [HEADERS], Flags [33], Payload size [16374]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.StreamStateMachine.stateChange Connection [1],
Stream [23], State changed from [null] to [IDLE]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.StreamStateMachine.stateChange Connection [1],
Stream [23], State changed from [IDLE] to [OPEN]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.AbstractNonZeroStream.rePrioritise Connection [1],
Stream [23], Exclusive [true], Parent [0], Weight [220]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Http2Parser.readHeaderPayload Connection [1],
Stream [23], Processing headers payload of size [16,369]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
HTTP header [:method], Value [GET]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
HTTP header [:authority], Value [mdmsdev6.intranet.dow.com]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
HTTP header [:scheme], Value [https]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
HTTP header [:path], Value [/ebx-ui/rest/user/v1/current]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
HTTP header [sec-ch-ua], Value ["Not/A)Brand";v="99", "Google
Chrome";v="115", "Chromium";v="115"]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
HTTP header [accept], Value [application/json]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Connection
error
	org.apache.coyote.http2.ConnectionException: Connection [1], Stream [23],
Total header size too big
		at 
org.apache.coyote.http2.Http2Parser.readHeaderPayload(Http2Parser.java:454)
		at 
org.apache.coyote.http2.Http2Parser.readHeadersFrame(Http2Parser.java:253)
		at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:97)
		at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:69)
		at 
org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHan
dler.java:334)
		at 
org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeP
rocessorInternal.java:60)
		at 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.jav
a:59)
		at 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtoc
ol.java:831)
		at 
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.ja
va:2075)
		at 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java
:49)
		at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecu
tor.java:1128)
		at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExec
utor.java:628)
		at 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.j
ava:61)
		at java.base/java.lang.Thread.run(Thread.java:834)
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Stream.receiveReset Connection [1], Stream [23],
Reset received due to [8]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.StreamStateMachine.stateChange Connection [1],
Stream [23], State changed from [OPEN] to [CLOSED_RST_RX]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.WindowAllocationManager.notify Connection [1],
Stream [23], Waiting type [0], Notify type [3]
10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Exit,
Connection [1], SocketState [CLOSED]



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 8.5.64 maxHttpHeaderSize="6553600"

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Joel,

On 8/11/23 11:16, Joel Werginz wrote:
> Version:  8.5.64
> 
> maxHttpHeaderSize=³6553600²

Are you able to try with 8.5.91? Your version is more than 2 years old 
and many fixes have been made to h2 stream handling in that time.

-chris

> 10-Aug-2023 16:36:21.530 FINE [https-openssl-apr-443-exec-7]
> org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Entry,
> Connection [1], SocketStatus [OPEN_READ]
> 10-Aug-2023 16:36:21.530 FINE [https-openssl-apr-443-exec-7]
> org.apache.coyote.http2.Http2UpgradeHandler.init Connection [1], State
> [CONNECTED]
> 10-Aug-2023 16:36:21.530 FINE [https-openssl-apr-443-exec-7]
> org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Exit,
> Connection [1], SocketState [UPGRADED]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Entry,
> Connection [1], SocketStatus [OPEN_READ]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Http2UpgradeHandler.init Connection [1], State
> [CONNECTED]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Http2Parser.validateFrame Connection [1], Stream
> [23], Frame type [HEADERS], Flags [33], Payload size [16374]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.StreamStateMachine.stateChange Connection [1],
> Stream [23], State changed from [null] to [IDLE]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.StreamStateMachine.stateChange Connection [1],
> Stream [23], State changed from [IDLE] to [OPEN]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.AbstractNonZeroStream.rePrioritise Connection [1],
> Stream [23], Exclusive [true], Parent [0], Weight [220]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Http2Parser.readHeaderPayload Connection [1],
> Stream [23], Processing headers payload of size [16,369]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
> HTTP header [:method], Value [GET]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
> HTTP header [:authority], Value [mdmsdev6.intranet.dow.com]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
> HTTP header [:scheme], Value [https]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
> HTTP header [:path], Value [/ebx-ui/rest/user/v1/current]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
> HTTP header [sec-ch-ua], Value ["Not/A)Brand";v="99", "Google
> Chrome";v="115", "Chromium";v="115"]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Stream.emitHeader Connection [1], Stream [23],
> HTTP header [accept], Value [application/json]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Connection
> error
> 	org.apache.coyote.http2.ConnectionException: Connection [1], Stream [23],
> Total header size too big
> 		at
> org.apache.coyote.http2.Http2Parser.readHeaderPayload(Http2Parser.java:454)
> 		at
> org.apache.coyote.http2.Http2Parser.readHeadersFrame(Http2Parser.java:253)
> 		at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:97)
> 		at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:69)
> 		at
> org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHan
> dler.java:334)
> 		at
> org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeP
> rocessorInternal.java:60)
> 		at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.jav
> a:59)
> 		at
> org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtoc
> ol.java:831)
> 		at
> org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.ja
> va:2075)
> 		at
> org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java
> :49)
> 		at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecu
> tor.java:1128)
> 		at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExec
> utor.java:628)
> 		at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.j
> ava:61)
> 		at java.base/java.lang.Thread.run(Thread.java:834)
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Stream.receiveReset Connection [1], Stream [23],
> Reset received due to [8]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.StreamStateMachine.stateChange Connection [1],
> Stream [23], State changed from [OPEN] to [CLOSED_RST_RX]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.WindowAllocationManager.notify Connection [1],
> Stream [23], Waiting type [0], Notify type [3]
> 10-Aug-2023 16:36:21.623 FINE [https-openssl-apr-443-exec-19]
> org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Exit,
> Connection [1], SocketState [CLOSED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org