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

[WARN] client: could not update wireguard interface: wglinux: invalid endpoint IP: <nil> #73

Open
0x1a8510f2 opened this issue Aug 17, 2021 · 1 comment

Comments

@0x1a8510f2
Copy link

Describe the bug
On the latest dev build, on startup and whenever I change any interface properties, the line from the issue title appears in the logs and the interface is not created correctly. That is, it's not visible in ifconfig while ip addr reports the following:

4: drago-9579b5: <POINTOPOINT,NOARP> mtu 1420 qdisc noqueue state DOWN group default qlen 1000
    link/none

Expected behavior
The interface should be created and configured correctly

Desktop (please complete the following information):

  • OS: openSUSE Tumbleweed / openSUSE Leap 15.3

Additional context
Add any other context about the problem here.

@0x1a8510f2
Copy link
Author

0x1a8510f2 commented Aug 18, 2021

Since reporting, I found why the bug occurs. Drago fails to set the peer endpoint address (when connected directly) unless the connecting peer has advertise.peer set up in the config. This isn't ideal though; Drago should probably default to the address connecting over RPC for the endpoint IP instead of making it nil.

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

1 participant