Start in initial setup: certificate issue?

I am new to PVOutput today. I am trying to configure my powerwall and solar setup. The service runs but I have an error which repeats every 30 seconds and I think no data is being collected.

Advice badly needed please!

here is the error from the log:

2019-02-25 22:39:57,409 INFO [Thread-2] ( - >>>
2019-02-25 22:39:57,425 ERROR [Thread-2] ( - Http Error peer not authenticated
at Source)
at org.apache.http.conn.ssl.AbstractVerifier.verify(
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(
at org.apache.http.impl.client.DefaultRequestDirector.execute(
at org.apache.http.impl.client.AbstractHttpClient.execute(
at org.apache.http.impl.client.AbstractHttpClient.execute(
at org.pvoutput.integration.reader.AHttpLogReader$ASimpleLogFileWriter.get(
at org.pvoutput.integration.reader.AHttpLogReader$

In the config file, try changing the ‘aggregates’ URL to ‘https’ at the beginning instead of ‘http’. The PW2 now uses a security certificate (albeit a badly borked one) and needs secure http.


Thank you - exactly what it needed. If anyone is amending the install notes in future, it would be worth adding this as others as naïve as me may fall into the same hole.
The error with the certificate is that it is issued for the wrong address as well as I think being untrusted so as you say, a right messed up certificate!

1 Like

Yup - we all spent much time diagnosing this when they added the certificate in a firmware update in June last year, and broke all the world’s monitoring until people added the https - and then tickled an obscure PVO bug that prevented the ‘charge %’ from being retreived for another month of hair-pulling. For amusement if nothing else, check through the thread of the time at Tesla Powerwall2 data to PVoutput?. Less than a year ago, seems like ages.:grinning: