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

Public IP in Network menu is not updated immediately after a change #108

Closed
fedkad opened this issue Apr 12, 2024 · 2 comments
Closed

Public IP in Network menu is not updated immediately after a change #108

fedkad opened this issue Apr 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@fedkad
Copy link

fedkad commented Apr 12, 2024

Description

When the system changes its public IP(s), this is not reflected in the Network menu immediately.

Steps to Reproduce

  1. While AstraMonitor is running connect to a VPN service (I am testing with WireGuard).
  2. The new public IP(s) that are obtained by the system are not reflected in the Network menu immediately (it takes a few minutes).
  3. Disconnect from the VPN service.
  4. The VPN public IP(s) stay for a while in the Network menu.

Environment

  • Astra Monitor Version: 19
  • GNOME Version: 45.2
  • Operating System and Version: Ubuntu 23.10
  • Other Relevant System Information: Notebook computer

Additional Context

Restarting AstraMonitor immediately updates the Public IP address(es) displayed in the Network menu.

An explanation on the Public IP discovery process may be useful here.

@fedkad fedkad added the bug Something isn't working label Apr 12, 2024
@ljuzig
Copy link
Collaborator

ljuzig commented Apr 12, 2024

There's no way to know when the remote IP changes. I cannot query it too often because that would be an unwanted behavior for most of the users. I can anyway do something about it. I can query it when the menu is opened if it hasn't been queried recently and I can add a click to refresh over the IP menu element.

@ljuzig ljuzig closed this as completed in 35bab5f Apr 12, 2024
@fedkad
Copy link
Author

fedkad commented Apr 13, 2024

Personally I don't think that a public IP is something that needs to be monitored. So, the "on-demand" refresh may be an acceptable option.

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

2 participants