mozilla-vpn-client
mozilla-vpn-client copied to clipboard
Websocket connection should only be attempted once user token is available
I have noticed that connection attempts start as soon as the user clicks the sign in button, they should actually start once the token is available otherwise connections will be refused by the server.
We want to prevent this from happening because due to exponential backoff it could happen that until the key is available too many reconnection attempts have been made and the interval is very long until a subsequent reconnection attempt happens.
┆Issue is synchronized with this Jira Task ┆author: Beatriz Rizental Machado