-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[BUG] Caching and BlobClient.DownloadAsync() Response x-ms-client-request-id does not match the original expected request id #24635
Comments
Thank you for your feedback. This has been routed to the support team for assistance. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage. Issue DetailsIn an .netFramework-Project with requestCaching activated the second time a blob is requested, a RequestFailedException is thrown. Azure.RequestFailedException: 'Response x-ms-client-request-id '3742a081-3d05-493e-9b97-c5cbcd70c659' does not match the original expected request id, '890534a7-43be-46b7-bcd0-f6c3e3cfef12'. if caching is deactivated it works fine.
Environment:
|
@simader We are doing investigation on the same. We will get back to you. |
@kasobol-msft Kamil could you please look at this? |
@simader Could you explain why would you want system.net cache to cache storage responses while using the SDK? Couple of thoughts why this might not be best idea. The Blob SDK (and other Storage SDKs) check if request id sent to service is replied back by the service in a policy that's applied to every request, see here. The caching mechanism present in .NET Framework hasn't been carried forward (see here). Usage of such a global cache can be source of many errors in the app. We recommend against using it. |
Hi @simader. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text “ |
Hello, |
In an .netFramework-Project with requestCaching activated the second time a blob is requested, a RequestFailedException is thrown.
Azure.RequestFailedException: 'Response x-ms-client-request-id '3742a081-3d05-493e-9b97-c5cbcd70c659' does not match the original expected request id, '890534a7-43be-46b7-bcd0-f6c3e3cfef12'.
if caching is deactivated it works fine.
Environment:
AzureBlobBug.zip
The text was updated successfully, but these errors were encountered: