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

[Bug]: Can't update Endpoint in UI #2378

Closed
1 task done
nitsujri opened this issue Jun 7, 2023 · 4 comments
Closed
1 task done

[Bug]: Can't update Endpoint in UI #2378

nitsujri opened this issue Jun 7, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@nitsujri
Copy link

nitsujri commented Jun 7, 2023

Contact Details

No response

What happened?

Thanks for this great software!

I was in the process of recreating our VPN and using 0.20.1. The netclient join command did not obtain the endpoint's public IP properly, not sure why it failed but perhaps the new stun code will help.

I'm trying to update it via UI and the toggle for Static IP works, which enables the Endpoint field, but after filling that in and clicking Submit it still says <nil>.

Is there another way to update the Endpoint address?

Version

v0.20.1

What OS are you using?

No response

Relevant log output

No response

Contributing guidelines

  • Yes, I did.
@nitsujri nitsujri added the bug Something isn't working label Jun 7, 2023
@afeiszli
Copy link
Contributor

afeiszli commented Jun 7, 2023

When did you install the netclient? Binaries were updated for 0.20.1 yesterday afternoon.

@nitsujri
Copy link
Author

nitsujri commented Jun 7, 2023

I started the whole process around 3:50 pm SGT. Sorry for the crazy timezones. Basically an hour before I submitted this report.

I was previously running 0.20.0 and had no issue with endpoints.

Is there anything I can test?

@nitsujri
Copy link
Author

nitsujri commented Jun 8, 2023

I found the output in syslogs. I believe the netclient is trying to update netmaker with its endpoint but failing to do so?

Cursor_and_root_ip-172-31-0-116___home_ubuntu

The obvious guess is the last line where it says failed to allocate addr on turn, but not familiar enough. Highlighted is the correct expected endpoint of the netclient box.

I have 5 networks setup. I woke up this morning and tried again after some tinkering - I was able to update 1 specific network's endpoint via UI, but I have no idea what I did to be able to actually do that. I tried to redo my steps on a different network but to no avail.

Let me know if I can provide anything else.

@nitsujri
Copy link
Author

nitsujri commented Jun 8, 2023

Okay after hours of fiddling I figured out that if I downgrade the client to 0.20.0 and everything else remains the same, endpointip gets updated automatically properly. I'll close this here and open it in the client repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants