Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Error: proto: wrong wireType = 5 for field TypeMeta #24

Open
ksexton opened this issue Jan 17, 2019 · 1 comment
Open

Error: proto: wrong wireType = 5 for field TypeMeta #24

ksexton opened this issue Jan 17, 2019 · 1 comment

Comments

@ksexton
Copy link

ksexton commented Jan 17, 2019

Kubernetes cluster: v1.11.6
Auger built from master with go get

Get Error: proto: wrong wireType = 5 for field TypeMeta instead of decoded output from etcdctl command.

Session output:

$ go get -u github.com/jpbetz/auger
$ which auger
/Users/kes/go/bin/auger
$ kubectl exec etcd-kubernetes --namespace=kube-system -i -t -- sh -c 'ETCDCTL_API=3 etcdctl --cacert=/etc/kubernetes/pki/etcd/ca.crt --key=/etc/kubernetes/pki/etcd/healthcheck-client.key --cert=/etc/kubernetes/pki/etcd/healthcheck-client.crt get /registry/pods/kube-system/kube-proxy-5vg8r --print-value-only' | auger decode
Error: proto: wrong wireType = 5 for field TypeMeta
Usage:
  auger decode [flags]

Examples:

        ETCDCTL_API=3 etcdctl get /registry/pods/default/<pod-name> \
        --print-value-only | auger decode

Flags:
      --batch-process   If set, deccode batch of objects from os.Stdin
      --file string     Filename to read storage encoded data from
  -h, --help            help for decode
      --meta-only       Output only content type and metadata fields
  -o, --output string   Output format. One of: json|yaml|proto (default "yaml")

proto: wrong wireType = 5 for field TypeMeta
$ 
@morningspace
Copy link

morningspace commented Dec 6, 2022

Same error here. I'm using KIND (Kubernetes v1.21.2)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants