Syncing fails when running okteto with local kubernetes cluster

Hi,
I am getting below sync error when running okteto up. Deployment succeeded and I can see pod is created in k8s cluster.(I am running in k3d cluster)

✓ Images successfully pulled
time=“2023-08-07T14:12:22+05:30” level=info msg=“starting SSH port forwards”
⠦ Configuring SSH tunnel to your development container…time=“2023-08-07T14:12:23+05:30” level=info msg=“starting SSH forward manager”
time=“2023-08-07T14:12:23+05:30” level=info msg=“SSH forward manager retry 1”
⠹ Configuring SSH tunnel to your development container…time=“2023-08-07T14:12:23+05:30” level=info msg=“all k8s port-forwards are connected”
time=“2023-08-07T14:12:23+05:30” level=info msg=“k8s port forward to dev pod connected”
time=“2023-08-07T14:12:23+05:30” level=info msg=“starting SSH connection pool on :55519”
⠙ Configuring SSH tunnel to your development container…time=“2023-08-07T14:12:25+05:30” level=info msg=“ssh ping to :55519 was successful”
time=“2023-08-07T14:12:25+05:30” level=info msg=“updating file ‘C:\Users\prasanta\.okteto\zenith\hello-world\okteto.state’”
time=“2023-08-07T14:12:25+05:30” level=info msg=“file ‘C:\Users\prasanta\.okteto\zenith\hello-world\okteto.state’ updated successfully”
⠴ Starting the file synchronization service…time=“2023-08-07T14:12:26+05:30” level=info msg=“waiting for syncthing local=true to be ready”

⠏ Starting the file synchronization service…time=“2023-08-07T14:12:34+05:30” level=info msg=“retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/syst
em/ping]: Get "http://localhost:55568/rest/system/ping\”: dial tcp [::1]:55568: connectex: No connection could be made because the target machine actively refused it."

Please help.

Hi @prasanta,

The error you’re receiving is stating that your local machine (which runs syncthing in background) is rejecting the connections made by the CLI. It could be due to several reasons but the most common one is a firewall blocking the connection. In order to know what’s the root issue can you provide more information about your issue:

Do you have any firewall locally?
Do you get any error from the command?
What’s your okteto version?
Do you have okteto chart installed in your k3d?

Happy coding!!

Hi @jLopezbarb , When I ran okteto deploy, it deployed successfully to k3d cluster and created pod -hello-world-okteto-6b796f756b-w2ft2

While executing okteto up -l debug I could see below ssh successful
⠙ Configuring SSH tunnel to your development container…time=“2023-08-07T14:12:25+05:30” level=info msg=“ssh ping to :55519 was successful”

But down the logs I got error as below

⠴ Starting the file synchronization service…time=“2023-08-07T14:12:26+05:30” level=info msg=“waiting for syncthing local=true to be ready”
⠹ Starting the file synchronization service…time=“2023-08-07T14:12:29+05:30” level=info msg=“retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/syst
em/ping]: Get "http://localhost:55568/rest/system/ping\”: dial tcp [::1]:55568: connectex: No connection could be made because the target machine actively refused it."
time=“2023-08-07T14:12:29+05:30” level=info msg=“error pinging syncthing: failed to call syncthing [rest/system/ping]: Get "http://localhost:55568/rest/system/ping\”: dial tcp [::1]:5
5568: connectex: No connection could be made because the target machine actively refused it."

@prasanta, As I posted before the error is during the connection with syncthing, that’s why it’s not failing during deploy. In order to get more insight about the problem we need more data.

  • Do you have any firewall activated locally? If so, can you try running the command again with it disabled
  • Do you get any error from the command? After the logs your provided did it end up with an error or is in an infinite loop
  • What’s your okteto version? Run okteto version
  • How does your okteto manifest looks like? (removing personal information)

Hi @jLopezbarb ,

Thanks for responding. Below response

  • Do you have any firewall activated locally? If so, can you try running the command again with it disabled- I run locally other applications such as tomcat and it works. Firewall not enabled.

  • Do you get any error from the command? After the logs your provided did it end up with an error or is in an infinite loop- I get “Syncthing local=true didn’t respond after 1m0s”

  • What’s your okteto version? Run okteto version- 2.18.0

  • How does your okteto manifest looks like? (removing personal information)- I took sample app from okteto only. Below

build:
hello-world:
image: repo/java-maven-hello-world:1.0.0
context: k3d-abcd1
deploy:

  • kubectl apply -f k8s.yml
    dev:
    hello-world:
    image: okteto/maven:3
    command: bash
    sync:
    • .:/usr/src/app
      forward:
    • 5005:5005
      volumes:
    • /root/.m2

Hi @prasanta

