network-manager-wireguard icon indicating copy to clipboard operation
network-manager-wireguard copied to clipboard

error when trying to connect: failed to look up VPN interface index

Open bbrendon opened this issue 3 years ago • 4 comments
trafficstars

Jan 16 21:24:53 x NetworkManager[822]: <error> [1642397093.1688] vpn-connection[0x55b2ec100740,6a149415-973d-44d1-90e5-8a21426b5d0c,"wg2",0:(wg2)]: failed to look up VPN interface index for "wg2"
Jan 16 21:24:53 x NetworkManager[822]: <warn>  [1642397093.1688] vpn-connection[0x55b2ec100740,6a149415-973d-44d1-90e5-8a21426b5d0c,"wg2",0]: VPN connection: did not receive valid IP config information

bbrendon avatar Jan 17 '22 05:01 bbrendon

Detailed description: https://bbs.archlinux.org/viewtopic.php?pid=2024327

I think that problem is in *.nmconnection file format. networkmanager-wireguard plugin uses it's own format, different from format used by NetworkManager as default.

NetworkManager related issue: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/938

Downgrading from networkmanager-1.36.0-1 to networkmanager-1.34.0-1. Using native NetworkManager wireguard as proposed in the NetworkManager breaks the Gnome GUI

youtous avatar Feb 27 '22 10:02 youtous

Can confirm that upgrading to the networkmanager-1.36.0-1 breaks the usage of this plugin. Although downgrading to networkmanager-1.34.0-1 fixed the issue for me.

zakuciael avatar Mar 01 '22 13:03 zakuciael

Same issue here. I'm running Arch Linux with networkmanager-1.36.2-1 , when I try to establish the connection via GUI drop down menu, it fails to connect. I checked syslogs and saw this error kept popping up.

config: no VPN gateway address received
did not receive valid IP config information

I can confirm that downgrading to networkmanager-1.34.0.1 has fixed the issue.

I hope this package can be updated to use NetworkManager's new native wireguard configuration, a GUI method of connecting to my VPN is much more convenient on my laptop.

nnleaf avatar Mar 07 '22 17:03 nnleaf

IMHO: better to patch gnome-shell with upstream !1995

You can't edit connections in the GUI, but how often does one do this anyway?

kubrickfr avatar Mar 17 '22 11:03 kubrickfr