Connection to pvoutput 'refused'


I am using the docker version of the Powerwall integration with the Service API. I am polling the Powerwall every 5 minutes and posting to every 2.5 minutes. I mostly works perfectly, but at times pvouput refuses the connection, usually for hours. this is a log of the behavior.

2019-06-11 22:57:01,043 INFO [Thread-1] ( - >>>
2019-06-11 22:57:01,110 INFO [Thread-1] ( - >>>
2019-06-11 22:57:36,020 INFO [Thread-0] ( - >>> 20190611,22:55,-1,-1,-1.0,566,-1000.0,119.9,-10,566.996,544.93,80.937,8.42
2019-06-11 22:57:36,021 INFO [Thread-0] ( - >>>,22:55,-1,-1,-1.0,566,-1000.0,119.9,-10,566.996,,544.93,80.937,8.42
2019-06-11 22:58:05,992 ERROR [Thread-0] ( - Connection Error: Connection to refused
2019-06-11 22:58

I am using the extended data and paid for the donation. I am calling 24 times per hour, so I am well below the thresholds.

Any idea why the connection is refused? Once it happens, it may last for 5-6 hours.


It wouldn’t be the server blocking requests, can you try running outside of docker or on another machine?


I currently have the same (or similar) issue: failed to open stream (timeout)

Never noticed this before so it might be unrelated. It started about 2 hours ago for me.


I have macs, so the docker solution is really the only one for me.

FYI, yesterday I changed the posting to from every 2.5 minutes to every 5 minutes, alternating posting consumption and solar generation. now shows new values every 10 minutes, and no errors. I’ll let it run for a while and see if the “refused” connection to pvoutput re-appear or not.