Skip to content

Coder Desktop File Sync does not work against Windows workspaces #566

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

Closed
ethanndickson opened this issue Apr 9, 2025 · 2 comments · Fixed by coder/mutagen#2
Closed

Coder Desktop File Sync does not work against Windows workspaces #566

ethanndickson opened this issue Apr 9, 2025 · 2 comments · Fixed by coder/mutagen#2
Assignees

Comments

@ethanndickson
Copy link
Member

ethanndickson commented Apr 9, 2025

This is an upstream (Mutagen) issue. Not sure if it effects all Windows workspaces, or just the Windows Web RDP template I tried it against. Either way, we'll likely need to fix it on our fork.

Latest Mutagen release:

~/D/mutagen_darwin_arm64_v0.18.1 2 » ./mutagen sync create ~/Music/ "windows.coder:C:\Users\Default\Desktop"
Started Mutagen daemon in background (terminate with "mutagen daemon stop")
Connecting to agent (POSIX)...
Error: unable to connect to beta: unable to connect to endpoint: unable to dial agent endpoint: unable to handshake with agent process: unable to receive server magic number: EOF (error output: ^[[31;1m.mutagen/agents/0.18.1/mutagen-agent: ^[[31;1mThe term '.mutagen/agents/0.18.1/mutagen-agent' is not recognized as a name of a cmdlet, function, script file, or executable program.^[[0m\r
^[[31;1m^[[31;1mCheck the spelling of the name, or if a path was included, verify that the path is correct and try again.^[[0m)

Our fork:

/A/C/C/C/Resources » MUTAGEN_DATA_DIRECTORY="/Users/ethan/Library/Application Support/Coder Desktop/Mutagen" ./mutagen-darwin-arm64 sync create ~/Music/ "windows.coder:C:\Users\Default\Desktop"
Connecting to agent (POSIX)...
Error: unable to connect to beta: unable to connect to endpoint: unable to dial agent endpoint: unable to handshake with agent process: unable to receive server magic number: EOF (error output: ^[[31;1m~/.mutagen/agents/0.18.1/mutagen-agent: ^[[31;1mThe term '~/.mutagen/agents/0.18.1/mutagen-agent' is not recognized as a name of a cmdlet, function, script file, or executable program.^[[0m\r
^[[31;1m^[[31;1mCheck the spelling of the name, or if a path was included, verify that the path is correct and try again.^[[0m)

I discovered this in the macOS UI, where the user at least sees an error message in the meantime:

Image
@matifali
Copy link
Member

matifali commented Apr 9, 2025

Can you link the upstream issue, too? Thanks.

@ethanndickson
Copy link
Member Author

I wasn't able to find an issue tracking it. We can make an issue or a PR to fix it once we understand what's going on.

@ethanndickson ethanndickson self-assigned this Apr 11, 2025
ethanndickson added a commit to coder/mutagen that referenced this issue Apr 14, 2025
…#2)

Closes coder/internal#566

Very very funny to me that someone at Microsoft changed this error message, especially the "a name" <=> "the name".

File sync working:
![image](https://github.com/user-attachments/assets/1901d00b-f8a4-489c-8b99-b9e62ea7e1fd)
ethanndickson added a commit to coder/coder-desktop-macos that referenced this issue Apr 23, 2025
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 a pull request may close this issue.

2 participants