What does “ERR_HTTP2_PING_FAILED” mean in Chrome error code?

谁都会走 提交于 2020-12-29 12:32:28

问题


That error message logged to the chrome console from a long-pending request after around 15 minutes.

It looks client-side error because server processing still worked.

I did not find any article related to this error message.

can any buddy let me know how to solve this issue?


回答1:


According to the chromium source I think it means that a spdy ping timed out.

...
    {net::ERR_EMPTY_RESPONSE, "http.response.empty"},
    {net::ERR_HTTP2_PING_FAILED, "spdy.ping_failed"},
    {net::ERR_HTTP2_PROTOCOL_ERROR, "spdy.protocol"},
...

Source https://chromium.googlesource.com/chromium/src/+/lkgr/components/domain_reliability/util.cc#48

Chrome sends such pings before and after a request.

Source https://groups.google.com/d/msg/spdy-dev/HFjAbFRd-N0/p-Edt-lneGsJ



来源:https://stackoverflow.com/questions/59450447/what-does-err-http2-ping-failed-mean-in-chrome-error-code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!