https://bz.apache.org/bugzilla/show_bug.cgi?id=65426

            Bug ID: 65426
           Summary: HTTP2 Request is Stalled due to Exception on Tomcat.
                    (PING FRAME)
           Product: Tomcat 9
           Version: 9.0.43
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: bhavesh.mistr...@gmail.com
  Target Milestone: -----

Hi All,

I have been debugging HTTP2 stall connection by Chromium browser (Request is
being stalled).  During continuous requests, the chrome browser is stalling due
to a PING Request error as shown below the post.

t=486451 [st=312960] HTTP2_SESSION_CLOSE
--> description = "Failed ping."
--> net_error = -352 (ERR_HTTP2_PING_FAILED)
t=486452 [st=312961] HTTP2_SESSION_POOL_REMOVE_SESSION

Tomcat Version:   Apache Tomcat/9.0.43

Please refer to the following for more details:
https://groups.google.com/a/chromium.org/g/chromium-discuss/c/4u136_Sjo1c  
https://bugs.chromium.org/p/chromium/issues/detail?id=1225774 

For the PING Frame sometime, to request, it is failing to reply in timely
manner and after enabling FINE tracing on the tomcat I am able to get following
Exception:

       Exception in thread "https-jsse-nio-127.0.0.1-8443-exec-10"
java.lang.NullPointerException
        at
org.apache.coyote.http2.Http2UpgradeHandler.pruneClosedStreams(Http2UpgradeHandler.java:1249)
        at
org.apache.coyote.http2.Http2UpgradeHandler.createRemoteStream(Http2UpgradeHandler.java:1129)
        at
org.apache.coyote.http2.Http2UpgradeHandler.headersStart(Http2UpgradeHandler.java:1508)
        at
org.apache.coyote.http2.Http2AsyncUpgradeHandler.headersStart(Http2AsyncUpgradeHandler.java:40)
        at
org.apache.coyote.http2.Http2Parser.readHeadersFrame(Http2Parser.java:225)
        at
org.apache.coyote.http2.Http2AsyncParser$FrameCompletionHandler.completed(Http2AsyncParser.java:249)
        at
org.apache.coyote.http2.Http2AsyncParser$FrameCompletionHandler.completed(Http2AsyncParser.java:164)
        at
org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1087)
        at
org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper$NioOperationState.run(NioEndpoint.java:1598)
        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:829)

--
Could you please look into and why the failure is?  I would appreciate your
help in resolving this issue.


Thanks,

Bhavesh

-- 
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

Reply via email to