Opened 8 years ago

Closed 6 years ago

#227 closed Bug / Defect (worksforme)

Can Not Disconnect on Windows 8

Reported by: zxvc Owned by:
Priority: major Milestone: release 2.4
Component: Networking Version: OpenVPN 2.3-beta / 2.3-RC (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords: windows
Cc: myh@…

Description

My OS is Windows 8 Pro RTM gotten through IEEE DreamSpark? Premium.
I can connect to my VPN server without problem.
Unfortunately, I can't disconnect from my VPN server normally.
The VPN client freezes at this log message line:
C:\Windows\system32\route.exe DELETE 10.71.32.0 MASK 255.255.255.0 10.71.32.150

However, if I use Windows 7, there is no the disconnect problem.

Could fix this bug on Windows 8?

Change History (10)

comment:1 in reply to:  description Changed 8 years ago by zxvc

Replying to zxvc:

My OS is Windows 8 Pro RTM gotten through IEEE DreamSpark? Premium.
I can connect to my VPN server without problem.
Unfortunately, I can't disconnect from my VPN server normally.
The VPN client freezes at this log message line:
C:\Windows\system32\route.exe DELETE 10.71.32.0 MASK 255.255.255.0 10.71.32.150

However, if I use Windows 7, there is no the disconnect problem.

Could fix this bug on Windows 8?

I solved this problem by setting "Run as administrator" to all exe files:
openvpn.exe
openvpn-gui.exe
openvpnserv.exe
, not only openvpn-gui.exe.

Unfortunately, when I reconnect to the VPN sever after the disconnection,
the OpenVPN client stuck at these lines:
Sun Sep 16 21:24:21 2012 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Sep 16 21:24:21 2012 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Sep 16 21:24:21 2012 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Sun Sep 16 21:24:21 2012 [server] Peer Connection Initiated with [AF_INET]140.115.xxx.xxx:1194
Sun Sep 16 21:24:22 2012 MANAGEMENT: >STATE:1347801862,GET_CONFIG,
Sun Sep 16 21:24:24 2012 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)

comment:2 Changed 8 years ago by zxvc

Sorry, the frozen problem at the line:
C:\Windows\system32\route.exe DELETE 10.71.32.0 MASK 255.255.255.0 10.71.32.150

could be irrelevant to "run as administrator."

However, I certainly met many frozen problems on Windows 8...

comment:3 Changed 8 years ago by zxvc

The OpenVPN GUI frozen problem could be not only related to Windows 8,
but also the version of OpenVPN.

I found the frozen problem doesn't appear with OpenVPN 2.2.2 on Windows 8.
However, the frozen problem remains with OpenVPN 2.3_beta1 on Windows 8.
And in my experience, OpenVPN 2.3-alpha3 and Windows 7 have no the frozen problem.

comment:4 Changed 8 years ago by strfr

can confirm v2.3_alpha2 GUI freezes on Win8 64bit

comment:5 in reply to:  4 Changed 8 years ago by zxvc

Replying to strfr:

can confirm v2.3_alpha2 GUI freezes on Win8 64bit

By the way, my OS is also Windows 8 64-bit.
The frozen issue still exists in OpenVPN 2.3_rc1.

comment:6 Changed 7 years ago by Samuli Seppänen

I'll test this on my Win8 64-bit VM and report back.

comment:7 Changed 7 years ago by Samuli Seppänen

Keywords: windows added
Milestone: release 2.4

I think we have to have a look at this before 2.4. Anybody else having this issue? I'm trying to understand how many people are affected...

comment:8 Changed 6 years ago by Samuli Seppänen

Resolution: fixed
Status: newclosed

No info in 12 months, closing the ticket.

comment:9 Changed 6 years ago by Samuli Seppänen

Resolution: fixed
Status: closedreopened

comment:10 Changed 6 years ago by Samuli Seppänen

Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.