You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2021/07/03 01:02:46 UTC

[Bug 65426] New: HTTP2 Request is Stalled due to Exception on Tomcat. (PING FRAME)

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.mistry13@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65426] HTTP2 Request is Stalled due to Exception on Tomcat. (PING FRAME)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65426

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
PR not applied as it addressed a symptom rather than the root cause.

*** This bug has been marked as a duplicate of bug 65195 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 65426] HTTP2 Request is Stalled due to Exception on Tomcat. (PING FRAME)

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65426

Bhavesh <bh...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |critical

--- Comment #1 from Bhavesh <bh...@gmail.com> ---


The patch link with fix:

https://github.com/apache/tomcat/pull/431/commits/51e4ff8abc297d43103e8dcb39acbea18cdfefdd 


Thanks,

Bhavesh

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org