-
Notifications
You must be signed in to change notification settings - Fork 2.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
Uploading blob with container client fails with auth error but succeeds with blob client when using Azure CDN #23163
Comments
Hi @JeffreyCA, thanks for reporting this. We will look into it and get back to you. |
Hi again @JeffreyCA, I have tried out your sample with an Azure CDN configured on a Storage Account and was not able to reproduce the auth error. Both the Is this a consistent or intermittent? Is there anything special (outside of default) configured on your Storage Account or CDN? I was testing with a pretty much default Storage Account and CDN configuration. Could you share a recent request id from a failed request? I can look at it on the service side to see if that reveals anything. (The more recent, the better, since the service logs roll over fairly quickly, ~2 days) |
Strange I cannot reproduce it anymore now, the uploads are succeeding again. My storage account is a Blob storage not the V2 one. I did manage to save one request:
|
Hi @JeffreyCA Jeffery, unfortunately the service logs for this request have rolled over (I did check soon after you provided it). Are you able to reproduce the issue again and provide another request id? Thanks |
No I'm not able to reproduce it anymore |
@JeffreyCA so the issue is no longer happening and requests to the CDN endpoint are working as expected now? If that is the case, I would probably say this was an intermittent issue with the service. Perhaps it took longer than expected for your CDN settings to take affect or there was a problem on the backend that got resolved. |
Looks like this may have been a service issue that recovered. I'm going to close this but please feel free to re-open if this reoccurs. Thanks. |
Describe the bug
I have an Azure Storage account that is configured with an Azure CDN. When using
BlobServiceClient
with the account URL set to an Azure CDN, uploading a file using the container client fails with an authentication error, while it succeeds when using a blob client.Both succeed when the account URL is set to the actual Storage Account URL.
To Reproduce
Steps to reproduce the behavior:
Authentication error
Expected behavior
The container client should upload the blob successfully.
The text was updated successfully, but these errors were encountered: