Skip to content

ContainerClient.delete_blobs() fails with TLS version not matched #13183

@foobarna

Description

@foobarna
  • 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.

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions