We have a Client VPN configuration which has been working just fine. Upgrading to the Mac client v5.0.0 generates an "unknown error" when trying to connect. Rolling back to v4.1.0 works fine with the same configuration file.
The logs on a failed connection with the v5.0.0 client say:
2025-01-22 11:00:41.861 +00:00 [DBG][TI=1][ProfileName] Received adding connection manager request. Profile: ProfileName
2025-01-22 11:00:41.862 +00:00 [INF][TI=1][ProfileName] Connecting /Users/username/.config/AWSVPNClient/OpenVpnConfigs/ProfileName
2025-01-22 11:00:41.887 +00:00 [DBG][TI=1][ProfileName] validationString: /Users/username/.config/AWSVPNClient/OpenVpnConfigs/ProfileName
1737543651
2025-01-22 11:00:41.888 +00:00 [DBG][TI=1][ProfileName] Starting Mac network change monitoring thread
2025-01-22 11:00:41.889 +00:00 [DBG][TI=1][ProfileName] Resetting connection metadata
2025-01-22 11:00:41.889 +00:00 [DBG][TI=1][ProfileName] Resetting localNetworkCidrsStringForCurrentConnection
2025-01-22 11:00:41.889 +00:00 [DBG][TI=1][ProfileName] Getting LAN CIDR and network interface mapping
2025-01-22 11:00:41.889 +00:00 [DBG][TI=1][ProfileName] Getting all active LAN network interfaces
2025-01-22 11:00:41.890 +00:00 [DBG][TI=173][ProfileName] Launching 'scutil' process
2025-01-22 11:00:41.891 +00:00 [DBG][TI=1][ProfileName] Adding Network interface name: en0 to active LAN interface list
2025-01-22 11:00:41.891 +00:00 [DBG][TI=1][ProfileName] Initial localNetworkCidrsStringForCurrentConnection before connection 192.168.0.0/24
2025-01-22 11:00:41.891 +00:00 [DBG][TI=1][ProfileName] Resetting tentative and true server IPs
2025-01-22 11:00:41.891 +00:00 [DBG][TI=1][ProfileName] Connection state changed for CVPN endpoint id: cvpn-endpoint-id
2025-01-22 11:00:41.893 +00:00 [INF][TI=1][ProfileName] Starting OpenVpn process
2025-01-22 11:00:41.893 +00:00 [DBG][TI=1][ProfileName] Calling helper command /Applications/AWS VPN Client/AWS VPN Client.app/Contents/Resources/AWS VPN Client/Contents/MacOS/ACVCHelperTool --init
2025-01-22 11:00:41.893 +00:00 [DBG][TI=1][ProfileName] Starting process
2025-01-22 11:00:41.973 +00:00 [DBG][TI=174][ProfileName] Start to read process output
2025-01-22 11:00:41.973 +00:00 [DBG][TI=173][ProfileName] Turning on scutil notifications
2025-01-22 11:00:42.116 +00:00 [DBG][TI=174][ProfileName] End reading process output
2025-01-22 11:00:42.177 +00:00 [DBG][TI=1][ProfileName] Calling helper command /Applications/AWS VPN Client/AWS VPN Client.app/Contents/Resources/AWS VPN Client/Contents/MacOS/ACVCHelperTool --start /Users/username/.config/AWSVPNClient/ovpn-mgmt-ProfileName /Users/username/.config/AWSVPNClient/OpenVpnConfigs/validation-ProfileName False
2025-01-22 11:00:42.177 +00:00 [DBG][TI=1][ProfileName] Starting process
2025-01-22 11:00:42.205 +00:00 [DBG][TI=178][ProfileName] Start to read process output
2025-01-22 11:00:42.223 +00:00 [DBG][TI=178][ProfileName] End reading process output
2025-01-22 11:00:42.308 +00:00 [ERR][TI=1][ProfileName] Unhandled exception on attempt to connect.
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: T. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonReader.ReadForType (Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x0004a] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at ACVC.Core.DataModels.MacHelperDaemonStartResult.Deserialize (System.String resultString) [0x00000] in <4d0357af26a041f9a1bf350782073f2c>:0
at ACVC.Core.Client.Osx.MacHelperAppResponseParser.ParseStartCommandOutput (System.String startStdout) [0x00018] in <4d0357af26a041f9a1bf350782073f2c>:0
at ACVC.Core.Client.Osx.HelperToolUtil.StartOpenVpnAsync (System.String ovpnMgmtPortPasswordFilePath, System.String validationFilePath, System.Boolean shouldSkipDns) [0x0008c] in <4d0357af26a041f9a1bf350782073f2c>:0
at ACVC.Core.OpenVpn.OvpnOsxProcessManager.Start (System.String validationFilePath, System.String ovpnMgmtPortPasswordFilePath, System.Boolean shouldSkipDns, System.Int32 timeoutMilliseconds) [0x0019d] in <4d0357af26a041f9a1bf350782073f2c>:0
at ACVC.Core.OpenVpn.OvpnConnectionManager.ConnectWithLockAsync (ACVC.Core.GetCredentialsCallback getCredentialsCallback, System.String clientConfigPath) [0x00278] in <4d0357af26a041f9a1bf350782073f2c>:0
at ACVC.Core.OpenVpn.OvpnConnectionManager.Connect (ACVC.Core.GetCredentialsCallback getCredentialsCallback, System.Int32 timeout) [0x00152] in <4d0357af26a041f9a1bf350782073f2c>:0
2025-01-22 11:00:42.309 +00:00 [DBG][TI=1][ProfileName] Received remove connection manager request. Profile: ProfileName
2025-01-22 11:00:42.309 +00:00 [DBG][TI=1][ProfileName] Stopping DNS monitoring thread
2025-01-22 11:00:42.309 +00:00 [DBG][TI=1][ProfileName] Releasing DNS monitoring lock
2025-01-22 11:00:42.309 +00:00 [DBG][TI=1][ProfileName] Stopping network change monitoring thread
2025-01-22 11:00:42.309 +00:00 [DBG][TI=1][ProfileName] Releasing network change monitoring lock
2025-01-22 11:00:42.309 +00:00 [DBG][TI=173][ProfileName] Turning off scutil notifications
2025-01-22 11:00:42.309 +00:00 [DBG][TI=1][ProfileName] Connection state changed for CVPN endpoint id: cvpn-endpoint-id
2025-01-22 11:00:42.310 +00:00 [DBG][TI=1][ProfileName] Received exception for connection state Disconnected. Show error message to user
2025-01-22 11:00:42.310 +00:00 [ERR][TI=1][ProfileName] Exception received by connection view controller
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: T. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonReader.ReadAndMoveToContent () [0x00000] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonReader.ReadForType (Newtonsoft.Json.Serialization.JsonContract contract, System.Boolean hasConverter) [0x0004a] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <7ca8898b690a4181a32a9cf767cedb1e>:0
at ACVC.Core.DataModels.MacHelperDaemonStartResult.Deserialize (System.String resultString) [0x00000] in <4d0357af26a041f9a1bf350782073f2c>:0
at ACVC.Core.Client.Osx.MacHelperAppResponseParser.ParseStartCommandOutput (System.String startStdout) [0x00018] in <4d0357af26a041f9a1bf350782073f2c>:0
at ACVC.Core.Client.Osx.HelperToolUtil.StartOpenVpnAsync (System.String ovpnMgmtPortPasswordFilePath, System.String validationFilePath, System.Boolean shouldSkipDns) [0x0008c] in <4d0357af26a041f9a1bf350782073f2c>:0
at ACVC.Core.OpenVpn.OvpnOsxProcessManager.Start (System.String validationFilePath, System.String ovpnMgmtPortPasswordFilePath, System.Boolean shouldSkipDns, System.Int32 timeoutMilliseconds) [0x0019d] in <4d0357af26a041f9a1bf350782073f2c>:0
at ACVC.Core.OpenVpn.OvpnConnectionManager.ConnectWithLockAsync (ACVC.Core.GetCredentialsCallback getCredentialsCallback, System.String clientConfigPath) [0x00278] in <4d0357af26a041f9a1bf350782073f2c>:0
at ACVC.Core.OpenVpn.OvpnConnectionManager.Connect (ACVC.Core.GetCredentialsCallback getCredentialsCallback, System.Int32 timeout) [0x00152] in <4d0357af26a041f9a1bf350782073f2c>:0
2025-01-22 11:00:42.312 +00:00 [DBG][TI=173][ProfileName] scutil quitted
2025-01-22 11:00:42.312 +00:00 [INF][TI=1][] Validating schema for OpenVPN config: /Users/username/.config/AWSVPNClient/OpenVpnConfigs/ProfileName
The fact that the same config file works with v4.1.0 would indicate that the file isn't broken, and newly downloaded copies of the config from both the self service portal and the AWS VPN console have no effect. My Mac is running Sonoma 14.7 (23H124).
The Client VPN is configured to use SSO with MFA from our Entra tenant.
Any ideas on what's going wrong and how I might fix it?
For us, version 5.0.1 does not work on Windows 11 with all latest updates installed. However if we use version 4.1 all works fine again.