Azure / azure-sdk-for-cpp

This repository is for active development of the Azure SDK for C++. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-cpp.
MIT License
179 stars 128 forks source link

locale setting affects blobstorage connection #6085

Open xjsxujingsong opened 1 day ago

xjsxujingsong commented 1 day ago

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?

github-actions[bot] commented 1 day ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Jinming-Hu @microzchang @vinjiang.