익명 16:21

AWS VPN Client connection to new VPC Endpoint fails

AWS VPN Client connection to new VPC Endpoint fails

I set up a new VPN following this guide. Attempting to connect to the VPN results in the error "Connection failed. Try again."

The log file from AppData\Roaming\AWSVPNClient\logs folder has:

2020-04-23 15:32:52.088 +01:00 [INF] Starting OpenVpn process
2020-04-23 15:32:52.284 +01:00 [DBG] DeDupeProcessDiedSignals: Unexpected errors caused OpenVPN to exit prematurely
2020-04-23 15:32:52.284 +01:00 [ERR] Process died signal sent
ACVC.Core.OpenVpn.OvpnProcessFailedToStartException: Unexpected errors caused OpenVPN to exit prematurely
   at ACVC.Core.OpenVpn.OvpnWpfProcessManager.<Start>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at ACVC.Core.OpenVpn.OvpnConnectionManager.<Connect>d__58.MoveNext()
2020-04-23 15:32:52.284 +01:00 [DBG] Received exception for connection state Disconnected. Show error message to user
2020-04-23 15:32:52.284 +01:00 [ERR] Exception received by connect window view model
ACVC.Core.OpenVpn.OvpnProcessDiedException: The VPN process has stopped unexpectedly.
2020-04-23 15:39:07.769 +01:00 [DBG] Clean up connections. Connection state: Connecting
2020-04-23 15:39:07.769 +01:00 [INF] Terminating connection
2020-04-23 15:39:07.769 +01:00 [DBG] Ending connection details reporting.
2020-04-23 15:39:07.769 +01:00 [DBG] GracefulKill
2020-04-23 15:39:07.769 +01:00 [DBG] Stopping openvpn process
2020-04-23 15:39:07.769 +01:00 [DBG] Cancelling socket listen token
2020-04-23 15:39:07.769 +01:00 [DBG] Dispose socket
2020-04-23 15:39:07.875 +01:00 [DBG] Release process manager lock
2020-04-23 15:39:07.875 +01:00 [DBG] Disconnected

Are the CIDR ranges configured incorrectly? That was the only part of the guide that confused me.



Top Answer/Comment:

I had the same problem, which I solved by reinstalling the AWS Client VPN software. I checked the device driver and there was no TAP-Windows.

https://docs.aws.amazon.com/vpn/latest/clientvpn-user/windows-troubleshooting.html#windows-troubleshooting-client-vpn-quits

VPN connection process quits unexpectedly

Problem

While connecting to a Client VPN endpoint, the client quits unexpectedly.

Cause

TAP-Windows is not installed on your computer. This software is required to run the client.

Solution

Rerun the AWS-provided client installer to install all the required dependencies.

상단 광고의 [X] 버튼을 누르면 내용이 보입니다