ContainerClient.delete_blobs() fails with TLS version not matched
See original GitHub issue- Package Name: azure-storage-blob
- Package Version: 12.4.0
- Operating System: Does not matter
- Python Version: 3.6.11
Describe the bug
When invoking container.delete_blobs(‘path/to/blob’) the code throws PartialBatchErrorException
with “The TLS version of the connection is not permitted on this storage account.”.
The methods container.download_blob('path/to/blob')
and container.delete_blob('path/to/blob')
are successful.
To Reproduce Steps to reproduce the behavior:
credential = ClientSecretCredential(.....)
blob_client = BlobServiceClient(account_url=account_url, credential=credential)
container = blob_client.get_container_client('some_container_name')
container.delete_blobs('path/to/blob1', 'path/to/blob2')
Expected behavior To delete the blobs.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context The storage account is set to minimum TLS version 1.0.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:13 (6 by maintainers)
Top Results From Across the Web
azure.storage.blob.ContainerClient class | Microsoft Learn
Returns a generator to list the blobs under the specified container whose tags match the given search expression. The generator will lazily follow...
Read more >Blobserviceclient' Object Has No Attribute 'Ls_Files' - ADocLib
ContainerClient.delete_blobs() fails with TLS version not matched. Package Name: azure-storage-blob; Package Version: 12.4.0; Operating. from azure.storage.blob ...
Read more >Azure Storage PDF - Scribd
If the files created are no longer needed, you use the deleteBlob() method to delete the files. // Delete blob. echo "Deleting Blob"....
Read more >下載 Patch 檔 - Gitea
azure-storage-blob-go/azblob/version.go | 2 +- . ... means the given customer specified encryption does not match the encryption used to encrypt the blob.
Read more >internal, vendor: update Azure blobstore API
No known key found for this signature in database ... BlobItem) error { ... vendor/github.com/Azure/azure-pipeline-go/pipeline/version.go generated vendored.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @foobarna we will now close this issue. Let us know if anything else comes up. Thank you.
I can confirm that the
.detele_blobs()
method now works with no modification on the code/library version nor Azure Blob Storage account.