aiohttp SecretClient not closing session. #16757
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Docs
KeyVault
Milestone
Describe the bug
When running is Azure Functions, after using the aio SecretClient's context manager, I receive the following error:
Unclosed connector connections: [[(<aiohttp.client_proto.ResponseHandler object at 0x7f274ad97e80>, 1654.2421122)]] connector: <aiohttp.connector.TCPConnector object at 0x7f274adc00d0>
I am aware this bug was "fixed" here: #8990
I have followed the instructions here: https://docs.microsoft.com/en-us/python/api/overview/azure/keyvault-keys-readme?view=azure-python#async-api
To Reproduce
Steps to reproduce the behavior:
func start
or in a deployed Azure FunctionExpected behavior
Azure function success.
Actual behavior
I get the following error after execution:
Screenshots
The text was updated successfully, but these errors were encountered: