anclrii / Storj-Exporter

Prometheus exporter for monitoring Storj storage nodes
GNU General Public License v3.0
59 stars 19 forks source link

Read timeout errors. Server crashing. #71

Open MattJE9601 opened 1 year ago

MattJE9601 commented 1 year ago

My logs are full of warnings like this:

[WARNING]: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPConnectionPool(host='192.168.1.121', port=14001): Read timed out. (read timeout=10)")': /api/sno/

Even though I'm getting this it still pulls data successfully, but if I leave the exporter running (especially for many modes) it crashes my whole server. Is there a way to tune the timeout? Or any other suggestions now to fix this?

aldelsa commented 1 year ago

I just updated the code to increase that timeout #77