Skip to content

AWS vpn startup failed

0

Team,

I installed the AWS VPN client to connect my one AWS box, during the startup of AWS VPN client is throwing error "connection failed" I am not sure why this error is coming. I have OVPN file and its is correct. I prepared same setup on my other device and its working fine.

  • in aws_vpn_client log file :-

    2025-06-18 15:07:00.052 +05:30 [DBG][TI=19][AWS] C:\Program Files\Amazon\AWS VPN Client\AWS VPN Client OpenVPN Service\Resources\TAP-Windows\bin\devcon.exe stderr: 2025-06-18 15:07:00.052 +05:30 [DBG][TI=19][AWS] C:\Program Files\Amazon\AWS VPN Client\AWS VPN Client OpenVPN Service\Resources\TAP-Windows\bin\devcon.exe exit code: 0 2025-06-18 15:07:00.052 +05:30 [INF][TI=19][AWS] Attempting to update TAP Windows adapter description to AWS Client VPN TAP-Windows Adapter V9 2025-06-18 15:07:00.052 +05:30 [DBG][TI=19][AWS] Adapter number: 0009. Adapter GUID: {4d36e972-e325-11ce-bfc1-08002be10318} 2025-06-18 15:07:00.052 +05:30 [INF][TI=19][AWS] Found TAP Windows driver 2025-06-18 15:07:00.052 +05:30 [INF][TI=19][AWS] Current TAP Windows driver name: TAP-Windows Adapter V9 #9 2025-06-18 15:07:00.052 +05:30 [INF][TI=19][AWS] Successfully renamed TAP Windows driver 2025-06-18 15:07:00.052 +05:30 [INF][TI=19][AWS] Renaming Local Area Connection 9 with AWS name 2025-06-18 15:07:00.474 +05:30 [DBG][TI=19][AWS] Max available TAP adapter number: 0 2025-06-18 15:07:00.474 +05:30 [INF][TI=19][AWS] Attempt 1: Trying to rename Local Area Connection 9 to AWS Client VPN TAP-Windows Adapter V9 #1 2025-06-18 15:07:00.617 +05:30 [DBG][TI=19][AWS] C:\Windows\System32\netsh.exe stdout: Cannot complete this function.

    2025-06-18 15:07:00.617 +05:30 [DBG][TI=19][AWS] C:\Windows\System32\netsh.exe stderr: 2025-06-18 15:07:00.618 +05:30 [DBG][TI=19][AWS] C:\Windows\Syst

asked a year ago184 views

1 Answer
0

The error you're experiencing with the AWS VPN client failing to start could be due to several possible causes. Since you've confirmed your OVPN file is correct (as it works on another device), the issue is likely related to your specific device configuration.

Here are some troubleshooting steps to resolve the "connection failed" error:

  1. Check for conflicting OpenVPN applications: Other OpenVPN applications running on your computer might be interfering with the AWS VPN client. Try stopping or quitting these processes before connecting.

  2. Verify TAP-Windows adapters: The error might be related to TAP-Windows adapter issues. You mentioned the AWS VPN Client TAP-Windows Adapter might be getting removed and replaced during connection attempts, which could indicate a problem.

  3. Run as administrator: Try running the AWS VPN client with administrator privileges.

  4. Check firewall settings: Your firewall might be blocking UDP or TCP traffic on ports used by the VPN client (typically 443 or 1194).

  5. Version compatibility: If you recently updated Windows, there might be compatibility issues with newer versions of the AWS VPN Client. Some users have reported that version 5.x has issues with recent Windows updates, while version 4.x (particularly 4.1.0) works better. Consider downgrading to version 4.x if you're using a newer version.

  6. Verify the AWS VPN Client service: Check that the service is running and set to Automatic startup in the Services application (services.msc).

  7. Disable security software temporarily: Third-party antivirus or security software might be interfering with the VPN connection.

  8. Check Windows Event Viewer: Look for additional error details that might provide more insight into the specific issue.

Since the same setup works on your other device, it's likely a local configuration issue rather than a problem with your OVPN file or the AWS VPN endpoint itself.
Sources
AWS VPN Error - OpenVPN Process Failed to Start | AWS re:Post
Troubleshooting common AWS Client VPN problems - AWS Client VPN
AWS VPN Client does not work since Version 5.x (5.2.2) | AWS re:Post
Troubleshooting AWS Client VPN connections with Windows-based clients - AWS Client VPN

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.