CloseNowException: This stream is not writable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

CloseNowException: This stream is not writable

DevNull
Apache Tomcat Version 9.0.43


Hello

In an application showing hundreds of thumbnail images at the same time,
about a hundred thumbnails are loaded but the rest are not. Some posts
claim it may be due to the http2 connection closing due to too much
overhead.

I've tried to set overheadDataThreshold="0"  in server.xml but I see no
change in number of loaded images.

Is there any other configuration I should try?


I've tried running the same code in Jetty 10.0.1 and got it working by
increasing the http2 rate control limit.


Please see stacktrace and server.xml below.

Server side, I get exceptions for each thumbnail that is not loaded.
 From catalina.log:

09-Mar-2021 05:51:32.635 FINE [https-jsse-nio-443-exec-28]
org.apache.coyote.AbstractProcessor.setErrorState Error state
[CLOSE_NOW] reported while processing request
         org.apache.coyote.CloseNowException:
org.apache.coyote.http2.StreamException: Connection [{0}], Stream [{1}],
This stream is not writable
                 at
org.apache.coyote.http2.Stream$StreamOutputBuffer.end(Stream.java:941)
                 at
org.apache.coyote.http2.Http2OutputBuffer.end(Http2OutputBuffer.java:71)
                 at
org.apache.coyote.http2.StreamProcessor.finishResponse(StreamProcessor.java:209)
                 at
org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:389)
                 at
org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:429)
                 at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
                 at
org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:74)
                 at
org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
                 at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
                 at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
                 at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                 at java.base/java.lang.Thread.run(Thread.java:835)
         Caused by: org.apache.coyote.http2.StreamException: Connection
[{0}], Stream [{1}], This stream is not writable
                 at
org.apache.coyote.http2.Stream.doStreamCancel(Stream.java:247)
                 at
org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:856)
                 at
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:900)
                 at
org.apache.coyote.http2.Stream$StreamOutputBuffer.doWrite(Stream.java:819)
                 at
org.apache.coyote.http2.Http2OutputBuffer.doWrite(Http2OutputBuffer.java:59)
                 at org.apache.coyote.Response.doWrite(Response.java:601)
                 at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:339)
                 at
org.apache.catalina.connector.OutputBuffer.appendByteArray(OutputBuffer.java:746)
                 at
org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:675)
                 at
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:386)
                 at
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:364)
                 at
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
                 at
java.base/java.io.BufferedOutputStream.write(BufferedOutputStream.java:123)
                 at
skintaby.imgar.server.web.ImageArchiveServlet.getBinary(ImageArchiveServlet.java:460)
                 at
skintaby.imgar.server.web.ImageArchiveServlet.doGet(ImageArchiveServlet.java:127)
                 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
                 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
                 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
                 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
                 at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
                 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
                 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
                 at
org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
                 at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
                 at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
                 at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
                 at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
                 at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
                 at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
                 at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
                 at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
                 at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
                 at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
                 at
org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:404)
                 ... 7 more


server.xml:
<?xml version="1.0" encoding="UTF-8"?>
<Server port="8005" shutdown="SHUTDOWN">
   <Listener
className="org.apache.catalina.startup.VersionLoggerListener" />
   <Listener className="org.apache.catalina.core.AprLifecycleListener"
SSLEngine="on" />
   <Listener
className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
   <Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
   <Listener
className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />

   <Service name="Catalina">
     <Connector port="443"
protocol="org.apache.coyote.http11.Http11NioProtocol"
sslImplementationName="org.apache.tomcat.util.net.jsse.JSSEImplementation"
                maxThreads="150"
                SSLEnabled="true" >
       <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol"
                        overheadDataThreshold="0" />
       <SSLHostConfig honorCipherOrder="false">
         <Certificate certificateKeystoreFile ="keystore"
                      certificateKeystorePassword ="qwerty"/>
       </SSLHostConfig>
     </Connector>

     <Engine name="Catalina" defaultHost="localhost">
       <Host name="localhost"  appBase="webapps"
             unpackWARs="true" autoDeploy="true">
         <Valve className="org.apache.catalina.valves.AccessLogValve"
                directory="log"
                prefix="localhost_access_log"
                suffix=".txt"
                pattern="%h %l %u %t &quot;%r&quot; %s %b" />
       </Host>
     </Engine>
   </Service>
</Server>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: CloseNowException: This stream is not writable

markt
On 09/03/2021 20:57, DevNull wrote:

> Apache Tomcat Version 9.0.43
>
>
> Hello
>
> In an application showing hundreds of thumbnail images at the same time,
> about a hundred thumbnails are loaded but the rest are not. Some posts
> claim it may be due to the http2 connection closing due to too much
> overhead.
>
> I've tried to set overheadDataThreshold="0"  in server.xml but I see no
> change in number of loaded images.
>
> Is there any other configuration I should try?

Worth setting the other overhead* attributes listed at
http://tomcat.apache.org/tomcat-9.0-doc/config/http2.html to zero as well.

Un-commenting the HTTP/2 debug logging in
CATALINA_BASE/conf/logging.properties and re-testing might provide some
additional information.

Mark



> I've tried running the same code in Jetty 10.0.1 and got it working by
> increasing the http2 rate control limit.
>
>
> Please see stacktrace and server.xml below.
>
> Server side, I get exceptions for each thumbnail that is not loaded.
>  From catalina.log:
>
> 09-Mar-2021 05:51:32.635 FINE [https-jsse-nio-443-exec-28]
> org.apache.coyote.AbstractProcessor.setErrorState Error state
> [CLOSE_NOW] reported while processing request
>          org.apache.coyote.CloseNowException:
> org.apache.coyote.http2.StreamException: Connection [{0}], Stream [{1}],
> This stream is not writable
>                  at
> org.apache.coyote.http2.Stream$StreamOutputBuffer.end(Stream.java:941)
>                  at
> org.apache.coyote.http2.Http2OutputBuffer.end(Http2OutputBuffer.java:71)
>                  at
> org.apache.coyote.http2.StreamProcessor.finishResponse(StreamProcessor.java:209)
>
>                  at
> org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:389)
>                  at
> org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:429)
>                  at
> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
>
>                  at
> org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:74)
>                  at
> org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
>                  at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>
>                  at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>
>                  at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>
>                  at java.base/java.lang.Thread.run(Thread.java:835)
>          Caused by: org.apache.coyote.http2.StreamException: Connection
> [{0}], Stream [{1}], This stream is not writable
>                  at
> org.apache.coyote.http2.Stream.doStreamCancel(Stream.java:247)
>                  at
> org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:856)
>
>                  at
> org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:900)
>                  at
> org.apache.coyote.http2.Stream$StreamOutputBuffer.doWrite(Stream.java:819)
>                  at
> org.apache.coyote.http2.Http2OutputBuffer.doWrite(Http2OutputBuffer.java:59)
>
>                  at org.apache.coyote.Response.doWrite(Response.java:601)
>                  at
> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:339)
>
>                  at
> org.apache.catalina.connector.OutputBuffer.appendByteArray(OutputBuffer.java:746)
>
>                  at
> org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:675)
>                  at
> org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:386)
>
>                  at
> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:364)
>                  at
> org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
>
>                  at
> java.base/java.io.BufferedOutputStream.write(BufferedOutputStream.java:123)
>                  at
> skintaby.imgar.server.web.ImageArchiveServlet.getBinary(ImageArchiveServlet.java:460)
>
>                  at
> skintaby.imgar.server.web.ImageArchiveServlet.doGet(ImageArchiveServlet.java:127)
>
>                  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
>                  at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
>                  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
>
>                  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>
>                  at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
>                  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>
>                  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>
>                  at
> org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
>
>                  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>
>                  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>
>                  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
>
>                  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
>
>                  at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
>
>                  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
>
>                  at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
>
>                  at
> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
>
>                  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
>
>                  at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
>                  at
> org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:404)
>                  ... 7 more
>
>
> server.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <Server port="8005" shutdown="SHUTDOWN">
>    <Listener
> className="org.apache.catalina.startup.VersionLoggerListener" />
>    <Listener className="org.apache.catalina.core.AprLifecycleListener"
> SSLEngine="on" />
>    <Listener
> className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
>    <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
>    <Listener
> className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
>
>    <Service name="Catalina">
>      <Connector port="443"
> protocol="org.apache.coyote.http11.Http11NioProtocol"
> sslImplementationName="org.apache.tomcat.util.net.jsse.JSSEImplementation"
>                 maxThreads="150"
>                 SSLEnabled="true" >
>        <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol"
>                         overheadDataThreshold="0" />
>        <SSLHostConfig honorCipherOrder="false">
>          <Certificate certificateKeystoreFile ="keystore"
>                       certificateKeystorePassword ="qwerty"/>
>        </SSLHostConfig>
>      </Connector>
>
>      <Engine name="Catalina" defaultHost="localhost">
>        <Host name="localhost"  appBase="webapps"
>              unpackWARs="true" autoDeploy="true">
>          <Valve className="org.apache.catalina.valves.AccessLogValve"
>                 directory="log"
>                 prefix="localhost_access_log"
>                 suffix=".txt"
>                 pattern="%h %l %u %t &quot;%r&quot; %s %b" />
>        </Host>
>      </Engine>
>    </Service>
> </Server>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: CloseNowException: This stream is not writable

DevNull

On 2021-03-10 13:02, Mark Thomas wrote:

> On 09/03/2021 20:57, DevNull wrote:
>> Apache Tomcat Version 9.0.43
>>
>>
>> Hello
>>
>> In an application showing hundreds of thumbnail images at the same
>> time, about a hundred thumbnails are loaded but the rest are not.
>> Some posts claim it may be due to the http2 connection closing due to
>> too much overhead.
>>
>> I've tried to set overheadDataThreshold="0"  in server.xml but I see
>> no change in number of loaded images.
>>
>> Is there any other configuration I should try?
>
> Worth setting the other overhead* attributes listed at
> http://tomcat.apache.org/tomcat-9.0-doc/config/http2.html to zero as
> well.
>
> Un-commenting the HTTP/2 debug logging in
> CATALINA_BASE/conf/logging.properties and re-testing might provide
> some additional information.
>
> Mark
>
>
>
>> I've tried running the same code in Jetty 10.0.1 and got it working
>> by increasing the http2 rate control limit.
>>
>>
>> Please see stacktrace and server.xml below.
>>
>> Server side, I get exceptions for each thumbnail that is not loaded.
>>  From catalina.log:
>>
>> 09-Mar-2021 05:51:32.635 FINE [https-jsse-nio-443-exec-28]
>> org.apache.coyote.AbstractProcessor.setErrorState Error state
>> [CLOSE_NOW] reported while processing request
>>          org.apache.coyote.CloseNowException:
>> org.apache.coyote.http2.StreamException: Connection [{0}], Stream
>> [{1}], This stream is not writable
>>                  at
>> org.apache.coyote.http2.Stream$StreamOutputBuffer.end(Stream.java:941)
>>                  at
>> org.apache.coyote.http2.Http2OutputBuffer.end(Http2OutputBuffer.java:71)
>>                  at
>> org.apache.coyote.http2.StreamProcessor.finishResponse(StreamProcessor.java:209)
>>
>>                  at
>> org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:389)
>>                  at
>> org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:429)
>>                  at
>> org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
>>
>>                  at
>> org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:74)
>>                  at
>> org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
>>                  at
>> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
>>
>>                  at
>> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
>>
>>                  at
>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>
>>                  at java.base/java.lang.Thread.run(Thread.java:835)
>>          Caused by: org.apache.coyote.http2.StreamException:
>> Connection [{0}], Stream [{1}], This stream is not writable
>>                  at
>> org.apache.coyote.http2.Stream.doStreamCancel(Stream.java:247)
>>                  at
>> org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:856)
>>
>>                  at
>> org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:900)
>>                  at
>> org.apache.coyote.http2.Stream$StreamOutputBuffer.doWrite(Stream.java:819)
>>                  at
>> org.apache.coyote.http2.Http2OutputBuffer.doWrite(Http2OutputBuffer.java:59)
>>
>>                  at
>> org.apache.coyote.Response.doWrite(Response.java:601)
>>                  at
>> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:339)
>>
>>                  at
>> org.apache.catalina.connector.OutputBuffer.appendByteArray(OutputBuffer.java:746)
>>
>>                  at
>> org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:675)
>>                  at
>> org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:386)
>>
>>                  at
>> org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:364)
>>                  at
>> org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
>>
>>                  at
>> java.base/java.io.BufferedOutputStream.write(BufferedOutputStream.java:123)
>>                  at
>> skintaby.imgar.server.web.ImageArchiveServlet.getBinary(ImageArchiveServlet.java:460)
>>
>>                  at
>> skintaby.imgar.server.web.ImageArchiveServlet.doGet(ImageArchiveServlet.java:127)
>>
>>                  at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
>>                  at
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
>>                  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
>>
>>                  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>>
>>                  at
>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
>>                  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>>
>>                  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>>
>>                  at
>> org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
>>
>>                  at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
>>
>>                  at
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
>>
>>                  at
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
>>
>>                  at
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
>>
>>                  at
>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
>>
>>                  at
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
>>
>>                  at
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
>>
>>                  at
>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
>>
>>                  at
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
>>
>>                  at
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
>>                  at
>> org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:404)
>>                  ... 7 more
>>
>>
>> server.xml:
>> <?xml version="1.0" encoding="UTF-8"?>
>> <Server port="8005" shutdown="SHUTDOWN">
>>    <Listener
>> className="org.apache.catalina.startup.VersionLoggerListener" />
>>    <Listener
>> className="org.apache.catalina.core.AprLifecycleListener"
>> SSLEngine="on" />
>>    <Listener
>> className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
>>    <Listener
>> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
>> />
>>    <Listener
>> className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"
>> />
>>
>>    <Service name="Catalina">
>>      <Connector port="443"
>> protocol="org.apache.coyote.http11.Http11NioProtocol"
>> sslImplementationName="org.apache.tomcat.util.net.jsse.JSSEImplementation"
>>
>>                 maxThreads="150"
>>                 SSLEnabled="true" >
>>        <UpgradeProtocol
>> className="org.apache.coyote.http2.Http2Protocol"
>>                         overheadDataThreshold="0" />
>>        <SSLHostConfig honorCipherOrder="false">
>>          <Certificate certificateKeystoreFile ="keystore"
>>                       certificateKeystorePassword ="qwerty"/>
>>        </SSLHostConfig>
>>      </Connector>
>>
>>      <Engine name="Catalina" defaultHost="localhost">
>>        <Host name="localhost"  appBase="webapps"
>>              unpackWARs="true" autoDeploy="true">
>>          <Valve className="org.apache.catalina.valves.AccessLogValve"
>>                 directory="log"
>>                 prefix="localhost_access_log"
>>                 suffix=".txt"
>>                 pattern="%h %l %u %t &quot;%r&quot; %s %b" />
>>        </Host>
>>      </Engine>
>>    </Service>
>> </Server>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>

Hello Mark. thank you for replying.

Setting the other overhead* attributes to 0 made an improvement but it
did not go without exceptions. Loading 500 thumbnails made 484 load ok.
I get 17 exceptions:
2 are org.apache.coyote.CloseNowException:
org.apache.coyote.http2.StreamException: Connection [{0}], Stream [{1}],
This stream is not writable
15 are org.apache.coyote.CloseNowException:
org.apache.coyote.http2.StreamException: Client reset the stream before
the response was complete

In the browser console I get 16 errors similar to
Failed to load resource: net::ERR_CONNECTION_CLOSED
2013-12-24-20-10-27.jpg.thumb_s.jpg:1


Rerunning the searches, I sometimes get many more exceptions and
sometimes none at all.


Logging at fine level gets a large amount of log rows, I've tried to
filter out a single thread per exception and to get log rows before and
after the exception:

Connection [{0}], Stream [{1}], This stream is not writable:

13-Mar-2021 08:35:13.339 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Http2UpgradeHandler.doWriteHeaders Connection
[0], Stream [987], Writing the headers, EndOfStream [false]
13-Mar-2021 08:35:13.340 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [:status]
with value [200]
13-Mar-2021 08:35:13.340 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [date] with
value [Sat, 13 Mar 2021 07:35:12 GMT]
13-Mar-2021 08:35:13.340 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Http2UpgradeHandler.doWriteHeaders 30 bytes

13-Mar-2021 08:35:13.340 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush Connection [0],
Stream [987], flushing output with buffer at position [8192],
writeInProgress [true] and closed [false]
13-Mar-2021 08:35:13.340 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.AbstractStream.decrementWindowSize Connection
[0], Stream [987], reduce flow control window by [8192] to [6283264]
13-Mar-2021 08:35:13.341 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.AbstractStream.decrementWindowSize Connection
[0], Stream [0], reduce flow control window by [8192] to [43964]
13-Mar-2021 08:35:13.341 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Http2AsyncUpgradeHandler.writeBody Connection
[0], Stream [987], Data length [8192], EndOfStream [false]
... 4 rows repeated 6 times

13-Mar-2021 08:35:13.349 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.WindowAllocationManager.waitForConnection
Connection [0], Stream [987], Waiting for Connection flow control window
(blocking) with timeout [5000]
13-Mar-2021 08:35:18.349 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize Connection
[0], Stream [987], Timeout waiting for allocation

13-Mar-2021 08:35:18.349 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Stream.receiveReset Connection [0], Stream [11],
Reset received due to [8]
13-Mar-2021 08:35:18.350 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.StreamStateMachine.stateChange Connection [0],
Stream [11], State changed from [CLOSED_TX] to [CLOSED_RST_RX]
13-Mar-2021 08:35:18.351 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.WindowAllocationManager.notify Connection [0],
Stream [11], Waiting type [0], Notify type [3]
... 3 rows repeated 8 times

13-Mar-2021 08:35:18.372 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Stream.receiveReset Connection [0], Stream
[1017], Reset received due to [8]
13-Mar-2021 08:35:18.373 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.StreamStateMachine.stateChange Connection [0],
Stream [1017], State changed from [HALF_CLOSED_REMOTE] to [CLOSED_RST_RX]
13-Mar-2021 08:35:18.373 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.WindowAllocationManager.notify Connection [0],
Stream [1017], Waiting type [2], Notify type [3]
13-Mar-2021 08:35:18.373 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.WindowAllocationManager.notify Connection [0],
Stream [1017], Notified
... 4 rows repeated 15 times

13-Mar-2021 08:35:18.374 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush Connection [0],
Stream [987], flushing output with buffer at position [3004],
writeInProgress [false] and closed [true]
13-Mar-2021 08:35:18.374 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.AbstractProcessor.setErrorState Error state
[CLOSE_NOW] reported while processing request
     org.apache.coyote.CloseNowException: Connection [{0}], Stream
[{1}], This stream is not writable
         at org.apache.coyote.http2.Stream.doStreamCancel(Stream.java:255)
         at
org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:856)
         at
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:900)
         at
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:846)
         at
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:969)
         at
org.apache.coyote.http2.Http2OutputBuffer.flush(Http2OutputBuffer.java:77)
         at
org.apache.coyote.http2.StreamProcessor.flush(StreamProcessor.java:233)
         at
org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:402)
         at org.apache.coyote.Response.action(Response.java:209)
         at
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:305)
         at
org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:272)
         at
org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:118)
         at
java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:143)
         at
java.base/java.io.FilterOutputStream.close(FilterOutputStream.java:182)
         at
skintaby.imgar.server.web.ImageArchiveServlet.getBinary(ImageArchiveServlet.java:457)
         at
skintaby.imgar.server.web.ImageArchiveServlet.doGet(ImageArchiveServlet.java:127)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
         at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
         at
org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
         at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
         at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
         at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
         at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
         at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
         at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
         at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
         at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
         at
org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:404)
         at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
         at
org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:74)
         at
org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
         at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
         at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
         at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
         at java.base/java.lang.Thread.run(Thread.java:835)
     Caused by: org.apache.coyote.http2.StreamException: Connection
[{0}], Stream [{1}], This stream is not writable
         at org.apache.coyote.http2.Stream.doStreamCancel(Stream.java:247)
         ... 41 more
13-Mar-2021 08:35:18.392 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.AbstractProcessor.setErrorState Error state
[CLOSE_NOW] reported while processing request
     org.apache.coyote.CloseNowException:
org.apache.coyote.http2.StreamException: Connection [{0}], Stream [{1}],
This stream is not writable
         at
org.apache.coyote.http2.Stream$StreamOutputBuffer.end(Stream.java:941)
         at
org.apache.coyote.http2.Http2OutputBuffer.end(Http2OutputBuffer.java:71)
         at
org.apache.coyote.http2.StreamProcessor.finishResponse(StreamProcessor.java:209)
         at
org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:389)
         at
org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:423)
         at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
         at
org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:74)
         at
org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
         at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
         at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
         at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
         at java.base/java.lang.Thread.run(Thread.java:835)
     Caused by: org.apache.coyote.http2.StreamException: Connection
[{0}], Stream [{1}], This stream is not writable
         at org.apache.coyote.http2.Stream.doStreamCancel(Stream.java:247)
         at
org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:856)
         at
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:900)
         at
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:846)
         at
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:969)
         at
org.apache.coyote.http2.Http2OutputBuffer.flush(Http2OutputBuffer.java:77)
         at
org.apache.coyote.http2.StreamProcessor.flush(StreamProcessor.java:233)
         at
org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:402)
         at org.apache.coyote.Response.action(Response.java:209)
         at
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:305)
         at
org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:272)
         at
org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:118)
         at
java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:143)
         at
java.base/java.io.FilterOutputStream.close(FilterOutputStream.java:182)
         at
skintaby.imgar.server.web.ImageArchiveServlet.getBinary(ImageArchiveServlet.java:457)
         at
skintaby.imgar.server.web.ImageArchiveServlet.doGet(ImageArchiveServlet.java:127)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
         at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
         at
org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
         at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
         at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
         at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
         at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
         at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
         at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
         at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
         at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
         at
org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:404)
         ... 7 more
13-Mar-2021 08:35:18.400 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.AbstractProcessorLight.process Socket:
[org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@4b03f411:Closed
NioChannel], Status in: [OPEN_READ], State out: [CLOSED]
13-Mar-2021 08:35:18.402 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Stream.close Connection [0], Stream [987], Reset
sent due to [STREAM_CLOSED]
13-Mar-2021 08:35:18.417 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.WindowAllocationManager.notify Connection [0],
Stream [987], Waiting type [0], Notify type [3]
13-Mar-2021 08:35:18.432 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Http2AsyncUpgradeHandler.sendStreamReset
Connection [0], Stream [987], Error [STREAM_CLOSED], Message [Connection
[{0}], Stream [{1}], This stream is not writable], RST (closing stream)
13-Mar-2021 08:35:18.438 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Stream.recycle Connection [0], Stream [987] has
been recycled
13-Mar-2021 08:35:20.453 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Http2UpgradeHandler.doWriteHeaders Connection
[1], Stream [11], Writing the headers, EndOfStream [false]
13-Mar-2021 08:35:20.454 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [:status]
with value [200]
13-Mar-2021 08:35:20.454 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [date] with
value [Sat, 13 Mar 2021 07:35:20 GMT]
13-Mar-2021 08:35:20.455 FINE [https-jsse-nio-443-exec-7]
org.apache.coyote.http2.Http2UpgradeHandler.doWriteHeaders 30 bytes

