-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
grpc: received message larger than max (4564294 vs. 4194304) #1539
Comments
This output is not from buildkit afaics. We can increase grpc message size but we would need to understand what request is hitting the limit and in what condition. |
this is a maven projecct ,the compile output is
|
edit this file
Can it be set as a parameter ? |
Can you test with master buildkit/buildctl with If that is the case it looks partly as maven error as well. Buildkit is not enabling tty when calling maven so it shouldn't repeatedly split out the ansi codes. |
but ,Encountered another problem, It seems that the connection timed out ,how can i set ?
|
Setting it as a parameter seems wrong solution. If it is too small we should set a bigger value. But bigger values are indicator that something else is wrong. |
yes it set with --debug ,but can't see any better trace. $ buildctl --debug --addr kube-pod://buildkitd-76d67f4686-cvjqc build --opt override-copy-image=j-hub.jd.com/turbo/dockerfile-copy:v0.1. |
Using master |
i kow ,i kow ,this is not a goog idea . |
using this |
hi,i try build in my local pc, build without error ,Please help me ,what can i do ?
|
use pod.privileged.yaml install in k8s
get some error
=> => # Progress (5): 0.6/1.7 MB | 216/453 kB | 328/528 kB | 320/749 kB | 27 kB
error: rpc error: code = ResourceExhausted desc = grpc: received message larger than max (4564294 vs. 4194304)
failed to receive status
github.com/moby/buildkit/client.(*Client).solve.func4
/src/client/solve.go:258
golang.org/x/sync/errgroup.(*Group).Go.func1
/src/vendor/golang.org/x/sync/errgroup/errgroup.go:57
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1357
how can i set grpc receive msssage size ?
The text was updated successfully, but these errors were encountered: