ateodorescu / home-assistant-ipmi

IPMI connector for Home Assistant
MIT License
36 stars 8 forks source link

upstream timed out #10

Closed mg361 closed 10 months ago

mg361 commented 10 months ago

Hello,

i'm getting timeouts:

2023/08/25 21:02:30 [error] 205#205: *34 upstream timed out (110: Operation timed out) while reading response header from upstream, client: 172.30.32.1, server: _, request: "GET /?host=192.168.178.140&port=623&user=&password= HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost:9595"

mg361 commented 10 months ago

I think i have fixed the problem. Changed init.py Line 91 the value from 10 to 60 async with async_timeout.timeout(60):

Seems to fix the timeouts for me

ateodorescu commented 10 months ago

I think i have fixed the problem. Changed init.py Line 91 the value from 10 to 60 async with async_timeout.timeout(60):

Seems to fix the timeouts for me

Great to hear that! You can either submit a PR or I can fix that in the code.

ateodorescu commented 10 months ago

fixed in https://github.com/ateodorescu/home-assistant-ipmi/releases/tag/v1.1.1