home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.46k stars 30.69k forks source link

Enphase envoy frequent timeouts causes UI problems #62566

Closed bucky2076 closed 2 years ago

bucky2076 commented 2 years ago

The problem

In the log I get the following: Timeout fetching envoy Envoy data 2:20:00 AM – (ERROR) Enphase Envoy - message first occurred at December 21, 2021, 7:27:00 PM and shows up 65 times

These frequent timeout errors occurs every 4 min and 30 seconds, and causes the UI to display "Unavailable" against all enphase entities.

A reboot will see this work for a couple of minutes, but then goes into this unhappy timeout situation.

What version of Home Assistant Core has the issue?

2021.12.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

enphase envoy

Link to integration documentation on our website

https://www.home-assistant.io/integrations/enphase_envoy/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2021-12-22 16:20:44 ERROR (MainThread) [homeassistant.components.enphase_envoy] Timeout fetching envoy Envoy data
2021-12-22 16:24:14 ERROR (MainThread) [homeassistant.components.enphase_envoy] Timeout fetching envoy Envoy data
2021-12-22 16:32:44 ERROR (MainThread) [homeassistant.components.enphase_envoy] Timeout fetching envoy Envoy data
2021-12-22 16:35:14 ERROR (MainThread) [homeassistant.components.enphase_envoy] Timeout fetching envoy Envoy data
2021-12-22 16:38:44 ERROR (MainThread) [homeassistant.components.enphase_envoy] Timeout fetching envoy Envoy data
2021-12-22 16:48:14 ERROR (MainThread) [homeassistant.components.enphase_envoy] Timeout fetching envoy Envoy data
2021-12-22 16:50:44 ERROR (MainThread) [homeassistant.components.enphase_envoy] Timeout fetching envoy Envoy data

Additional information

I had my panels and controller installed a couple of months ago... so relatively new. The firmware is D5.0.50. The enphase web app works fine. The home assistant entities in the UI all show: "Entity is currently unavailable: sensor.envoy_current_power_production"

probot-home-assistant[bot] commented 2 years ago

enphase_envoy documentation enphase_envoy source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @gtdiehl, mind taking a look at this issue as it has been labeled with an integration (enphase_envoy) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

bucky2076 commented 2 years ago

I believe this timeout problem was caused when I put in the Squid forward proxy into my network. Squid has a 4 min timeout period, so looks like the likely culprit. Close this issue and will be more propitious in my use of forward proxies.