Cannot upload to azure Blob Storage: The remote server returned an error: (400) Bad Request

前端 未结 6 2139
星月不相逢
星月不相逢 2021-02-19 16:48

I\'m trying to create a utility to download file from the internet and upload it again to Azure blob storage. Blob containers already created well; But for some reason i\'m get

6条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-19 17:09

    I had the same problem. I resolved it by changing the TLS version in the configuration of the storage; the new TLS version (1.2) is not compatible with the older version of the storage client. I changed it to the 1.0 and it works.

    The configuration of the storage is in the portal of Azure.

    Storage -> Configuration -> TLS Version:

    storage configuration in portal

提交回复
热议问题