netenglabs / suzieq

Using network observability to operate and design healthier networks
https://www.stardustsystems.net/
Apache License 2.0
775 stars 105 forks source link

Node: fix `timeout` type error when using http as transport #955

Closed claudious96 closed 1 month ago

claudious96 commented 1 month ago

Description

Fix type error that appeared when using http as transport due to a breaking change in the aiohttp lib newest version.

Sample of the error:

[WORKER 0]: 2024-05-28 20:23:02,758 - suzieq.poller.worker.nodes.node - ERROR - Unable to connect to 10.1.2.3:443, error: timeout parameter cannot be of <class 'int'> type, please use 'timeout=ClientTimeout(...)'