can you provide the output about the Syncthing service stored in $OKTETO_HOME/.okteto/<namespace-in-use>/hello-world/syncthing.log ? Are you able to access synching GUI? you can check needed values if you exec okteto status --info.

Hi @adripedriza

When I am running okteto up below contents

apikey: cnd
password: 41d65e3c-b250-41de-8d30-242b43857359
folders:
- name: "1"
  localPath: C:\projects\okteto\java-maven-getting-started
  remotePath: /usr/src/app
local: localhost:50664
remote: localhost:50663

Also I am unable to access “…localhost:50663”(pop up appears but I could not authenticate). Afterone min I am getting “activate failed with: syncthing local=true didn’t respond after 1m0s” in okteto.log

Also during one min when I run okteto status --info I get below message

 okteto status --info
 i  Using zenith @ k3d-<domain> as context
⠹ Activating your development container...

@prasanta can you share the content of syncthing logs? you can find it at $OKTETO_HOME/.okteto/<namespace-in-use>/hello-world/syncthing.log

Hi @adripedriza,

Interestingly I dont see syncthing.log created. Only okteto.log is generated.
May be I need some permissions to run the same on my system(I am running the script in powersheel as administrator through). Is there any workaround you can suggest to run synching?

@prasanta I cannot see your first message with the logs related to the issue. Can you post again the logs related to exec okteto up --log-level=debug command?

Hi @adripedriza

PFB logs

time="2023-08-09T10:22:55+05:30" level=info msg="file 'C:\\Users\\prasanta\\.okteto\\domain1\\hello-world\\okteto.state' updated successfully" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:22:58+05:30" level=info msg="waiting for syncthing local=true to be ready" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:01+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:01+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:01+05:30" level=info msg="syncthing local=true is not ready yet" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:04+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:04+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:06+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:06+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:09+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:09+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:11+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:11+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:14+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:14+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:14+05:30" level=info msg="syncthing local=true is not ready yet" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:17+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:17+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:17+05:30" level=debug msg="Error closing remote connection: EOF" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:17+05:30" level=debug msg="Error closing remote connection: EOF" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:18+05:30" level=debug msg="Error closing remote connection: EOF" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:19+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:19+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:22+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:22+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:24+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:24+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:27+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:27+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:27+05:30" level=info msg="syncthing local=true is not ready yet" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:29+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:29+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:32+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:32+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:34+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:34+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:37+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:37+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:39+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:39+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:39+05:30" level=info msg="syncthing local=true is not ready yet" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:42+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:42+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:44+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:44+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:47+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:47+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:49+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:49+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:52+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:52+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:52+05:30" level=info msg="syncthing local=true is not ready yet" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:55+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:55+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:57+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:23:57+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50524/rest/system/ping\": dial tcp [::1]:50524: connectex: No connection could be made because the target machine actively refused it." action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="starting shutdown sequence" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="sent cancellation signal" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="ssh forward localhost:50523->0.0.0.0:8384 -> done" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="ssh forward localhost:5005->0.0.0.0:5005 -> done" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="ssh forward localhost:50522->0.0.0.0:22000 -> done" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="stopping syncthing" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="failed to stop syncthing during shutdown: error getting syncthing process 26652: process does not exist" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="stopping forwarders" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="stopped k8s forwarder" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=debug msg="Error closing remote connection: EOF" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=debug msg="Error closing remote connection: EOF" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=debug msg="Error closing remote connection: EOF" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="stopped SSH forward manager" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="completed shutdown sequence" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="activate failed with: syncthing local=true didn't respond after 1m0s" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2
time="2023-08-09T10:24:00+05:30" level=info msg="exit signal received due to error: syncthing local=true didn't respond after 1m0s" action=dbcb3308-c6fb-4be0-ae2b-48aa4ae4e5c1 version=2.18.2

Hi @prasanta

to better debug what is happening in your case we would need all the output of the okteto up --log-level=debug command, from beginning to end. Could you send it to us? You can mask any sensitive information you consider.

Regards!

Hi @adripedriza ,

Please find below error details

