Hi, I’m testing okteto both under VSCode and with the CLI, and I get the error:
“Syncthing local=true didn’t respond after 1m0s” on a “okteto up” command.
I tested with the 2 samples “vscode-remote-go” and “go-getting-started” on a Microk8s single node.
Here is the log of “okteto up” command:
[cloud@inexpk8s01b vscode-remote-go]$ /home/cloud/.okteto-vscode/okteto up -f '/home/cloud/go/src/vscode-remote-go/okteto.yml' --remote 22100 --log-level=info
INFO[0000] started /home/cloud/.okteto-vscode/okteto up -f /home/cloud/go/src/vscode-remote-go/okteto.yml --remote 22100 --log-level=info
INFO[0000] failed to read warning file '/home/cloud/.okteto/.warnings/localwatcher': open /home/cloud/.okteto/.warnings/localwatcher: no such file or directory
INFO[0000] Using default @ microk8s as context
i Using default @ microk8s as context
INFO[0000] inferring name from git repository URL
INFO[0000] Terminal: &{{27906 5 1215 35387 0 [3 28 127 21 4 0 1 0 17 19 26 255 18 15 23 22 255 0 0] 0 0}}
INFO[0000] /home/cloud/.okteto/id_rsa_okteto.pub already present
INFO[0000] /home/cloud/.okteto/id_rsa_okteto already present
INFO[0000] enabled remote mode
INFO[0000] '.stignore' exists in folder '/home/cloud/go/src/vscode-remote-go'
INFO[0005] Failed to send analytics: mixpanel: Get "https://api.mixpanel.com/track?data=eyJldmVudCI6IlVwIiwicHJvcGVydGllcyI6eyIkb3MiOiJMaW51eCIsIiRyZWZlcnJpbmdfZG9tYWluIjoibWljcm9rOHMiLCJjbHVzdGVyIjoibWljcm9rOHMiLCJjbHVzdGVyVHlwZSI6ImxvY2FsIiwiY29udGV4dCI6Im1pY3JvazhzIiwiY29udGV4dFR5cGUiOiJLdWJlcm5ldGVzIiwiZGlzdGluY3RfaWQiOiIyMmQyMTZlMDMyZjA2NzJjNjczMGI5MmNkNjZiN2MwMTFkZTg1YjU0ZjI3MDYzNjg2NmQzNzMwYWM4MTQxNDcyIiwiaGFzQnVpbGRTZWN0aW9uIjpmYWxzZSwiaGFzRGVwZW5kZW5jaWVzU2VjdGlvbiI6ZmFsc2UsImhhc0RlcGxveVNlY3Rpb24iOmZhbHNlLCJpc0ludGVyYWN0aXZlIjp0cnVlLCJpc09rdGV0byI6ZmFsc2UsImlzT2t0ZXRvUmVwb3NpdG9yeSI6dHJ1ZSwibWFjaGluZV9pZCI6IjIyZDIxNmUwMzJmMDY3MmM2NzMwYjkyY2Q2NmI3YzAxMWRlODViNTRmMjcwNjM2ODY2ZDM3MzBhYzgxNDE0NzIiLCJvcmlnaW4iOiJ2c2NvZGUiLCJzb3VyY2UiOiJ2c2NvZGUiLCJzdWNjZXNzIjpmYWxzZSwidGVybS10eXBlIjoieHRlcm0tMjU2Y29sb3IiLCJ0b2tlbiI6IjkyZmU3ODJjZGZmYTIxMmQ4ZjAzODYxZmJmMWVhMzAxIiwidmVyc2lvbiI6IjIuNC4yIn19&ip=1": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
INFO[0005] activating development container retry=false
⠋ Activating your development container... INFO[0006] updating volume claim 'vsc-hello-world-okteto'
⠙ Activating your development container... INFO[0006] local syncthing initialized: gui -> 43623, sync -> 34908
INFO[0006] remote syncthing initialized: gui -> 40991, sync -> 40599
INFO[0006] error getting name for process 15175: open /proc/15175/status: no such file or directory
INFO[0006] checking syncthing home '/home/cloud/.okteto/default/vsc-hello-world' with command '/var/okteto/bin/syncthing -home /var/syncthing -gui-address 0.0.0.0:8384'
INFO[0006] checking syncthing home '/home/cloud/.okteto/default/vsc-hello-world' with command '/var/okteto/bin/syncthing -home /var/syncthing -gui-address 0.0.0.0:8384'
INFO[0006] create deployment secrets
INFO[0006] updated okteto secret 'okteto-vsc-hello-world'
INFO[0006] updating service 'vsc-hello-world'
INFO[0006] updated service 'vsc-hello-world'.
⠋ Attaching persistent volume... INFO[0006] dev pod vsc-hello-world-okteto-6889cf59bc-gkvzj is now Running
INFO[0006] Images successfully pulled
✓ Images successfully pulled
INFO[0006] starting SSH port forwards
⠋ Configuring SSH tunnel to your development container... INFO[0006] starting SSH forward manager
INFO[0006] SSH forward manager retry 1
INFO[0006] all k8s port-forwards are connected
INFO[0006] k8s port forward to dev pod connected
INFO[0006] starting SSH connection pool on :22100
INFO[0006] ssh ping to :22100 was successful
⠋ Starting the file synchronization service... INFO[0006] waiting for syncthing local=true to be ready
⠴ Starting the file synchronization service... INFO[0007] syncthing local=true is not ready yet
........
⠏ Starting the file synchronization service... INFO[0064] syncthing local=true is not ready yet
⠼ Starting the file synchronization service... INFO[0065] syncthing local=true is not ready yet
INFO[0066] starting shutdown sequence
INFO[0071] Failed to send analytics: mixpanel: Get "https://api.mixpanel.com/track?data=eyJldmVudCI6IlVwIEVycm9yIiwicHJvcGVydGllcyI6eyIkb3MiOiJMaW51eCIsIiRyZWZlcnJpbmdfZG9tYWluIjoibWljcm9rOHMiLCJjbHVzdGVyIjoibWljcm9rOHMiLCJjbHVzdGVyVHlwZSI6ImxvY2FsIiwiY29udGV4dCI6Im1pY3JvazhzIiwiY29udGV4dFR5cGUiOiJLdWJlcm5ldGVzIiwiZGlzdGluY3RfaWQiOiIyMmQyMTZlMDMyZjA2NzJjNjczMGI5MmNkNjZiN2MwMTFkZTg1YjU0ZjI3MDYzNjg2NmQzNzMwYWM4MTQxNDcyIiwiaXNPa3RldG8iOmZhbHNlLCJtYWNoaW5lX2lkIjoiMjJkMjE2ZTAzMmYwNjcyYzY3MzBiOTJjZDY2YjdjMDExZGU4NWI1NGYyNzA2MzY4NjZkMzczMGFjODE0MTQ3MiIsIm9yaWdpbiI6InZzY29kZSIsInNvdXJjZSI6InZzY29kZSIsInN1Y2Nlc3MiOnRydWUsInRlcm0tdHlwZSI6Inh0ZXJtLTI1NmNvbG9yIiwidG9rZW4iOiI5MmZlNzgyY2RmZmEyMTJkOGYwMzg2MWZiZjFlYTMwMSIsInZlcnNpb24iOiIyLjQuMiJ9fQ==&ip=1": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
INFO[0071] sent cancellation signal
INFO[0071] stopping syncthing
INFO[0071] ssh forward 0.0.0.0:40991->0.0.0.0:8384 -> done
INFO[0071] ssh forward 0.0.0.0:8080->0.0.0.0:8080 -> done
INFO[0071] terminating syncthing 15177 without wait
INFO[0071] terminated syncthing 15177 without wait
INFO[0071] stopping forwarders
INFO[0071] ssh forward 0.0.0.0:40599->0.0.0.0:22000 -> done
INFO[0071] stopped k8s forwarder
INFO[0071] stopped SSH forward manager
INFO[0071] completed shutdown sequence
INFO[0071] activate failed with: syncthing local=true didn't respond after 1m0s
INFO[0071] exit signal received due to error: syncthing local=true didn't respond after 1m0s
INFO[0071] Syncthing local=true didn't respond after 1m0s
Find additional logs at: /home/cloud/.okteto/default/vsc-hello-world/okteto.log
x Syncthing local=true didn't respond after 1m0s
Find additional logs at: /home/cloud/.okteto/default/vsc-hello-world/okteto.log
And during the intialization message “Activating your dev…”, I can connect sucessfuly in SSH into the containter:
[cloud@inexpk8s01b vscode-remote-go]$ ssh localhost -p 22100 -i /home/cloud/.okteto/id_rsa_okteto
Welcome to your development container. Happy coding!
default:vsc-hello-world okteto>
Any clues ? Thanks