Connection to pvoutput 'refused'


#1

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 pvoutput.org 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] (WebClient.java:243) - >>> https://192.168.7.246:443/api/meters/aggregates
2019-06-11 22:57:01,110 INFO [Thread-1] (WebClient.java:155) - >>> https://192.168.7.246/api/system_status/soe
2019-06-11 22:57:36,020 INFO [Thread-0] (Controller.java:1806) - >>> 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] (WebClient.java:133) - >>> http://pvoutput.org:80/service/r2/addbatchstatus.jsp?data=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:58:05,992 ERROR [Thread-0] (Controller.java:1875) - Connection Error: Connection to http://pvoutput.org:80 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.


#2

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


#3

I currently have the same (or similar) issue:

http://pvoutput.org/service/r2/addstatus.jsp): failed to open stream (timeout)

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


#4

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

FYI, yesterday I changed the posting to pvoutput.org from every 2.5 minutes to every 5 minutes, alternating posting consumption and solar generation. Pvoutput.org 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.