Skip to content

the connection gets compleley broken when the master interface gets disconnected. #3821

Open
@femrichem

Description

@femrichem

Expected Behavior

Since OMR does loadbalancing as well as failover on connections it is expected when the master connection gets disconnected, OMR switch to another connection and prevent the internet from getting blocked. however quite the opposite happens.

as can be seen in the screenshot below as soon as the master interface runs into connection issues (in this case the TD-LTE modem froze and had to be manually restarted) the whole connection crumbles! what's more if other connections (non-master interfaces) run into similar issues (for example high latency _ over 900ms_ because the antenna is shaking due to wind) the connection slows down to a halt!! this is despite me having defined a BACKUP connection too (in this case it's an ADSL low speed line defined as backup).
Image

Current Behavior

to make a long story short. the failover funtion of OMR does not work/has not worked ever since the installation. it just doesn't failover ___ I always have to manually go to the control panel of OMR and disable the faulty connection and manually change the master for my connection to get resorted !! whichc is EXtremely frustrating. if you are going to monitize this project in the future, which you should, this issue is a big obstacle on your way. I've been meaning to report this for a year now but I couldn't get around to do it. funnily enough previes versions (5.1 something I can't remmber did NOT HAVE THIS issue but 6.1 has it! which is strange)

Possible Solution

as for solutions, I haven't been able to come up with one since I am not familar with network programing and all. however I've written a script using node.js and puppeter to monitor OMR's status page and as soon as something goes wrong (which I think it refreshes every 3 or 4 seconds) change the master connection!! this is not a solution it's like putting a bandaid on a bullet wound but I digress.

Steps to Reproduce the Problem

in order to reporduce the problem a couple of things need to be taken into consideration:
1 - this issue does not occure if you compeletely disable the connection (for example turning off the modem, or disabling the interface) so you wouldn't be able to reporduce it this way
2- this issue occurs when for example the modem freezes or your simcard runs out of credit or when for whatever reason the connection becomes too slow. in other words I don't think, to my knowledge and experenece, that there is a mechanism in OMR which monitors connection quality and disconnects or halts MPTCP from using it, which there should be!

Context (Environment)

Specifications

  • OpenMPTCProuter version: openmptcprouter v0.61-6.6 r0+27346-c7ba5574f5](https://github.com/ysurac/openmptcprouter)
  • OpenMPTCProuter VPS version: OpenMPTCProuter VPS 0.1031
  • OpenMPTCProuter VPS provider: generic vps provider _no restrictions
  • OpenMPTCProuter platform: X86_64 _ Q9550 intel processor
  • Country: world (not china)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions