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

Error creating sync, .mutagen/agents/0.17.6/mutagen-agent: No such file or directory , alpha: Win11 x64, beta: Ubuntu 22.04.5 LTS, stuck at "Probing endpoint (POSIX)..." #511

Closed
ChieftainY2k opened this issue Oct 8, 2024 · 5 comments

Comments

@ChieftainY2k
Copy link

ChieftainY2k commented Oct 8, 2024

I'm getting an error when creating a new sync, followed instructions closely, installed mutagen-agents.tar.gz along with mutagen.exe

Alpha is Win11 x64
Beta is Ubuntu 22.04.5 LTS (VM)

Alpha:

mutagen version
> 0.17.6

$ ssh -V
OpenSSH_9.8p1, OpenSSL 3.0.15 3 Sep 2024

Beta:

ssh -V
OpenSSH_8.2p1 Ubuntu-4ubuntu0.11, OpenSSL 1.1.1f  31 Mar 2020

Command:

mutagen sync create --name="code" "c:\code\" "user@host:2224:/code
Probing endpoint (POSIX)...
(...getting stuck until timeout.)

Daemon output:

$ MUTAGEN_LOG_LEVEL=debug  mutagen daemon run
2024-10-08 09:29:34.397432 [I] [forward] Looking for existing sessions
2024-10-08 09:29:34.397986 [I] [forward] Session manager initialized
2024-10-08 09:29:34.397986 [I] [sync] Looking for existing sessions
2024-10-08 09:29:34.397986 [I] [sync] Session manager initialized
2024-10-08 09:29:44.510529 [I] [sync.sync_vlJNjf0s] Connecting to alpha endpoint
2024-10-08 09:29:44.511056 [I] [sync.sync_vlJNjf0s] Connecting to beta endpoint
2024-10-08 09:29:44.511056 [D] [sync.sync_vlJNjf0s.alpha.watching] Attempting to establish recursive watch
2024-10-08 09:29:44.512661 [D] [sync.sync_vlJNjf0s.alpha.watching] Watch successfully established
2024-10-08 09:29:44.512661 [D] [sync.sync_vlJNjf0s.alpha.watching] Attempting to enable accelerated scanning
2024-10-08 09:29:45.474440 [E] [sync.sync_vlJNjf0s.beta] bash: line 1: .mutagen/agents/0.17.6/mutagen-agent: No such file or directory
2024-10-08 09:29:47.036573 [D] [sync.sync_vlJNjf0s.alpha.watching] Accelerated scanning now available
2024-10-08 09:29:47.037124 [D] [sync.sync_vlJNjf0s.alpha] Saving cache to disk
@ChieftainY2k ChieftainY2k changed the title Error creating sync, .mutagen/agents/0.17.6/mutagen-agent: No such file or directory , alpha: Win11 x64, beta: Ubuntu 22.04.5 LTS Error creating sync, .mutagen/agents/0.17.6/mutagen-agent: No such file or directory , alpha: Win11 x64, beta: Ubuntu 22.04.5 LTS, stuck at "Probing endpoint (POSIX)..." Oct 8, 2024
@kanevbg
Copy link

kanevbg commented Oct 8, 2024

"Probing endpoint (POSIX)..." Started happening for me with OpenSSH_9.9p1. Before that I was with 9.8p1 and it worked without issues.

@jeremyVignelles
Copy link

Seems related to git-for-windows/git#5199
An update of git for windows had some bug in msys-2.0.dll.
Restoring msys-2.0.dll from a previous version of git-for-windows did the trick for me.
Just a quick note: don't mv msys-2.0.dll msys-2.0.old.dll from a git bash, for reasons that quickly became obvious 😅

@xenoscopic
Copy link
Member

Thanks for identifying the solution @jeremyVignelles, that's a huge help. I'll close this for now then since there's a fix available and it's an upstream issue.

@jeremyVignelles
Copy link

Well, shout out to @kanevbg which put me on the right tracks by identifying the culprit. I just came two days later when the issue was already opened on the git for windows repo, with a workaround available 😉

@ChieftainY2k
Copy link
Author

ChieftainY2k commented Oct 12, 2024

Seems related to git-for-windows/git#5199 An update of git for windows had some bug in msys-2.0.dll. Restoring msys-2.0.dll from a previous version of git-for-windows did the trick for me. Just a quick note: don't mv msys-2.0.dll msys-2.0.old.dll from a git bash, for reasons that quickly became obvious 😅

Unlikely in my case, as I don't use git for windows.
I'm using newest cygwin for Windows, with the latest updates.
The git version is 2.45.1 , and there's no such file as msys-2.0.dll in my filesystem.

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

4 participants