No sidecar proxy registered for <service_name>

Hello,

I am trying to setup a service mesh but it seems I cannot start the Consul’s built-in proxy. Here’s my service definition file :slight_smile:

service {
  name = "WlsOsb"
  address = "WlsOsbMngdB1........."
  port = 8601
  token = "xxxxxxxxxxx"
    connect {
      sidecar_service {
        proxy {
          destination_service_name = "WlsOsb"
          destination_service_id = "WlsOsb"
          local_service_address = "WlsOsbMngdB1..................."
          local_service_port = 8601
          config {
            bind_address = "10.4.124.13"
            disable_tcp_check = false
           }
        upstreams = []
        mesh_gateway = {}
        expose = {}
      }
    }
  }
  check {
    id = "WlsOsb-check",
    tcp = "WlsOsbMngdB1............:8601"
    interval = "1s",
    timeout = "1s"
  }
}

And here’s the result when i try to start the proxy from the CLI :

consul connect proxy -sidecar-for WlsOsb  -token xxxxxxx -log-level=debug
==> Consul Connect proxy starting...
==> Error preparing configuration: No sidecar proxy registered for WlsOsb

I am surely doing something wrong here.

Oli

1 Like

Hopefully, you have solved this issue and can share the solution as you are not the only one who is experiencing it.
Would be even better if someone from Hashicorp replied :cowboy_hat_face: