-
-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GOAWAY Error with http package (got) #2179
Comments
@mkaufmaner , your PR is still not merged and I'm working on a project which is on Production. I can only take the changes if it is deployed to Master in http2-wrapper. |
we had a quite bumpy ride to resolve this and finally we did this using the ref doc link: https://github.com/sindresorhus/got/blob/main/documentation/7-retry.md#errorcodes
So i believe there is no change needed in the package for handling this! |
@prabhatmishra33 While that does work, the point of this PR (szmarczak/http2-wrapper#90) is to avoid the error all together by handling the GOAWAY event gracefully. |
What would you like to discuss?
Hi, I'm getting "New streams cannot be created after receiving a GOAWAY" error when there is a good amount of load on the services. How to get rid of this issue and let services continue to create the streams.
Dependencies:
await got.post('url', { timeout: 10000, responseType: 'json',maxContentLength: Infinity, http2: true } );
Checklist
The text was updated successfully, but these errors were encountered: