Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error reading server preface: http2: frame too large #422

Open
47295743 opened this issue Dec 16, 2024 · 1 comment
Open

error reading server preface: http2: frame too large #422

47295743 opened this issue Dec 16, 2024 · 1 comment

Comments

@47295743
Copy link

kubelet v 1.31.4

[root@test164 src]# docker version
Client: Docker Engine - Community
Version: 26.1.3
API version: 1.45
Go version: go1.21.10
Git commit: b72abbb
Built: Thu May 16 08:34:39 2024
OS/Arch: linux/amd64
Context: default

[root@test164 src]# cri-dockerd --version
cri-dockerd 0.3.15 (c1c566e)

when i start kubelet , the error is like this :

c 16 22:17:27 test164 systemd[1]: Started Kubernetes Kubelet.
Dec 16 22:17:27 test164 kubelet[5261]: Flag --cgroup-driver has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administer-cluster/kubelet-config-file/ for more information.
Dec 16 22:17:27 test164 kubelet[5261]: I1216 22:17:27.392625 5261 server.go:491] "Kubelet version" kubeletVersion="v1.31.4"
Dec 16 22:17:27 test164 kubelet[5261]: I1216 22:17:27.392830 5261 server.go:493] "Golang settings" GOGC="" GOMAXPROCS="" GOTRACEBACK=""
Dec 16 22:17:27 test164 kubelet[5261]: I1216 22:17:27.393057 5261 server.go:934] "Client rotation is on, will bootstrap in background"
Dec 16 22:17:27 test164 kubelet[5261]: I1216 22:17:27.394211 5261 certificate_store.go:143] Loading cert/key pair from ("/var/lib/kubelet/pki/kubelet.crt", "/var/lib/kubelet/pki/kubelet.key").
Dec 16 22:17:27 test164 kubelet[5261]: I1216 22:17:27.396270 5261 dynamic_cafile_content.go:160] "Starting controller" name="client-ca-bundle::/etc/kubernetes/pki/ca.pem"
Dec 16 22:17:27 test164 kubelet[5261]: W1216 22:17:27.397307 5261 logging.go:55] [core] [Channel #1 SubChannel #2]grpc: addrConn.createTransport failed to connect to {Addr: "/var/run/docker.sock", ServerName: "localhost", }. Err: connection error: desc = "error reading server preface: http2: frame too large"
Dec 16 22:17:27 test164 kubelet[5261]: E1216 22:17:27.397472 5261 run.go:72] "command failed" err="failed to run Kubelet: validate service connection: validate CRI v1 runtime API for endpoint "unix:///var/run/docker.sock": rpc error: code = Unavailable desc = connection error: desc = "error reading server preface: http2: frame too large""
Dec 16 22:17:27 test164 systemd[1]: kubelet.service: Main process exited, code=exited, status=1/FAILURE
Dec 16 22:17:27 test164 systemd[1]: kubelet.service: Failed with result 'exit-code'.

@afbjorklund
Copy link
Contributor

Your docker version is missing a server response, so the Docker setup looks broken (not working OK)

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

No branches or pull requests

2 participants