Hi, I had raised a question sometime back with respect to go away/stream errors : #2179
We fixed it with adding errorCodes to retry handler as mentioned in the doc: https://github.com/sindresorhus/got/blob/main/documentation/7-retry.md
errorCodes added for retries : ['ERR_HTTP2_STREAM_ERROR', 'ERR_HTTP2_GOAWAY_SESSION', 'NGHTTP2_REFUSED_STREAM']
Issue:
Retry is configured to happen after 5 seconds.
The above solution works in some cases while it doesn't for some APIs. The 3 behavior I encountered were as follows:
I'm using multiple APIs with GET,POST & PUT and the behavior is inconsistent in all the methods.
Solution required: What could be the approach to consistently retry when the stream/goAway error occurs with above errorCodes as stated.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too