You are not logged in.
Hello!
I haven't tried connecting via VPN for a week or two, and now it doesn't work anymore.
I use nm-applet to connect. I haven't been able to get it working by calling openconnect directly, either.
I tried downgrading the networkmanager, networkmanager-openconnect and openconnect packages, but it didn't help.
If I check the journal (journalctl -b -e -p err) after an attempt to connect, I always see this:
apr 17 17:41:38 arch NetworkManager[346]: <error> [1397749298.218453] [nm-vpn-connection.c:1374]
apr 17 17:41:38 arch systemd-coredump[18746]: Process 18735 (obtain_cookie) dumped core.
The core dump is being caused by /usr/lib/networkmanager/nm-openconnect-auth-dialog.
I have no idea what else to try. I can't find anyone complaining about openconnect core-dumping.
Thanks!
Last edited by Nanthiel (2014-04-17 20:17:20)
Offline
Solved!
I checked the logs again, this time journalctl -b -e. This finally showed me *all* the messages. (I still haven't gotten the hang of systemd yet. )
Anyway, this showed up (among hundreds of GLib-CRITICALs complaining about some IDs or some such):
apr 17 22:04:43 arch NetworkManager[335]: <info> Starting VPN service 'openconnect'...
apr 17 22:04:43 arch NetworkManager[335]: <info> VPN service 'openconnect' started (org.freedesktop.NetworkManager.openconnect), PID 17565
apr 17 22:04:43 arch NetworkManager[335]: <info> VPN service 'openconnect' appeared; activating connections
...GLib...
apr 17 22:04:48 arch kernel: obtain_cookie[17571]: segfault at 0 ip 00007f645e54ebf4 sp 00007f6454b9ac18 error 6 in libgnutls.so.28.36.0[7f645e4b8000+112000]
apr 17 22:04:48 arch NetworkManager[335]: <error> [1397765088.443030] [nm-vpn-connection.c:1374] get_secrets_cb(): Failed to request VPN secrets #3: (6) No agents were available for this request.
apr 17 22:04:48 arch NetworkManager[335]: <info> Policy set 'vajrles' (wlan0) as default for IPv4 routing and DNS.
...GLib...
apr 17 22:04:48 arch systemd-coredump[17581]: Process 17569 (obtain_cookie) dumped core.
apr 17 22:04:53 arch NetworkManager[335]: <info> VPN service 'openconnect' disappeared
Segfault! libgnutls.so!
I downgraded gnutls to 2.3.13-1 and it works again.
Edit: I also noticed systemd-journald ramps up CPU and memory usage after the segfault. But I don't think a core dump is actually generated. At least I can't find it with systemd-coredumpctl. And the logs aren't very verbose at all. What is it doing?
Last edited by Nanthiel (2014-04-17 20:20:51)
Offline