Closed Damien0505 closed 6 months ago
Now I am receiving a different error when attempting to add the second OPNSense instance:
This error originated from a custom integration.
Logger: custom_components.opnsense.pyopnsense Source: custom_components/opnsense/pyopnsense/init.py:100 Integration: OPNsense (documentation, issues) First occurred: 2:22:56 PM (3 occurrences) Last logged: 2:29:37 PM
Unexpected get_system_info error err=TypeError("string indices must be integers, not 'str'"), type(err)=<class 'TypeError'>
What version of opnsense is on the device? Does it have a hostname and domain properly set?
Hi Travis, Apologies for the slow reply.
Both instances of OPNSense are running v24.1.2_1-amd64 They have unique hostnames set, as well as a common domain.
Regards, Damien
The method that fails is pretty basic, not sure what could possibly break there :(
I've even tried creating a fresh HA VM, nothing but HACS and the OPNSense integrations installed, new users on each of the OPNSense installations each with new API keys and sadly still no go. Same errors.
The method that fails is pretty basic, not sure what could possibly break there :(
Could it be that in an HA arrangement the unique id is the same?
It shouldn’t no. And even if it did the error would be different.
Hi, Firstly, apologies if this has already been asked, I did have a look through the previous issues but was unable to find an answer.
I am running two instances of OPNSense in a HA arrangement on two different Proxmox nodes.
Adding the first instance of OPNSense (OPNSenseMaster) was without issue and is displaying correctly within HA.
Sadly when attempting to add the second instance (OPNSenseBackup) it does not complete and I am greeted with "Unexpected error".
Checking the logs I cna see the following:
Kind regards, Damien