tuya / tuya-iot-python-sdk

Tuya IoT Python SDK for Tuya Open API.
MIT License
130 stars 49 forks source link

Connection pool is full, discarding connection #15

Open fhempy opened 3 years ago

fhempy commented 3 years ago

Hi,

I get a lot of those messages in my log

2021-09-19 09:28:23,914 - WARNING  - urllib3.connectionpool: Connection pool is full, discarding connection: openapi.tuyaeu.com
2021-09-19 09:28:23,923 - WARNING  - urllib3.connectionpool: Connection pool is full, discarding connection: openapi.tuyaeu.com
2021-09-19 09:28:23,998 - WARNING  - urllib3.connectionpool: Connection pool is full, discarding connection: openapi.tuyaeu.com
2021-09-19 09:28:24,002 - WARNING  - urllib3.connectionpool: Connection pool is full, discarding connection: openapi.tuyaeu.com
2021-09-19 09:28:24,012 - WARNING  - urllib3.connectionpool: Connection pool is full, discarding connection: openapi.tuyaeu.com

Based on this https://github.com/home-assistant/core/issues/38903#issuecomment-884922953 the code needs to be adapted here https://github.com/tuya/tuya-iot-python-sdk/blob/master/tuya_iot/openapi.py#L69

Can you help me on this one? Thanks!

roshanabady commented 3 years ago

I'm experiencing the same issue. Not sure how to resolve it.

bartplessers commented 1 year ago

same issue here