Closed tlinnyc closed 11 months ago
@tlinnyc We were unable to reproduce this internally. Here are the dev's notes:
"Unable to reproduce, switching between non-VPN and VPN connections, including dropping and reconnection, switching between wifi and cellular networks do establish the WebSocket connection and regular http connections without issue.
Is important to note that Android does not have the capability to start the VPN automatically the same way iOS does, so the VPN connection should be established manually.
VPN's used: Express VPN OpenVPN NordVPN CyberGhostVPN Tailscale (used by Mattermost)"
Summary
I'm using MS Defender through my work profile, Mattermost requires VPN to be connected for it to successfully connect to our server, if the VPN isn't on, MM will just say server unreachable. Even if I go ahead and turn on VPN and switch back to MM, it'll stay on unreachable until I kill the app and relaunch it. Of course this is a different story for iOS because it supports the VPN waiting function. MM doc also said that Android OS can't support the waiting function, but is there a way to workaround that?
Environment Information
Steps to reproduce
I turned on Always-on VPN for MS Defender, but issue still happens if network drops and recovers
Expected behavior
MM will try to attempt reconnecting every X seconds up to X amount of times while in unreachable state
Observed behavior (that appears unintentional)
MM saying "The server is not reachable"
Possible fixes
Would it be possible to have it auto retry connection without the need of restarting the app?