Fail over loop
Posted: Thu Jan 18, 2024 5:26 pm
Hello, I have two VPN profiles, VPN1 and VPN2. VPN2 is a fail over profile for VPN1. When my device is on "offline mode" ( I.e.: wifi and data disabled) if I, for whatever reason, enable VPN1, it will try to connect only once, even with "set max handshakes attempts before disconnect" is set to 10, fails to connect (as expected), so start fail over to VPN2 , that fails to connect (as expected ), but it returne to VPN1, in a infinite loop of try connect, fail over VPN2, try connect, returning to VPN1 ( but VPN1 isn't fail over of VPN2), all this very fast, even difficult to stop the loop.
VPN1
2024-01-12 15:41:36 getaddrinfo error: No address associated with hostname (domain.com)
2024-01-12 15:41:36 The peer domain.com:port cannot
be used!
2024-01-12 15:41:36 The VPN cannot be started because there are no valid peers!
2024-01-12 15:41:36 Switch to failover VPN profile VPN2
VPN2
2024-01-12 15:41:37 The VPN cannot be started because there
are no valid peers!
2024-01-12 15:41:37 Switch to failover VPN profile VPN1
I double check VPN2 configuration, and there's no fail over profile configured.
Expected behavior: VPN1 try to connect, fail over to VPN2, try connect and if fail, stop.
Sorry for my bad English.
VPN1
2024-01-12 15:41:36 getaddrinfo error: No address associated with hostname (domain.com)
2024-01-12 15:41:36 The peer domain.com:port cannot
be used!
2024-01-12 15:41:36 The VPN cannot be started because there are no valid peers!
2024-01-12 15:41:36 Switch to failover VPN profile VPN2
VPN2
2024-01-12 15:41:37 The VPN cannot be started because there
are no valid peers!
2024-01-12 15:41:37 Switch to failover VPN profile VPN1
I double check VPN2 configuration, and there's no fail over profile configured.
Expected behavior: VPN1 try to connect, fail over to VPN2, try connect and if fail, stop.
Sorry for my bad English.