A Problem was detected....after adding Certificate Authority

Started by BiTRiP, March 13, 2019, 04:03:32 PM

Previous topic - Next topic
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)


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.



By clicking for more information the crash reporter says the problem is as described above.

Thanks,
BiTRiP