-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
arm-storage fails to handle retry headers #7989
Comments
Create an issue for codegen team to fix this issue: Azure/autorest.typescript#597 |
I've worked around this by:
I now realize this may be a problem better reported to FWIW, the API answers a |
Thank you @aiwilliams for your information. Will involve service team to check if service can return a time. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage. |
This issue depends on Azure/ms-rest-js#394 being fixed |
As Azure/ms-rest-js#394 fixed and the package released, please use this new feature in the latest |
Describe the bug
When a
429
response is returned from a resource list endpoint, theDeserializationPolicy
will throw aRestError
so theThrottlingRetryPolicy
never gets a chance to try again.listOperationSpec
only support tworesponses
:To Reproduce
Steps to reproduce the behavior:
StorageManagementClient
and fire off a couple hundredPromise
s that invokeclient.storageAccounts.list()
. AppConfigurationClient does not retry when a request is throttled #6408 provides a good example.Expected behavior
A
429
response should be retried, not cause theDeserializationPolicy
to kill the policy chain.The text was updated successfully, but these errors were encountered: