• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Issue Killing Specific OpenVPN Client Connection from Dashboard (PHP Fatal Error)

Scheduled Pinned Locked Moved OpenVPN
1 Posts 1 Posters 36 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z
    zikou
    last edited by 10 days ago

    Hi everyone,

    I'm running pfSense 2.6.0 (FreeBSD 12.3-STABLE), and I'm trying to terminate a specific OpenVPN client connection by clicking the "X" button in the OpenVPN widget on the dashboard.

    However, when I do this, the system crashes with the following PHP error:

    PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function openvpn_kill_client(), 2 passed in /usr/local/www/widgets/widgets/openvpn.widget.php on line 285 and exactly 3 expected in /etc/inc/openvpn.inc:2106
    Stack trace:
    #0 /usr/local/www/widgets/widgets/openvpn.widget.php(285): openvpn_kill_client('server1', 'IP_ADDRESS')
    #1 {main}
      thrown in /etc/inc/openvpn.inc on line 2106
    

    Has anyone else encountered this issue or know how to resolve it?
    Thanks in advance!

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
      This community forum collects and processes your personal information.
      consent.not_received