When I select my Cerbo GX on the VRM tab in Victron connect, I receive the following error: "MQTT-RPC Unable to connect to the RPC broker. Configuring the device is not possible. Error Code: #R2"
The Cerbo GX is connected to VRM with 2 way communication enabled, and is working well. I have 2 mppt controllers, a Smart Shunt connected via VE Direct, and a MultiPlus-II connected via VE Bus. All show up without issue in the VRM web UI. All devices have the latest firmware.
I've tried the following to resolve the issue:
- using the Android, Mac OS, and Windows VictronConnect apps (all version 6.0.4)
- earlier versions of the apps also had the same issue
- logged into VRM and granted access in the apps
- logged out and back in several times
- restarted my phone
- restarted the app on all devices
- force quit the app on Android
- cleared app cache on Android
- cleared app data on Android
- enabling MQTT on LAN (SSL) (both without and with the "MQTT on LAN (Plaintext)" option also enabled)
- After enabling each combination, I tried opening VictronConnect, then force quitting the app, clearing cache and reopening it, then again after restarting the Cerbo GX
- switching my phone exclusively to the mobile network (switching off WiFi)
- switching my phone exclusively to the mobile network, creating a hotspot and connecting the cerbo to the hotspot (so that nothing was connected to my WiFi network)
- trying both the Windows PC and Mac when connected to my mobile hotspot
- following these instructions (https://community.victronenergy.com/questions/155407/mqtt-local-via-mqtt-broker.html) to connect MQTT Explorer. With that connected both to mqtt127.victronenergy.com:8883 and on the local network to port 1883 on the GX's IP, I can successfully receive MQTT messages. This seems to indicate that the GX is successfully producing the messages, and that there aren't any issues with those messages getting through to the Victron cloud broker. Inspecting the messages further, I can see data from both my MPPT controllers, the Smart Shunt, the Multiplus II, and from the GX itself
- I've logged network traffic from Victron Connect using both Wireshark, and XCode Instruments, and can see network requests being made to vrmapi.victronenergy.com / ec2-3-127-228-28.eu-central-1.compute.amazonaws.com, and to mqtt-rpc.victronenergy.com / ec2-18-198-160-64.eu-central-1.compute.amazonaws.com, both with what looks like a successful TLS 1.2 handshake followed by transmission of some data. Though it's hard to tell if these requests were made at the same moment I attempted to connect to the GX on the VRM tab in VictronConnect.
Does anyone have any idea what might be happening, or any further steps I could take to debug the issue?