Наш сервер приложений отклонен учетной записью хранения.
Мы сгенерировали правильный токен SAS и можем получить доступ к контейнеру в файле local. (докер, intelliJ, почтальон)
- WebbApp и учетная запись хранения находятся в одном месте (Германия, Западно-Центральная часть UTC+2).
- У нас есть стандартная подписка/план
- Ставим контейнеры в public.
- Мы устанавливаем IP-адрес для брандмауэра.
- Мы используем azure sdk java
Мы пытаемся вызвать службу Blob.
Мы получили сообщение об ошибке, когда приложение запускается на серверах Azure.
com.azure.storage.blob.models.BlobStorageException at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance
If you are using a SAS token, and the server returned an error message that says 'Signature did not match', you can compare the string to sign with the one generated by the SDK. To log the string to sign, pass in the context key value pair 'Azure-Storage-Log-String-To-Sign': true to the appropriate generateSas method call.
Please remember to disable 'Azure-Storage-Log-String-To-Sign' before going to production as this string can potentially contain PII.
Status code 403, "<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthorizationFailure</Code><Message>This request is not authorized to perform this operation.
RequestId:959d813f-601e-0057-262f-4351a4000000
Time:2021-05-07T10:53:45.0157340Z</Message></Error>"
ОБНОВЛЕНИЕ
Мы устанавливаем часовой пояс на UTC-0. Это решило нашу проблему. Подача выполняется в часовом поясе UTC-0.