⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Fix reconnecting when certificate is unchanged#238

Merged
mtwebster merged 1 commit intolinuxmint:masterfrom
slowscript:fix-reconnect
Nov 19, 2025
Merged

Fix reconnecting when certificate is unchanged#238
mtwebster merged 1 commit intolinuxmint:masterfrom
slowscript:fix-reconnect

Conversation

@slowscript
Copy link
Contributor

After 70cc5eb Warpinator can no longer reconnect to a rediscovered device after connection was once lost when the certificate is unchanged (remote comes back with the same IP as last time). I have fixed this by adding a condition to also reconnect when certificate is up to date and the remote is offline. The newly_discovered flag is to allow reconnect after server restart in which case remotes are cleared, but certificates are not (CERT_UP_TO_DATE and RemoteStatus.INIT_CONNECTING, which on its own could also mean that the remote thread is already running). Another option in this case would be to also clear the certificates on restart.

(Sorry about taking so long to finish the text message PR, hopefully I'll get to it soon)

@Cobinja
Copy link
Member

Cobinja commented Oct 15, 2025

lgtm

@mtwebster mtwebster merged commit 741a6b1 into linuxmint:master Nov 19, 2025
2 checks passed
@slowscript slowscript deleted the fix-reconnect branch November 22, 2025 10:35
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

Successfully merging this pull request may close these issues.

3 participants