I get the following error Crash report
[07-Dec-2023 23:15:00 Europe/Stockholm] TypeError: explode(): Argument #2 ($string) must be of type string, array given in /usr/local/opnsense/mvc/app/controllers/OPNsense/Wireguard/Api/ClientController.php:80
Stack trace:
#0 /usr/local/opnsense/mvc/app/controllers/OPNsense/Wireguard/Api/ClientController.php(80): explode(',', Array)
#1 [internal function]: OPNsense\Wireguard\Api\ClientController->setClientAction('b090adb7-4325-4...')
#2 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(OPNsense\Wireguard\Api\ClientController), 'setClientAction', Array)
#3 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#4 /usr/local/opnsense/www/api.php(24): Phalcon\Mvc\Application->handle('/api/wireguard/...')
#5 {main}
I can also see in the wireguard log:
wireguard /usr/local/opnsense/scripts/Wireguard/wg-service-control.php: ROUTING: not a valid interface gateway address: ''
FreeBSD 13.2-RELEASE-p5 stable/23.7-n254837-8806e8fefb1 SMP amd64
OPNsense 23.7.9 7d9231b7d
Plugins os-ddclient-1.17 os-iperf-1.0_1 os-udpbroadcastrelay-1.0_3 os-wireguard-2.5_1
Time Thu, 07 Dec 2023 23:23:27 +0100
OpenSSL 1.1.1w
Python 3.9.18
PHP 8.2.12
Any one know what's up? Or can direct me to another thread with similar problems?
How do I do a full downgrade including plugins to a previous version?
So this happened when I updated from 23.7.3 to 23.7.9 does anyone have any Idea on what I can do to debug or find out what is failing? Where to start looking?
It's been rock stable up until now :(
Thinking about reverting back to a openVpn setup, but really like wireguard.
Following the guide here, I managed to get it working, but disabling / enabling one rule as well (guess rules needs refresh)
https://github.com/FingerlessGlov3s/OPNsensePIAWireguard