我已经很长时间无法通过 AWS OpenVPN 客户端进行连接了。当我单击“连接”时,系统会显示“连接失败。请重试”。我在其他论坛上发现了类似的情况,并尝试了不同的解决方案:
- 我重新安装了客户端。我使用 RevoUninstaller(多次)永久删除了带有漫游目录和注册表的 AWS Vpn 客户端。
- 我已切换到最新版本的 AWS VPN Client - 3.0.0。
- 我卸载了与各个项目相关的所有其他 vpn 客户端
- 我还为 vpn 用户申请了一个新密码,该密码几天前已过期。
- 我禁用了防火墙,并在 Windows Defender 中为某些文件创建了排除项
- 我还尝试了文章中提到的 Tap 适配器禁用/启用解决方案 https://jainsaket-1994.medium.com/aws-client-vpn-error-connection-failed-try-again-dd62e0b97db5
- 永久重置网络配置
- 我还检查了任何 Tap 适配器是否在 IPv4 设置中选中了“自动获取 IP 地址”和“自动获取 dns 服务器地址”。
这个问题和文章中的问题类似AWS VPN 客户端与新 VPC 终端节点的连接失败。给出的解决方案没有帮助。日志略有不同。
C:\Users\MyUser\AppData\Roaming\AWSVPNClient\logs
2022-05-05 12:52:04.411 +02:00 [DBG] CloudWatch response received
2022-05-05 12:52:04.411 +02:00 [DBG] CloudWatch response status code: OK
2022-05-05 12:52:04.411 +02:00 [DBG] successfully put metrics to cloudwatch
2022-05-05 12:52:04.411 +02:00 [DBG] Deleting successfully sent batch of metric events
2022-05-05 12:52:04.418 +02:00 [DBG] Checking if table MetricsTable is empty
2022-05-05 12:52:04.419 +02:00 [DBG] is empty: True
2022-05-05 12:52:04.419 +02:00 [DBG] Finished sending batches of metrics to cloudwatch.
2022-05-05 12:52:04.989 +02:00 [DBG] Caught exception when getting connection status. Exception information: System.TimeoutException: The message did not respond within the expected timeframe or was cancelled
at ACVC.Core.OpenVpn.OvpnConnectionManager.<SendMessage>d__111.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at ACVC.Core.OpenVpn.OvpnConnectionManager.<GetConnectionStatus>d__116.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at ACVC.Core.Metrics.MetricsClient.<RecordBytesMetricsAndAnalytics>d__21.MoveNext()
2022-05-05 12:52:05.002 +02:00 [DBG] Inserted event UI_APP_VPN_CONNECT_GENERAL_ERROR 0 to MetricsTable
2022-05-05 12:52:05.002 +02:00 [INF] Terminating connection
2022-05-05 12:52:05.002 +02:00 [WRN] Acs did not stop correctly!
2022-05-05 12:52:05.002 +02:00 [DBG]