garden sync unable to connect to beta ... could no...
# 🌱|help-and-getting-started
l
Hi all, when trying to do
deploy --sync <app>
or
sync start <app> --deploy
I get an error from the mutagen command that says
Copy code
Command "/Users/<user>/.garden/tools/mutagen/5ee89f981aef975e/mutagen sync create <path> eyJrd...long_code...VyIl19:/app --name k8s--local-<name>-app --sync-mode one-way-replica -i /**/*.git -i **/*.garden -i **/node_modules --default-file-mode 0644 --default-directory-mode 0755" failed with code 1:

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: ssh: Could not resolve hostname eyjrd...shortened_long_code...jlcm5l: nodename nor servname provided, or not known)
I've found some existing issues on the repo but none of them seem to have quite the same issue. Would appreciate some help. It's a kubernetes deployment into a local cluster. The build and deploy runs successfully without the sync
c
Hi @limited-orange-59382! What Garden version do you use? If you recently updated it to 0.13.33 or a newer version, then please check the instructions here: https://docs.garden.io/guides/code-synchronization#restarting-sync-daemon In 0.13.33 we changed the internal version of Mutagen that is used as a file transfer machinery.
l
Hi @curved-intern-91221, I am using 0.13.43, and I am trying out garden so had not used it previously.
However I have solved my problem! It seems I had
CI=true
set in my environment from something, removing this fixed the problem. I have no idea why
c
Hmm... That is weird. Please let us know if the issue happens again.
9 Views