I am forced to use AWS Client VPN. My organisation uses SAML-based authentication. Therefore OpenVPN client cannot be used.
I successfully used AWS Client VPN version 3.3.0 with Ubuntu 22.04, using workarounds described in https://repost.aws/questions/QUNJeF_ja_Suykous7EvfX5Q/aws-client-vpn-on-ubuntu-22-04. After I updated my system to Ubuntu 22.10, a different problem appeared and I am unable to connect.
I found a solution to:
Process terminated. Couldn't find a valid ICU package installed on the system. Set the configuration flag System.Globalization.Invariant to true if you want to run with no globalization support.
at System.Environment.FailFast(System.String)
at System.Globalization.GlobalizationMode.GetGlobalizationInvariantMode()
at System.Globalization.GlobalizationMode..cctor()
Ubuntu 22.10 comes with libicu71. I don't have older versions available. I solved the problem based on a StackOverflow question, so with export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
.
Setting the env var makes the app start successfully. But I am block by the final problem: clicking 'Connect' button ends with a window saying
Unknown error ocurred. Try again.
Browsing logs from ~/.config/AWSVPNClient/logs
shows:
2023-05-10 19:02:04.024 +02:00 [DBG] Starting OpenVpn process
2023-05-10 19:02:04.048 +02:00 [DBG] Received exception for connection state Disconnected. Show error message to user
2023-05-10 19:02:04.048 +02:00 [ERR] Exception received by connect window view model
Tmds.DBus.ConnectException: Connection refused awsvpnclient
---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (111): Connection refused awsvpnclient
This looks like a new problem to me. The question for Ubuntu 22.04 mentioned libssl, but there the problem manifested itself with a hard crash with core dump.
I tried different versions of libssl1.1:
- libssl1.1_1.1.0g-2ubuntu4_amd64.deb
- libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb (this worked for me when using Ubuntu 22.04)
- libssl1.1_1.1.1f-1ubuntu2.18_amd64.deb
But nothing changes.
More on 'connection refused'. When everything worked, logs were:
Now the exception is:
Same exact issue on Ubuntu 23.04