Skip to content
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

Reconnecting beta after restart #457

Open
danny-yeshurun opened this issue Jul 4, 2023 · 3 comments
Open

Reconnecting beta after restart #457

danny-yeshurun opened this issue Jul 4, 2023 · 3 comments

Comments

@danny-yeshurun
Copy link

danny-yeshurun commented Jul 4, 2023

mutagen version 0.17.2
Working on mac, synching into a docker container in a remote linux machine
Whenever the remote server is restarted or if the network disconnects, seems that the sync session can't reconnect, it becomes

Last error: beta polling error: unable to receive poll response: unable to read message length: unexpected EOF
Status: Connecting to beta

Is there any practice here that can be taken to automatically recover or must I restart the sync session every time?
The idea is to use it for developers dev environment and I want less friction as possible.

@xenoscopic
Copy link
Member

Hey @danny-yeshurun, Mutagen does have auto-reconnect logic (currently at 15 second intervals), but if additional credentials or input are required to connect (e.g. an SSH key password or 2FA password), then a manual reconnection (using mutagen sync resume) will be required.

If no input is required, then it might just be a matter of waiting the 15 seconds, or forcing it to occur earlier with mutagen sync resume.

In your case though, is the reconnection never occurring after any amount of time?

@danny-yeshurun
Copy link
Author

@xenoscopic I actually saw it "reconnecting" forever

@xenoscopic
Copy link
Member

If you do see it stuck in a "reconnecting" state, can you try mutagen sync resume -a and see if you're prompted for any input?

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

2 participants