time="2023-08-14T10:31:33+05:30" level=info msg="'.stignore' exists in folder 'C:\\projects\\okteto\\java-maven-getting-started'" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:34+05:30" level=info msg="file C:\\Users\\prasanta\\.okteto\\domain1\\hello-world\\okteto.pid content has been modified" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:34+05:30" level=info msg="activating development container retry=false" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:34+05:30" level=info msg="updating file 'C:\\Users\\prasanta\\.okteto\\domain1\\hello-world\\okteto.state'" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:34+05:30" level=info msg="file 'C:\\Users\\prasanta\\.okteto\\domain1\\hello-world\\okteto.state' updated successfully" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:34+05:30" level=debug msg="calling registry index.docker.io" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:34+05:30" level=debug msg="couldn't decode context certificate from pem: %!s(<nil>)" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:37+05:30" level=debug msg="image with digest: docker.io/okteto/maven@sha256:2762b38848636ecd4caf3a61e49c50682e25f9a4686e20363d52af8b78551796" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:37+05:30" level=info msg="local syncthing initialized: gui -> 50567, sync -> 50568" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:37+05:30" level=info msg="remote syncthing initialized: gui -> 50566, sync -> 50565" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:37+05:30" level=info msg="termitating previous syncthing process" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:37+05:30" level=info msg="updating file 'C:\\Users\\prasanta\\.okteto\\domain1\\hello-world\\okteto.state'" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:37+05:30" level=info msg="file 'C:\\Users\\prasanta\\.okteto\\domain1\\hello-world\\okteto.state' updated successfully" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:37+05:30" level=info msg="updating volume claim 'hello-world-okteto'" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:40+05:30" level=info msg="create deployment secrets" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:40+05:30" level=info msg="updated okteto secret 'okteto-hello-world'" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:42+05:30" level=info msg="updating file 'C:\\Users\\prasanta\\.okteto\\domain1\\hello-world\\okteto.state'" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:42+05:30" level=info msg="file 'C:\\Users\\prasanta\\.okteto\\domain1\\hello-world\\okteto.state' updated successfully" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:42+05:30" level=info msg="dev pod hello-world-okteto-6f6468d445-xmkz4 is now Running" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:42+05:30" level=info msg="starting SSH port forwards" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:43+05:30" level=info msg="starting SSH forward manager" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:43+05:30" level=info msg="SSH forward manager retry 1" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:44+05:30" level=info msg="all k8s port-forwards are connected" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:44+05:30" level=info msg="k8s port forward to dev pod connected" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:44+05:30" level=info msg="starting SSH connection pool on :50491" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:46+05:30" level=info msg="ssh ping to :50491 was successful" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:46+05:30" level=info msg="updating file 'C:\\Users\\prasanta\\.okteto\\domain1\\hello-world\\okteto.state'" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:46+05:30" level=info msg="file 'C:\\Users\\prasanta\\.okteto\\domain1\\hello-world\\okteto.state' updated successfully" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:46+05:30" level=info msg="waiting for syncthing local=true to be ready" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:49+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:49+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:49+05:30" level=info msg="syncthing local=true is not ready yet" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:52+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:52+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:54+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:54+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:57+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:57+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:59+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:31:59+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:02+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:02+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:02+05:30" level=info msg="syncthing local=true is not ready yet" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:04+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:04+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:07+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:07+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:09+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:09+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:12+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:12+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:14+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:14+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:14+05:30" level=info msg="syncthing local=true is not ready yet" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:17+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:17+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:19+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:19+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:22+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:22+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:24+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:24+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:27+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:27+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:27+05:30" level=info msg="syncthing local=true is not ready yet" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:29+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:29+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:32+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:32+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:34+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:34+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:37+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:37+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:39+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:39+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:39+05:30" level=info msg="syncthing local=true is not ready yet" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:42+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:42+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:45+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:45+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="retrying syncthing call[rest/system/ping] local=true: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="error pinging syncthing: failed to call syncthing [rest/system/ping]: Get \"http://localhost:50567/rest/system/ping\": dial tcp [::1]:50567: connectex: No connection could be made because the target machine actively refused it." action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="starting shutdown sequence" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="sent cancellation signal" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="stopping syncthing" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="ssh forward localhost:50566->0.0.0.0:8384 -> done" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="failed to stop syncthing during shutdown: error getting syncthing process 16240: process does not exist" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="stopping forwarders" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="ssh forward localhost:5005->0.0.0.0:5005 -> done" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="ssh forward localhost:50565->0.0.0.0:22000 -> done" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="stopped k8s forwarder" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="stopped SSH forward manager" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="completed shutdown sequence" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="activate failed with: syncthing local=true didn't respond after 1m0s" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2
time="2023-08-14T10:32:47+05:30" level=info msg="exit signal received due to error: syncthing local=true didn't respond after 1m0s" action=66c8d5ba-9568-438b-9379-75f260fb3d8b version=2.18.2

Hi @adripedriza,
I think syncthing.exe is not allowed to execute in my system due to policy applied on my system. Not sure if there is any alternative or workaround you can suggest.

Thanks,
Prasanta

Hello @prasanta,

Sorry to hear that. Unfortunately, Syncthing is the service used to sync your local files with the development container in the cluster. As of today, there is no alternative to use the okteto up command with a sync service other than Syncthing.

Best regards

Hi @adripedriza,
Finally I could execute syncthing using remote development feature of intellij with WSL. Now it is working. Thanks you.