----

Client reset the stream before the response was complete:

13-Mar-2021 08:35:12.433 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Http2UpgradeHandler.doWriteHeaders Connection
[0], Stream [951], Writing the headers, EndOfStream [false]
13-Mar-2021 08:35:12.434 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [:status]
with value [200]
13-Mar-2021 08:35:12.436 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [date] with
value [Sat, 13 Mar 2021 07:35:11 GMT]
13-Mar-2021 08:35:12.436 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Http2UpgradeHandler.doWriteHeaders 30 bytes

13-Mar-2021 08:35:12.436 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush Connection [0],
Stream [951], flushing output with buffer at position [8192],
writeInProgress [true] and closed [false]
13-Mar-2021 08:35:12.437 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.AbstractStream.decrementWindowSize Connection
[0], Stream [951], reduce flow control window by [8192] to [6283264]
13-Mar-2021 08:35:12.437 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.AbstractStream.decrementWindowSize Connection
[0], Stream [0], reduce flow control window by [8192] to [2005685]
13-Mar-2021 08:35:12.437 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Http2AsyncUpgradeHandler.writeBody Connection
[0], Stream [951], Data length [8192], EndOfStream [false]
... 4 rows repeated 10 times

13-Mar-2021 08:35:12.450 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush Connection [0],
Stream [951], flushing output with buffer at position [0],
writeInProgress [false] and closed [true]
13-Mar-2021 08:35:12.451 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Http2AsyncUpgradeHandler.writeBody Connection
[0], Stream [951], Data length [0], EndOfStream [true]
13-Mar-2021 08:35:12.451 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.StreamStateMachine.stateChange Connection [0],
Stream [951], State changed from [HALF_CLOSED_REMOTE] to [CLOSED_TX]
13-Mar-2021 08:35:12.451 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.AbstractProcessorLight.process Socket:
[org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@4b03f411:org.apache.tomcat.util.net.SecureNioChannel@65871a35:java.nio.channels.SocketChannel[connected
local=/127.0.0.1:443 remote=/127.0.0.1:53154]], Status in: [OPEN_READ],
State out: [CLOSED]
13-Mar-2021 08:35:12.452 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Stream.recycle Connection [0], Stream [951] has
been recycled
13-Mar-2021 08:35:13.420 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Http2UpgradeHandler.doWriteHeaders Connection
[0], Stream [991], Writing the headers, EndOfStream [false]
13-Mar-2021 08:35:13.420 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [:status]
with value [200]
13-Mar-2021 08:35:13.421 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [date] with
value [Sat, 13 Mar 2021 07:35:12 GMT]
13-Mar-2021 08:35:13.421 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Http2UpgradeHandler.doWriteHeaders 30 bytes
13-Mar-2021 08:35:13.421 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush Connection [0],
Stream [991], flushing output with buffer at position [8192],
writeInProgress [true] and closed [false]
13-Mar-2021 08:35:13.422 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.AbstractStream.decrementWindowSize Connection
[0], Stream [991], reduce flow control window by [8192] to [6283264]
13-Mar-2021 08:35:13.422 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.WindowAllocationManager.waitForConnection
Connection [0], Stream [991], Waiting for Connection flow control window
(blocking) with timeout [5000]
13-Mar-2021 08:35:18.357 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush Connection [0],
Stream [991], flushing output with buffer at position [0],
writeInProgress [false] and closed [true]
13-Mar-2021 08:35:18.358 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Http2AsyncUpgradeHandler.writeBody Connection
[0], Stream [991], Data length [0], EndOfStream [true]
13-Mar-2021 08:35:18.392 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.AbstractProcessor.setErrorState Error state
[CLOSE_NOW] reported while processing request
     org.apache.coyote.CloseNowException:
org.apache.coyote.http2.StreamException: Client reset the stream before
the response was complete
         at
org.apache.coyote.http2.Stream$StreamOutputBuffer.end(Stream.java:941)
         at
