OPNsense Forum
Archive => 19.1 Legacy Series => Topic started by: BiTRiP on March 13, 2019, 04:03:32 pm
-
Hi,
I created a OpenVPN tunnel beween my OPNSense router and a remote Synology Router. The Synology is the server so OPN connects as client.
In order to get the link working I had to add an Authority with a certificate.
After successfully creating this authority I get error on login at OPNSense:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function OPNsense\OpenVPN\Api\ExportController::accountsAction(), 0 passed and exactly 1 expected in /usr/local/opnsense/mvc/app/controllers/OPNsense/OpenVPN/Api/ExportController.php:205
Stack trace:
#0 [internal function]: OPNsense\OpenVPN\Api\ExportController->accountsAction()
#1 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(OPNsense\OpenVPN\Api\ExportController), 'accountsAction', Array)
#2 [internal function]: Phalcon\Dispatcher->dispatch()
#3 /usr/local/opnsense/www/api.php(26): Phalcon\Mvc\Application->handle()
#4 {main}
thrown in /usr/local/opnsense/mvc/app/controllers/OPNsense/OpenVPN/Api/ExportController.php on line 205
Any idea how to get rid of this error/bug?
Thanks in advance,
BiTRiP
-
can you check if the URL of the request ends with a VPN id? (i. e. network tab of firefox)
-
Sorry, I don't know what you mean. Which URL?
-
The one which is called in background when you perform this action.
-
I'm not requesting a special url. Just logging in onto OPNSense which goes fine but the crash reporter within OPNSense says there is an error.
(https://i.ibb.co/ZYVJpf3/Screenshot-2019-03-14-at-10-42-17.png)
By clicking for more information the crash reporter says the problem is as described above.
Thanks,
BiTRiP
-
Which version is this then?
Cheers,
Franco
-
OPNsense 19.1.4-amd64
Thanks,
BiTRiP