Error: mismatched message type

Hello,

I’m having trouble debugging the envoy inside the pod.
Following the documentation (https://istio.io/v1.7/docs/ops/diagnostic-tools/proxy-cmd/)
when trying to run the commands

istioctl proxy-config listener [<pod-name [.namespace]>]

istioctl proxy-config cluster [<pod-name [.namespace]>]

I’m receiving the following message:

Error: mismatched message type: got “envoy.config.listener.v3.Listener” want “envoy.api.v2.Listener”
Error: mismatched message type: got “envoy.config.cluster.v3.Cluster” want “envoy.api.v2.Cluster”

Someone could tell me the reason for the error message.
I am using istio version 1.7.3.

what istioctl version are you using? i think you might need to use the coresponding istioctl version that you have running

1 Like

@nick_tetrate, how are you?
I hope you’re well.
How can we do to update only the istioctl client version that is in 1.6.5?
Since Telemtry, Pilot and Data Plane are at version 1.7.3.
Thanks.

You can download different versions of istioctl via the command below. try using the istioctl version that matches your data plane

$ curl -L https://istio.io/downloadIstio | ISTIO_VERSION=1.6.8 TARGET_ARCH=x86_64 sh -
1 Like