solaredgeoptimizers icon indicating copy to clipboard operation
solaredgeoptimizers copied to clipboard

Error: Connection aborted.', RemoteDisconnected('Remote end closed connection without response')

Open bbird8 opened this issue 2 years ago • 7 comments

I recently get connection errors, indicated in the log as

`This error originated from a custom integration.

Logger: custom_components.solaredgeoptimizers.sensor Source: custom_components/solaredgeoptimizers/sensor.py:178 Integration: SolarEdge Optimizers Data (documentation, issues) First occurred: 08:01:23 (2 occurrences) Last logged: 12:22:44

('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))`

followed by:

`This error originated from a custom integration.

Logger: custom_components.solaredgeoptimizers.sensor Source: helpers/update_coordinator.py:182 Integration: SolarEdge Optimizers Data (documentation, issues) First occurred: 08:01:23 (2 occurrences) Last logged: 12:22:44

Error fetching SolarEdgeOptimizer data: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))`

Sometimes it's working after a few minutes again, sometimes not working until I restart HA. Any idea?


Home Assistant 2023.3.6 Supervisor 2023.03.3 Operating System 9.5 Frontend 20230309.1 - latest

bbird8 avatar Apr 04 '23 10:04 bbird8

Having the same issue.

arjanhs avatar Apr 04 '23 11:04 arjanhs

Me too

thesilentmiaow avatar Apr 08 '23 16:04 thesilentmiaow

Yep, same here. Home Assistant 2023.4.1 (Docker)

Foxhill67 avatar Apr 09 '23 08:04 Foxhill67

i've had also the same issue. But i fear it has something to do at the other end, at solaredge. the web request fails because of a error/timeout at there end. Only solution would be to make it that if a request fails, it will try again. I will try to see if a can make that, but it wont be any time soon, i'm now on holiday and cant acces my dev.

ProudElm avatar Apr 24 '23 13:04 ProudElm

Have a look at https://github.com/gjdv/packaging_solaredgeoptimizers/commit/df94fc124ac08068038e36611309e49683c8f6be It dramatically reduced the errors for me. Let me know if you'd like me to wrap it in a pull request. Happy to do so

gjdv avatar Apr 24 '23 15:04 gjdv

hi, i will try it out but yes, put in a PR :)

ProudElm avatar Jul 06 '23 13:07 ProudElm

As per request: https://github.com/ProudElm/packaging_solaredgeoptimizers/pull/11

Doesn't cover all issues caused by the SE portal being instable, but as said, reduces problems a lot

gjdv avatar Jul 06 '23 13:07 gjdv