org.apache.coyote.http2.Http2OutputBuffer.end(Http2OutputBuffer.java:71)
         at
org.apache.coyote.http2.StreamProcessor.finishResponse(StreamProcessor.java:209)
         at
org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:389)
         at
org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:429)
         at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
         at
org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:74)
         at
org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35)
         at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
         at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
         at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
         at java.base/java.lang.Thread.run(Thread.java:835)
     Caused by: org.apache.coyote.http2.StreamException: Client reset
the stream before the response was complete
         at org.apache.coyote.http2.Stream.doStreamCancel(Stream.java:247)
         at
org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:934)
         at
org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:900)
         at
org.apache.coyote.http2.Stream$StreamOutputBuffer.doWrite(Stream.java:819)
         at
org.apache.coyote.http2.Http2OutputBuffer.doWrite(Http2OutputBuffer.java:59)
         at org.apache.coyote.Response.doWrite(Response.java:601)
         at
org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:339)
         at
org.apache.catalina.connector.OutputBuffer.appendByteArray(OutputBuffer.java:746)
         at
org.apache.catalina.connector.OutputBuffer.append(OutputBuffer.java:675)
         at
org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:386)
         at
org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:364)
         at
org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:96)
         at
java.base/java.io.BufferedOutputStream.write(BufferedOutputStream.java:123)
         at
skintaby.imgar.server.web.ImageArchiveServlet.getBinary(ImageArchiveServlet.java:460)
         at
skintaby.imgar.server.web.ImageArchiveServlet.doGet(ImageArchiveServlet.java:127)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:626)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
         at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
         at
org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
         at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
         at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
         at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
         at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
         at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
         at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
         at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
         at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:687)
         at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
         at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346)
         at
org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:404)
         ... 7 more
13-Mar-2021 08:35:18.397 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.AbstractProcessorLight.process Socket:
[org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@4b03f411:Closed
NioChannel], Status in: [OPEN_READ], State out: [CLOSED]
13-Mar-2021 08:35:18.428 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Stream.close Connection [0], Stream [991], Reset
sent due to [STREAM_CLOSED]
13-Mar-2021 08:35:18.432 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.WindowAllocationManager.notify Connection [0],
Stream [991], Waiting type [0], Notify type [3]
13-Mar-2021 08:35:18.438 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Http2AsyncUpgradeHandler.sendStreamReset
Connection [0], Stream [991], Error [STREAM_CLOSED], Message [Client
reset the stream before the response was complete],  RST (closing stream)
13-Mar-2021 08:35:18.439 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Stream.recycle Connection [0], Stream [991] has
been recycled
13-Mar-2021 08:35:20.015 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Stream$StreamInputBuffer.doRead The Stream input
buffer is empty. Waiting for more data
13-Mar-2021 08:35:20.375 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Stream$StreamInputBuffer.doRead Copying [28]
bytes from inBuffer to outBuffer
13-Mar-2021 08:35:20.377 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Http2UpgradeHandler.doWriteHeaders Connection
[1], Stream [15], Writing the headers, EndOfStream [false]
13-Mar-2021 08:35:20.377 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [:status]
with value [200]
13-Mar-2021 08:35:20.378 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header
[cache-control] with value [no-cache, no-store]
13-Mar-2021 08:35:20.378 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [pragma]
with value [no-cache]
13-Mar-2021 08:35:20.378 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [expires]
with value [-1]
13-Mar-2021 08:35:20.378 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header
[content-type] with value [application/json;charset=UTF-8]
13-Mar-2021 08:35:20.379 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header
[content-language] with value [se]
13-Mar-2021 08:35:20.384 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header
[content-length] with value [41]
13-Mar-2021 08:35:20.384 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.HpackEncoder.encode Encoding header [date] with
value [Sat, 13 Mar 2021 07:35:20 GMT]
13-Mar-2021 08:35:20.384 FINE [https-jsse-nio-443-exec-11]
org.apache.coyote.http2.Http2UpgradeHandler.doWriteHeaders 96 bytes



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]