Skip to content

locale setting affects blobstorage connection #6085

Open
@xjsxujingsong

Description

@xjsxujingsong

I can successfully build and use this library to connect blobstorage and upload files. But after updating locale settings in ubuntu docker container, it failed giving the following log

Status Code: 403, Reason Phrase: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature., 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:e4949b8d-e01e-004d-1b52-1a56d1000000
Time:2024-10-09T13:55:41.4478285Z
Request ID: e4949b8d-e01e-004d-1b52-1a56d1000000

What I changed

apt-get -y install locales
vim /etc/locale.gen
#enable en_US.UTF-8
locale-gen
update-locale en_US.UTF-8

When I changed it to "en_US.ISO-8859-15", the connection to blobstorage was successful.
I am guessing this is caused by the setting in the my blobstorage account?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ClientThis issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions