Package Details: awsvpnclient 4.1.0-3

Git Clone URL: https://aur.archlinux.org/awsvpnclient.git (read-only, click to copy)
Package Base: awsvpnclient
Description: AWS VPN Client
Upstream URL: https://aws.amazon.com/vpn/
Keywords: aws aws-clientvpn aws-vpn aws-vpnclient clientvpn
Licenses: custom
Submitter: project0
Maintainer: project0
Last Packager: project0
Votes: 10
Popularity: 0.98
First Submitted: 2021-06-26 08:56 (UTC)
Last Updated: 2024-12-13 18:25 (UTC)

Pinned Comments

project0 commented on 2021-06-28 15:58 (UTC) (edited on 2024-02-12 11:07 (UTC) by project0)

Please note the following requirements for AWS VPN Client:

For troubelshooting its worth checking first the logs:

/home/$USER/.config/AWSVPNClient/
/var/log/aws-vpn-client/$USER/

See also the official docs: https://docs.aws.amazon.com/vpn/latest/clientvpn-user/client-vpn-connect-linux.html

If you face any other problem please check the troubleshooting guide (DNS issues): https://docs.aws.amazon.com/vpn/latest/clientvpn-user/linux-troubleshooting.html#aws-provided-client

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

shosca commented on 2022-03-23 11:07 (UTC)

the diff for PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 4ca2a8a..6d19f6b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Richard Hillmann <richie at project0 dot de>
 pkgname=awsvpnclient
-pkgver=1.0.2
+pkgver=3.0.0
 pkgrel=1
 pkgdesc="AWS VPN Client"
 arch=('x86_64')
@@ -10,10 +10,8 @@ source=(
   "$pkgname-$pkgver.deb::https://d20adtppz83p9s.cloudfront.net/GTK/${pkgver}/awsvpnclient_amd64.deb"
   'awsvpnclient.desktop.patch'
 )
-sha512sums=(
-  '4d0dd6a83400d25245f07a31a76f11217738452a413c45fb36898b8de7284a8940bfbaec1bb918b767f74a1f30e3cdaec37befe0a6608b2b848936e35cd4642e'
-  'SKIP'
-)
+sha512sums=('acbe9a5fd0a04b18effc35993d4809b451e717eb507ff31a5f79355463d80b488e3fbd149ad781396bc3e5182346302932d69e105e6341b60ce167f8c90044ef'
+            '0c32ba0b81ac1123dd6123ee2f4b7573957eab76ae40708e2acfd28b15c9b1717b63450d40bddf449e088b0cf202faac466bd4d7bd79cf2a032735190b625c20')
 depends=('xdg-utils' 'lsof')
 makedepends=('xz')
 options=('!strip' 'staticlibs')
@@ -27,8 +25,9 @@ package(){

   # Permission fix
   find "${pkgdir}" -type d -exec chmod 755 {} +
+  chmod 000 "${pkgdir}/opt/awsvpnclient/SQLite.Interop.dll"

   # License
   install -Dm644 "${pkgdir}/opt/awsvpnclient/Resources/LINUX-LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
   install -Dm644 "${pkgdir}/usr/share/doc/awsvpnclient/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/copyright"
-}
\ No newline at end of file
+}

shosca commented on 2022-03-23 11:02 (UTC)

Can confirm, making SQLite.Interop.dll unavailable works with v3.0.0

project0 commented on 2022-03-21 18:16 (UTC) (edited on 2022-03-21 18:18 (UTC) by project0)

I might have found a very easy workaround. Can someone confirm this works for anyone (btw, this seems to solves the "metrics.db" problem as well).

Basically making the SQLite library unavailable, bypass the lib and everything seems to work (3.0.0). It seems to fallback to /opt/awsvpnclient/System.Data.SQLite.dll:

chmod 000 /opt/awsvpnclient/SQLite.Interop.dll

Once i get some confirmation i will package it that way

(Thanks @shosca and @sitano for the infos. I actually looked for a replacement of the lib, but just stumbled across this hack randomly while testing :-) )

shosca commented on 2022-03-18 20:20 (UTC) (edited on 2022-03-18 21:27 (UTC) by shosca)

This is super hacky but v3.0.0 works if you swap out SQLite.Interop.dll with one from 1.0.2 or from nuget: https://www.nuget.org/packages/SQLite.Interop.dll/

acascais commented on 2022-03-18 15:37 (UTC)

In case someone is facing problems with the default installation, I had to change permissions in the DB file:

$ chmod 000 ~/.config/AWSVPNClient/awsvpnclientmetrics.db

After that it worked!

Thanks @sitano

OramahMaalhur commented on 2022-03-14 12:44 (UTC)

3.0.0 still crashes

#1  0x00007fff36814131 in sqlite3MallocInit () at ../core/sqlite3-see.c:28048
#2  0x00007fff368db682 in sqlite3_initialize () at ../core/sqlite3-see.c:165762
#3  0x00007fff368dfca9 in openDatabase (zFilename=0x7fff50228620 "/home/ivl/.config/AWSVPNClient/awsvpnclientmetrics.db", ppDb=0x7fffffffc3c8, flags=6, zVfs=0x0)
    at ../core/sqlite3-see.c:168660
#4  0x00007fff368e036c in sqlite3_open_v2 (filename=0x7fff50228620 "/home/ivl/.config/AWSVPNClient/awsvpnclientmetrics.db", ppDb=0x7fffffffc3c8, flags=6, zVfs=0x0)
    at ../core/sqlite3-see.c:168985
#5  0x00007fff36921c01 in sqlite3_open_interop (filename=0x7fff50228620 "/home/ivl/.config/AWSVPNClient/awsvpnclientmetrics.db", vfsName=0x0, flags=6, extFuncs=1, ppdb=0x7fffffffc3c8)
    at interop.c:481
#6  0x00007fff7ffb6246 in  ()
#7  0x00007fff501fb5d8 in  ()
#8  0x0000000004e396e4 in  ()
#9  0x00007ffff718fd78 in vtable for InlinedCallFrame () at /opt/awsvpnclient/libcoreclr.so

Shimmy commented on 2022-03-08 09:42 (UTC)

They've released v3.0.0 on March 3rd, 2022. Maybe someone who's at capacity to check it can let us know whether this fixes anything here.

markuman commented on 2022-03-01 10:47 (UTC)

2.0.0 crashes

dlopen("/opt/awsvpnclient/libhostfxr.so", 1)                                                                                        = 0x55f31b7f1120
dlsym(0x55f31b7f1120, "hostfxr_main_startupinfo")                                                                                   = 0x7f995fe7ea70
dlsym(0x55f31b7f1120, "hostfxr_set_error_writer")                                                                                   = 0x7f995fe7ff80
pthread_mutex_lock(0x55f31ac154f0, 1, 1, 0)                                                                                         = 0
fflush(0x7f996027c440)                                                                                                              = 0
fflush(0x7f996027c440)                                                                                                              = 0
fflush(0x7f996027c520)                                                                                                              = 0
pthread_mutex_unlock(0x55f31ac154f0, 0, 0, 3072)                                                                                    = 0
--- SIGSEGV (Segmentation fault) ---
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

something with the dynamic linked /opt/awsvpnclient/libhostfxr.so ...

bobsaintcool commented on 2022-02-18 16:28 (UTC)

Hello @project0,

Thanks for maintaining this unstable package for us!

I've experimented upgrading to 1.0.3 with the following change on the PKGBUILD

-pkgver=1.0.2
+pkgver=1.0.3
 pkgrel=1
 pkgdesc="AWS VPN Client"
 arch=('x86_64')
@@ -11,7 +11,7 @@ source=(
   'awsvpnclient.desktop.patch'
 )
 sha512sums=(
-  '4d0dd6a83400d25245f07a31a76f11217738452a413c45fb36898b8de7284a8940bfbaec1bb918b767f74a1f30e3cdaec37befe0a6608b2b848936e35cd4642e'
+  'f9ba448324f04134b36259c0c0dc982d79e8d396bc673d663f8c724648d15b2f22f5ec9c2d45f64a5cb4e4f22de6e5a1683d3aab9253998741a9380c9c000d27'

At first running the VPN client GTK I had the following crash:

$ /opt/awsvpnclient/AWS\ VPN\ Client

(AWS VPN Client:649930): dbind-WARNING **: 16:06:44.115: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-obhGyQF0T5: No such file or directory

(AWS VPN Client:649930): Gtk-WARNING **: 16:06:44.180: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../gtk/gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/Adwaita/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
[1]    649930 IOT instruction (core dumped)  /opt/awsvpnclient/AWS\ VPN\ Client

With the following command it seems to fixed it:

pacman -S shared-mime-info