Skip to content

Desktop app should reconnect after connection failures #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
diranged opened this issue Apr 26, 2025 · 2 comments
Open

Desktop app should reconnect after connection failures #141

diranged opened this issue Apr 26, 2025 · 2 comments

Comments

@diranged
Copy link

Right now if there is a connection failure - for example, closing the laptop and moving from one network location to another - the desktop app just stays disconnected with an error: Internal Error: failed to start connection: get user: Get .... connection reset by peer.

Image
@matifali
Copy link
Member

matifali commented May 2, 2025

Thanks for the feedback @diranged. We are tracking it in coder/internal#563

cc: @ethanndickson

@ethanndickson
Copy link
Member

Yeah, this error you saw is in-part due to the fact that we stop the VPN on sleep, and start it on wake. In your case it looks like you lost connection whilst it was in the middle of starting.
Once coder/internal#563 is resolved, we'll remove this logic, and the VPN will just stay enabled whilst you're without internet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants