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

Azure retry on result timeout / server busy #950

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

eujing
Copy link
Contributor

@eujing eujing commented Feb 11, 2025

Pull Request

Azure retry on result timeout / server busy

This fixes a small issue where Azure ARM requests could intermittently fail if the corresponding control plane is too busy.


Description

This manifests as a HTTP 503 response code, with a message like:

ERROR Response: <Response [503]> :: {"error":{"code":"ServerTimeout","message":"The request timed out. Diagnostic information: timestamp '20250209T125446Z', subscription id '...', tracking id '...', request correlation id '...'."}}

According to the official docs, these responses indicate the request should be retried: https://learn.microsoft.com/en-us/rest/api/storageservices/common-rest-api-error-codes


Type of Change

  • 🛠️ Bug fix

Testing

Manual testing, fix that we have been using for a while in experiments but have not merged yet.


Additional Notes (optional)


@eujing eujing requested a review from a team as a code owner February 11, 2025 23:06
@motus motus enabled auto-merge (squash) February 11, 2025 23:22
@motus motus merged commit d168d87 into microsoft:main Feb 11, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants