"Kill OpenVPN Connection" doesn't work exactly right
-
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.
-
Which web browser, in case it might be relevant?
-
I'm using FireFox 3.6.10 for MacOS.
-
It's something wrong in the backend. I see where the problem is I just need to work up a fix.
-
Many thanks!
-
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 -
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.
-
I'll have to try that out tomorrow, I'm not sure I tried with more than one client connected.
-
Can you still reproduce this?
I just tried to kill several in a row and it worked every time.