PVOutput Integration Service Errors - PW2 authentication & Java wrapper

I recently changed computers and set up the PVOutput Integration Service to monitor my Powerwall2 as I did on my previous computer. However, nothing is uploading and I am getting the following errors:

  1. In the PVOutput.log, I appear to have an authentication error with the PW2. The credentials are correct and I have connected other third-party apps (ChargeHQ and Powerwall Companion) using these credentials. I have tried editing the .ini file using both HTTP and HTTPS but still cannot connect. My log file shows the following:

2024-03-27 11:30:34,873 INFO [WrapperListener_start_runner] (Controller.java:109) - *** Starting PVOutput Integration Service v1.5.5.1
2024-03-27 11:30:34,873 INFO [Thread-1] (Controller.java:130) - Install Directory: C:\Program Files (x86)\PVOutput
2024-03-27 11:30:34,873 INFO [Thread-1] (Controller.java:139) - Loaded Config: pvoutput.ini
2024-03-27 11:30:37,191 INFO [Thread-1] (WebClient.java:135) - >>> http://pvoutput.org:80/service/r2/getsystem.jsp?donations=1
2024-03-27 11:30:37,612 INFO [Thread-1] (Controller.java:2136) - <<< The $un God,19095,2155,57,335,LG Neon 2 LG335N1C-A5,1,10000,SMA Tripower STP10000TL-20,NW,26.6,No,20180410,-33.703416,150.946875,5;;1
2024-03-27 11:30:39,626 INFO [Thread-1] (WebClient.java:135) - >>> http://pvoutput.org:80/service/r1/getstatus.jsp?d=20240327
2024-03-27 11:30:40,009 INFO [Thread-1] (Controller.java:2050) - <<< 20240327,10:20,14365,9913,42532,2360,0.519
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:323) - --------------------------
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:324) - System Name: The $un God
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:325) - System Size: 19095
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:326) - Timezone: Australia/Sydney
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:327) - Donation Mode: true
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:328) - Max History: 90
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:329) - Status Interval: 5-min
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:330) - Status Date Time: Wed Mar 27 10:20:00 AEDT 2024
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:331) - Upload Temperature: true
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:332) - Upload Voltage: true
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:333) - Energy Generation: 14365
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:334) - Energy Consumption: 42532
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:335) - Create Local Graph: false
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:336) - Retry Limit: 30 to 40
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:337) - --------------------------
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:372) - Loaded Reader 1: powerwall
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:373) - Log Directory 1: [D:\Users\xxx\PVRecords\Logs]
2024-03-27 11:30:40,011 INFO [Thread-1] (Controller.java:384) - Loading Config 1: powerwall.ini
2024-03-27 11:30:40,011 INFO [Thread-1] (SimpleLogReader.java:428) - Read 0 log entries
2024-03-27 11:30:40,011 INFO [Thread-1] (AHttpLogReader.java:90) - URL 1: https://192.168.1.206/api/meters/aggregates
2024-03-27 11:30:40,011 INFO [Thread-1] (AHttpLogReader.java:107) - Poll Frequency: 30 seconds
2024-03-27 11:30:40,011 INFO [Thread-1] (AHttpLogReader.java:129) - v7 mapped: battery.instant_power
2024-03-27 11:30:40,011 INFO [Thread-1] (AHttpLogReader.java:135) - v8 mapped: load.instant_power
2024-03-27 11:30:40,011 INFO [Thread-1] (AHttpLogReader.java:141) - v9 mapped: solar.energy_exported
2024-03-27 11:30:40,011 INFO [Thread-1] (AHttpLogReader.java:147) - v10 mapped: site.instant_apparent_power
2024-03-27 11:30:40,011 INFO [Thread-1] (AHttpLogReader.java:153) - v11 mapped: SOC
2024-03-27 11:30:40,011 INFO [Thread-1] (AHttpLogReader.java:159) - v12 mapped: solar.instant_power
2024-03-27 11:30:40,018 INFO [Thread-1] (AHttpLogReader.java:204) - Id: 0, sensor: 0, channels: [], direction: Import, calibration: 1.0
2024-03-27 11:30:40,018 INFO [Thread-1] (ADataLogReader.java:350) - Output stop at 1170 minutes
2024-03-27 11:30:40,018 INFO [Thread-2] (WebClient.java:226) - >>> https://192.168.1.206/api/login/Basic
2024-03-27 11:30:40,018 INFO [Thread-1] (Controller.java:435) - Found 1 Sensors
2024-03-27 11:30:40,018 INFO [Thread-1] (Controller.java:536) - Added Reader: powerwall0
2024-03-27 11:30:40,018 INFO [Thread-1] (ADataLogReader.java:350) - Output stop at 1170 minutes
2024-03-27 11:30:40,018 INFO [Thread-1] (Controller.java:560) - Log File: powerwall0 [PW0-2024-03-27.log]
2024-03-27 11:30:40,018 INFO [Thread-1] (Controller.java:566) - Import Sensor: 0, id: 0
2024-03-27 11:30:40,022 INFO [Thread-1] (Controller.java:579) - Service: [http://pvoutput.org:80/service/r2/addbatchstatus.jsp] Test: false, End: 19:30
2024-03-27 11:30:40,022 INFO [Thread-1] (Controller.java:587) - Loaded 1 Readers (Import: 1, Export: 0)
2024-03-27 11:30:41,588 WARN [Thread-2] (DefaultRequestDirector.java:1095) - Authentication error: Unable to respond to any of these challenges: {}
2024-03-27 11:30:41,588 ERROR [Thread-2] (WebClient.java:298) - <<< [401] {“code”:401,“error”:“bad credentials”,“message”:“Login Error”}
2024-03-27 11:30:41,588 WARN [Thread-2] (PowerwallLogReader.java:77) - Failed gateway authentication
2024-03-27 11:30:41,588 INFO [Thread-2] (WebClient.java:356) - >>> https://192.168.1.206:443/api/meters/aggregates
2024-03-27 11:30:41,707 ERROR [Thread-2] (AHttpLogReader.java:472) - <<< [403] {“code”:403,“error”:“Unable to GET to resource”,“message”:“User does not have adequate access rights”}
2024-03-27 11:30:42,033 INFO [Thread-1] (Controller.java:731) - Startup Complete: Waiting for data…
2024-03-27 11:31:11,710 INFO [Thread-2] (WebClient.java:226) - >>> https://192.168.1.206/api/login/Basic
2024-03-27 11:31:13,144 WARN [Thread-2] (DefaultRequestDirector.java:1095) - Authentication error: Unable to respond to any of these challenges: {}
2024-03-27 11:31:13,144 ERROR [Thread-2] (WebClient.java:298) - <<< [401] {“code”:401,“error”:“bad credentials”,“message”:“Login Error”}
2024-03-27 11:31:13,144 WARN [Thread-2] (PowerwallLogReader.java:77) - Failed gateway authentication
2024-03-27 11:31:13,144 INFO [Thread-2] (WebClient.java:356) - >>> https://192.168.1.206:443/api/meters/aggregates
2024-03-27 11:31:13,160 ERROR [Thread-2] (AHttpLogReader.java:472) - <<< [403] {“code”:403,“error”:“Unable to GET to resource”,“message”:“User does not have adequate access rights”}
2024-03-27 11:31:43,164 INFO [Thread-2] (WebClient.java:226) - >>> https://192.168.1.206/api/login/Basic
2024-03-27 11:31:43,818 WARN [Thread-2] (DefaultRequestDirector.java:1095) - Authentication error: Unable to respond to any of these challenges: {}
2024-03-27 11:31:43,819 ERROR [Thread-2] (WebClient.java:298) - <<< [401] {“code”:401,“error”:“bad credentials”,“message”:“Login Error”}
2024-03-27 11:31:43,819 WARN [Thread-2] (PowerwallLogReader.java:77) - Failed gateway authentication
2024-03-27 11:31:43,819 INFO [Thread-2] (WebClient.java:356) - >>> https://192.168.1.206:443/api/meters/aggregates
2024-03-27 11:31:43,840 ERROR [Thread-2] (AHttpLogReader.java:472) - <<< [403] {“code”:403,“error”:“Unable to GET to resource”,“message”:“User does not have adequate access rights”}
2024-03-27 11:32:01,779 INFO [WrapperListener_stop_runner] (Controller.java:2214) - *** Stopped PVOutput Integration Service v1.5.5.1


My powerwall.ini file:


login-url=https://192.168.1.206/api/login/Basic
login-pass=XXXXX
login-email=XXXXX@gmail.com
login-user=customer
url=https://192.168.1.206/api/meters/aggregates

poll=30

direction=in

voltage=instant_average_voltage

v7=battery.instant_power

v8=load.instant_power

v10=site.instant_power

v12=solar.instant_power

soc-url=https://192.168.1.206/api/system_status/soe

soc-parameter=v11

# The Powerwall gateway API url
**# **
# Replace 127.0.0.1 with the gateway IP address
#

# url=https://192.168.1.206/api/meters/aggregates

#
# Poll the URL every n seconds
#

# poll=300

# Define the power direction
**# **
# ‘in’ - Consumption (load)
# ‘out’ - Solar Generation (solar)


# direction=in

# uncomment to read an alternative power value
#
# default is 'instant_power’
#

# power=instant_power

# uncomment to read voltage data
#

# voltage=instant_average_voltage

**# **
# uncomment to upload state of charge percentage to extended parameter
#

# soc-url=https://192.168.1.206/api/system_status/soe
# soc-parameter=v12

#
# extended data v7-v12
#
# valid values [site|battery|load|solar|busway|frequency].[instant_power|instant_reactive_power|instant_apparent_power|frequency|energy_exported|energy_imported|instant_average_voltage|instant_total_current|i_a_current|i_b_current|i_c_current]
#
# e.g. battery.instant_power
**# **

# uncomment to upload data to v7
**# **
#

v7=battery.instant_power

**# **
# uncomment to upload data to v8
#

v8=load.instant_power

**# **
# uncomment to upload data to v9
#

v9=solar.energy_exported

**# **
# uncomment to upload data to v10
#

v10=site.instant_apparent_power

uncomment to upload data to v11

v11=SOC

uncomment to upload data to v12

v12=solar.instant_power


When I look at the service log, it appears I also have a Java issue with the wrapper:


STATUS | wrapper | 2024/03/27 11:51:16 | → Wrapper Started as Service
STATUS | wrapper | 2024/03/27 11:51:16 | Java Service Wrapper Community Edition 32-bit 3.5.4
STATUS | wrapper | 2024/03/27 11:51:16 | Copyright © 1999-2010 Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper | 2024/03/27 11:51:16 | http://wrapper.tanukisoftware.com
STATUS | wrapper | 2024/03/27 11:51:16 |
STATUS | wrapper | 2024/03/27 11:51:16 | Launching a JVM…
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: Initializing…
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager:
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: WARNING - Unable to load the Wrapper’s native library ‘wrapper.dll’.
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: The file is located on the path at the following location but
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: could not be loaded:
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: C:\Program Files (x86)\PVOutput\bin…\lib\wrapper.dll
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: Please verify that the file is both readable and executable by the
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: current user and that the file has not been corrupted in any way.
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: One common cause of this problem is running a 32-bit version
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: of the Wrapper with a 64-bit version of Java, or vica versa.
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: This is a 64-bit JVM.
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: Reported cause:
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: C:\Program Files (x86)\PVOutput\lib\wrapper.dll: Can’t load IA 32-bit .dll on a AMD 64-bit platform
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager: System signals will not be handled correctly.
INFO | jvm 1 | 2024/03/27 11:51:16 | WrapperManager:
INFO | jvm 1 | 2024/03/27 11:51:17 | *** Starting PVOutput Integration Service v1.5.5.1
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.runtime.name=Java™ SE Runtime Environment
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.vm.version=25.401-b10
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.vm.vendor=Oracle Corporation
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.vendor.url=http://java.oracle.com/
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.vm.name=Java HotSpot™ 64-Bit Server VM
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.vm.specification.name=Java Virtual Machine Specification
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.runtime.version=1.8.0_401-b10
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.endorsed.dirs=C:\Program Files\Java\jre-1.8\lib\endorsed
INFO | jvm 1 | 2024/03/27 11:51:17 | >> os.arch=amd64
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.io.tmpdir=C:\Windows\system32\config\systemprofile\AppData\Local\Temp
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.vm.specification.vendor=Oracle Corporation
INFO | jvm 1 | 2024/03/27 11:51:17 | >> os.name=Windows 11
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.library.path=…/lib
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.specification.name=Java Platform API Specification
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.class.version=52.0
INFO | jvm 1 | 2024/03/27 11:51:17 | >> os.version=10.0
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.awt.printerjob=sun.awt.windows.WPrinterJob
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.specification.version=1.8
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.class.path=…/lib/wrapper.jar;…/lib/org.pvoutput.integration.jar;…/lib/commons-logging-1.1.1.jar;…/lib/httpcore-4.1.2.jar;…/lib/httpclient-4.1.2.jar;…/lib/jetty-http-7.5.1.v20110908.jar;…/lib/jetty-util-7.5.1.v20110908.jar;…/lib/jetty-io-7.5.1.v20110908.jar;…/lib/jetty-server-7.5.1.v20110908.jar;…/lib/jetty-continuation-7.5.1.v20110908.jar;…/lib/servlet-api-2.5.jar;…/lib/json_simple-1.1.jar;…/lib/jxl.jar;…/lib/log4j-1.2.15.jar;…/lib/RXTXcomm.jar;…/lib/jackcess-1.2.2.jar;…/lib/bsh-core-2.0b4.jar;…/lib/sqlitejdbc-v056.jar;…/lib/commons-net-3.1.jar
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.vm.specification.version=1.8
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.home=C:\Program Files\Java\jre-1.8
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.specification.vendor=Oracle Corporation
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.vm.info=mixed mode
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.version=1.8.0_401
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.ext.dirs=C:\Program Files\Java\jre-1.8\lib\ext;C:\Windows\Sun\Java\lib\ext
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.vendor=Oracle Corporation
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.specification.maintenance.version=5
INFO | jvm 1 | 2024/03/27 11:51:17 | >> java.vendor.url.bug=http://bugreport.sun.com/bugreport/


I currently have both 32 bit and 64 bit JRE installed. I tried deleting one then the other but it did not affect this error message.

Any suggestions to fix these issues are appreciated.

This would indicate either an invalid login-user or login-pass.

Try deleting retyping in both values in the powerwall.ini file.

Restart the service.