-
Notifications
You must be signed in to change notification settings - Fork 148
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
connection string works in Azure Storage Explorer, but fails on some machines with azure-storage-cpp #243
Comments
Thanks for reporting the issue.
|
We have a connection string in the format Enabled logging (i.e. with On the failing machine we have:
I noticed that the string to sign is If we run
(it has been a "lucky" condition to spot this problem today, as the abbreviated month name in German is identical to the abbreviated month name in English for most of the month names: Jan, Feb, Apr, Jun, Jul, Aug, Sep, Nov) |
That is great! I am glad that you figured out the problem. I will mark this as a good first read in case locale mixed things up for other customers as well. Please proceed to close the issue if you don't mind. |
Are there any plans to fix this issue? It seems in order to fix this, the date string in the string-to-sign must be rendered in a non-localised way. |
CPPRestsdk has pushed a fix to the dev branch. Can you verify if it solves your problem? |
I have a C++ client application which connects to Azure Storage.
This is what I have in the Client class constructor:
On my machines (Ubuntu 16, macOS) it works fine.
On some other machines (Ubuntu 16, Ubuntu 18) it fails with an
azure::storage::storage_exception
:It seems it is not a problem of clock.
Also, on the machine where creating the client fails, the same connection string works in Microsoft Azure Storage Explorer.
The text was updated successfully, but these errors were encountered: