Skip to content
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

Add automatic retries to solve intermittent ECONNRESET #7583

Open
IchordeDionysos opened this issue Aug 22, 2024 · 0 comments
Open

Add automatic retries to solve intermittent ECONNRESET #7583

IchordeDionysos opened this issue Aug 22, 2024 · 0 comments

Comments

@IchordeDionysos
Copy link
Contributor

IchordeDionysos commented Aug 22, 2024

[REQUIRED] Environment info

firebase-tools: 12.5.4

Platform: macOS

[REQUIRED] Test case

Run firebase use prod in Bitrise CI.

[REQUIRED] Steps to reproduce

When running firebase use prod, we intermittently (though quite regularly) get a ECONNRESET error.

[REQUIRED] Expected behavior

The command passes without any issue, retrying any potential network resets or other intermittent and retryable requests.

[REQUIRED] Actual behavior

The request fails with the following error:

FetchError: Invalid response body while trying to fetch https://www.googleapis.com/oauth2/v4/token: read ECONNRESET
@joehan joehan self-assigned this Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants