http2 connection resets not handled
See original GitHub issueWhat is your Scenario?
Using hammerhead with testcafe fails randomly with ERR_HTTP2_GOAWAY_SESSION errors if host supports http2. See https://github.com/DevExpress/testcafe/issues/6234 Before http2 support was added we did not see any network errors like this. So I suspect it is related to the new http2 integration.
What is the Current behavior?
Unhandled promise rejections if ERR_HTTP2_GOAWAY_SESSION was received. http2 session is not recreated and connection reset is not handled (unlike http1, see https://github.com/DevExpress/testcafe-hammerhead/blob/master/src/request-pipeline/connection-reset-guard.ts)
What is the Expected behavior?
Establish new connection to ensure further requests are working.
What is your public web site URL?
Your website URL (or attach your complete example):
Your complete app code (or attach your test files):
Screenshots:
Steps to Reproduce:
Running many testcafe tests against a server which handles http1 and http2 requests.
Your Environment details:
- node.js version:
- browser name and version:
- platform and version:
- other:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:19
Top GitHub Comments
I can confirm that with 1.15.2-rc.1 the issue does not occur anymore! Thanks! Looking forward to 1.15.2
If a release for this would be possible, I would highly appreciate it! This has been blocking us for quite some time 😃 If not, we’ll just wait until someone with write access has time 😃