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

    "Kill OpenVPN Connection" doesn't work exactly right

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    9 Posts 3 Posters 3.8k 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.
    • B
      bubble1975
      last edited by

      Hiya,

      I'm using 2.0-BETA4  (amd64) built on Thu Sep 30 21:08:20 UTC 2010.  I've configured an OpenVPN server on the box, and it works splendidly.  However, when I try to kill an active VPN connection by going to (Status -> OpenVPN) and clicking the little "X" box next to a connection, I get a popup window on my web browser saying "Web site says: An error occurred (-1)".  If I click off that VPN Status page, and then look again, the connection seems to have been successfully removed, but the error was weird.

      My apologies if this has already been reported.

      1 Reply Last reply Reply Quote 0
      • E
        Efonnes
        last edited by

        Which web browser, in case it might be relevant?

        1 Reply Last reply Reply Quote 0
        • B
          bubble1975
          last edited by

          I'm using FireFox 3.6.10 for MacOS.

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            It's something wrong in the backend. I see where the problem is I just need to work up a fix.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • B
              bubble1975
              last edited by

              Many thanks!

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                OK, it should be fixed now. There were a couple problems: the line returned from the management daemon wasn't matching the old string properly, and also the name/id of the line was incorrect for the new management daemon style, so the error returned was bogus, and the AJAX call couldn't find the line to remove it.

                Both should be fixed by this commit:
                https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/68b0452720b80176ace0fab5a016ea3a5853e178

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • B
                  bubble1975
                  last edited by

                  Hi,

                  I thought that this was indeed fixed, as I tested it and it worked OK, but just recently I found another glitch with it, I think.  When I kill an OpenVPN connection by clicking on the X, it successfully drops the connection.  But, if I try and kill another connection, right after killing the first one, it responds with the same error I noted earlier in the post.

                  Again, not critical.  And if I navigate away from the OpenVPN status page, and then come back, the connections is indeed closed.

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    I'll have to try that out tomorrow, I'm not sure I tried with more than one client connected.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      Can you still reproduce this?

                      I just tried to kill several in a row and it worked every time.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

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