https://bz.apache.org/bugzilla/show_bug.cgi?id=66255
Bug ID: 66255 Summary: Error state [CLOSE_NOW] on HTTP/2 connections Product: Tomcat 9 Version: 9.0.x Hardware: Other OS: Linux Status: NEW Severity: normal Priority: P2 Component: Connectors Assignee: dev@tomcat.apache.org Reporter: matafag...@yahoo.com Target Milestone: ----- I tried to use HTTP/2 protocol on my APP server running on the following environment Tomcat Version: Apache Tomcat/9.0.65 JVM Version: OpenJDK 1.8.0_342-8u342-b07-0ubuntu1~20.04-b07 OS Name: Ubuntu 20.04.5 LTS OS Version: 5.15.0-1017-aws OS Architecture: aarch64 And even with the following connector config <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" compression="on" overheadCountFactor="0" overheadContinuationThreshold="0" overheadDataThreshold="0" overheadWindowUpdateThreshold="0" readTimeout="2000000" /> Some connections are closed with org.apache.coyote.AbstractProcessor.setErrorState Error state [CLOSE_NOW] reported while processing request org.apache.coyote.CloseNowException: Connection [15], Stream [215], This stream is not writable at org.apache.coyote.http2.Stream.doStreamCancel(Stream.java:257) at org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:898) at org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:940) at org.apache.coyote.http2.Stream$StreamOutputBuffer.doWrite(Stream.java:859) at org.apache.coyote.http11.filters.GzipOutputFilter$FakeOutputStream.write(GzipOutputFilter.java:159) at java.util.zip.GZIPOutputStream.finish(GZIPOutputStream.java:168) at org.apache.coyote.http11.filters.GzipOutputFilter.end(GzipOutputFilter.java:126) at org.apache.coyote.http2.Http2OutputBuffer.end(Http2OutputBuffer.java:71) at org.apache.coyote.http2.StreamProcessor.finishResponse(StreamProcessor.java:230) at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:389) at org.apache.coyote.Response.action(Response.java:209) at org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:262) at org.apache.catalina.connector.Response.finishResponse(Response.java:443) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:391) at org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:426) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:87) at org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.coyote.http2.StreamException: Connection [15], Stream [215], This stream is not writable at org.apache.coyote.http2.Stream.doStreamCancel(Stream.java:249) ... 21 more I'm attaching the full Catalina log here. Thanks in advance for your time -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org