openmptcprouter icon indicating copy to clipboard operation
openmptcprouter copied to clipboard

Visual BUG in the Dashboard and openmptcprouter/status after master WAN have a outage.

Open vempire-ghost opened this issue 1 year ago • 2 comments

Expected Behavior

Nothing breaks after the master wan has some internet outage.

Current Behavior

When the master wan have a internet outage for a minute, even if the internet come back, omr cannot show this two status page anymore until I save/apply in the Setting Wizard. image image

Specifications

  • OpenMPTCProuter version: openmptcprouter v0.60beta1-5.4 r0+16862-170d9e447d snap 01/01
  • OpenMPTCProuter VPS version: 0.1029 test
  • OpenMPTCProuter VPS provider: GCP
  • OpenMPTCProuter platform: x86_64
  • Country:

vempire-ghost avatar Jan 04 '24 22:01 vempire-ghost

I think I found the problem. When I switch from one VPS to another, even though OMR connects to the new IP, it still tries to fetch status information from the old IP, as can be seen in this log entry. Jan 23 02:16:54 OpenMPTCProuter user.notice OMR-Tracker-Server: Master server vps down (xx.222.253.xx)

Jan 23 02:14:39 OpenMPTCProuter user.notice post-tracking-020-status: New public ip detected for omrvpn (tun0): xx.215.210.xxx (previous: xx.222.253.xx) As you can see here, OMR has already found the new IP and is connected to it. However, it never updates the status retrieval to the new one until I save/apply the configurations. This is probably related to the fact that I use DNS to connect to the VPS.

vempire-ghost avatar Jan 23 '24 02:01 vempire-ghost

To be more precise the bug started in this commit. https://github.com/Ysurac/openmptcprouter-feeds/compare/4c5361b2158ca57dbed9049961cef9a876e214ce...c7dc600f824f362c64b5162fb5a881fd13721861

vempire-ghost avatar Jan 23 '24 22:01 vempire-ghost

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Apr 23 '24 07:04 github-actions[bot]