Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bbrendon opened this issue Jan 17, 2022 · 4 comments
Open

Comments

@bbrendon
Copy link

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 bbrendon changed the title error when trying to connect: error when trying to connect: failed to look up VPN interface index Jan 17, 2022
@youtous
Copy link

youtous commented Feb 27, 2022

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

@zakuciael
Copy link

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.

@nnleaf
Copy link

nnleaf commented Mar 7, 2022

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.

@kubrickfr
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants