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

Odd grpc error #6434

Open
nicks opened this issue Sep 6, 2024 · 0 comments
Open

Odd grpc error #6434

nicks opened this issue Sep 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nicks
Copy link
Member

nicks commented Sep 6, 2024

From John in tilt slack-

Hey, I'm having trouble with my setup and I'm not sure how to debug it. Basically I'm seeing the error

 Build Failed: failed to dial gRPC: unable to upgrade to h2c, received 404

when running a docker_build, however running tilt docker --built . works fine. I am using minikube in rootless podman so I suspect there is something about that setup which is causing issues. Here is the output of doctor:

 Tilt: v0.33.20, built 2024-09-03
 System: linux-amd64
 ---
 Docker
 - Host: unix:///run/user/1000/podman/podman.sock
 - Server Version: 5.2.2
 - API Version: 1.41
 - Builder: 2
 ---
 Kubernetes
 - Env: minikube
 - Context: minikube
 - Cluster Name: minikube
 - Namespace: default
 - Container Runtime: containerd
 - Version: v1.30.0
 - Cluster Local Registry: none
 - 

Usually i'd expect tilt to detect that podman doesn't support buildkits grpc protocol and fallback to the rest protocol.

Might be related to recent updates to docker client libs

Current workaround is to set DOCKER_BUILDKIT=0 in the env

@nicks nicks added the bug Something isn't working label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant