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

    Error when trying to kill a openvpn user

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 321 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.
    • A
      albgen
      last edited by

      hello,

      i'm on pfsense 2.6.0

      Crash report begins. Anonymous machine information:

      amd64
      12.3-STABLE
      FreeBSD 12.3-STABLE RELENG_2_6_0-n226742-1285d6d205f pfSense

      Crash report details:

      PHP Errors:
      [05-Jul-2022 16:20:27 Europe/Tirane] 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', '89.163.242.61:5...')
      #1 {main}
      thrown in /etc/inc/openvpn.inc on line 2106
      [05-Jul-2022 16:20:37 Europe/Tirane] 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', '89.163.242.61:5...')
      #1 {main}
      thrown in /etc/inc/openvpn.inc on line 2106

      No FreeBSD crash data found.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        That is a known bug: https://redmine.pfsense.org/issues/12817

        It's fixed in 2.7 and the patch is in the recommended patches list in the System Patches package. Just install that and apply the patch.

        Steve

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.