Python Forum

Full Version: I got "Unclosed connector" when I tried to connect to my ewelink device
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everybody,

I have a script that works well till two days ago.

This script is used to check a smart wifi switch (SONOFF BASIC device) wich is connected to my wifi.

For the connection I'm using ewelink library from here:
https://github.com/AceExpert/ewelink-api-python

Starting from few days ago I got this error:

Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7d10c2e323c0>
Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7d10c1d06630>, 49865.666453087)]']
connector: <aiohttp.connector.TCPConnector object at 0x7d10c1d15cd0>
I also tried to connect to other devices but without luck.

how can I solve this "unclosed connector"? I have no instances running.

I'm sorry but I don't have a clue.

Thanks in advance
I'm so happy that I found out about your website, it's really good and makes me very interested in its content, besides it's also very useful to me. I feel very happy about this. And next I also want to share with everyone about a website that I know, I think it is suitable for everyone and I am sure they will like it as much as I do.