OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • A Problem was detected....after adding Certificate Authority
« previous next »
  • Print
Pages: [1]

Author Topic: A Problem was detected....after adding Certificate Authority  (Read 5829 times)

BiTRiP

  • Newbie
  • *
  • Posts: 30
  • Karma: 5
    • View Profile
A Problem was detected....after adding Certificate Authority
« 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:

Code: [Select]
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
« Last Edit: March 13, 2019, 04:16:22 pm by BiTRiP »
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: A Problem was detected....after adding Certificate Authority
« Reply #1 on: March 13, 2019, 04:41:02 pm »
can you check if the URL of the request ends with a VPN id? (i. e. network tab of firefox)
Logged

BiTRiP

  • Newbie
  • *
  • Posts: 30
  • Karma: 5
    • View Profile
Re: A Problem was detected....after adding Certificate Authority
« Reply #2 on: March 13, 2019, 11:04:48 pm »

Sorry, I don't know what you mean. Which URL?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: A Problem was detected....after adding Certificate Authority
« Reply #3 on: March 14, 2019, 05:53:43 am »
The one which is called in background when you perform this action.
Logged

BiTRiP

  • Newbie
  • *
  • Posts: 30
  • Karma: 5
    • View Profile
Re: A Problem was detected....after adding Certificate Authority
« Reply #4 on: March 14, 2019, 10:48:55 am »

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
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: A Problem was detected....after adding Certificate Authority
« Reply #5 on: March 14, 2019, 11:00:35 am »
Which version is this then?


Cheers,
Franco
Logged

BiTRiP

  • Newbie
  • *
  • Posts: 30
  • Karma: 5
    • View Profile
Re: A Problem was detected....after adding Certificate Authority
« Reply #6 on: March 14, 2019, 02:02:47 pm »

OPNsense 19.1.4-amd64

Thanks,
BiTRiP
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • A Problem was detected....after adding Certificate Authority
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2