-
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] Azure Blob Storage Client SDK No Longer Supports Globalization Invariant Mode for Account Key Authentication #45052
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage. |
I ran into this as well.
InitEventHubProcessing truncated is
|
Yeah... just ran into this issue as well. Locally it runs fine because it's not running in invariant mode, but running on a Kubernetes cluster it throws this same exception. The error can be reproduced locally by setting the environment variable |
I also got the same issue after upgrading I was also able to reproduce the issue locally using Azurit after applying |
I also hit the same problem with
|
Thanks for bringing this to our attention. We're currently working on a fix to resolve this issue as soon as possible. Will update the issue once we have a fix in and when the next release will come out. |
Thank you very much!! |
Library name and version
Azure.Storage.Blobs 12.21.0
Describe the bug
After attempting to update
Azure.Storage.Blobs
to the latest version12.21.0
from12.20.0
, I noticed that my PR pipeline was failing. Upon inspection, I see that the application fails trying to load the typeStorageSharedKeyPipelinePolicy
:This regression at first glance appears to be related to this PR: https://github.com/Azure/azure-sdk-for-net/pull/43131/files#diff-2ca4e8d05dd448866d56400a1db672172908ed1d538cb52e4d177690ba9df139
I run my app within a dockerfile seen here. It uses the Mariner2.0 aspnet base image:
mcr.microsoft.com/dotnet/aspnet:8.0.7-cbl-mariner2.0-distroless-amd64@sha256:b5e3a7388a4f1ac750c502e9ce559a8c45e8ffa86162f95373aac57bc8c7b70d
. I suspect this package update will be a problem for anyone running on Mariner2.0 images by default as I can see it includes the environment variable"DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true"
.Expected behavior
The type
StorageSharedKeyPipelinePolicy
should continue to load successfully when Globalization Invariant Mode is enabled. This bug will affect applications that useAccountKey
(like Azurite) for authentication.Actual behavior
The type
StorageSharedKeyPipelinePolicy
fails to load when connecting to Azurite when Globalization Invariant Mode is enabled.Reproduction Steps
Running the snippet below with Azurite running should result in an
InvalidOperationException
. Be sure to enable "Globalization Invariant Mode." For example, thecsproj
can include the build property:<InvariantGlobalization>true</InvariantGlobalization>
Environment
No response
The text was updated successfully, but these errors were encountered: