gentle-flower-25372
03/09/2024, 6:18 AM06:15:31.98 [WARN] Failed to write to remote cache (1 occurrences so far): ResourceExhausted: "grpc: received message larger than max (6201193 vs. 4194304)"
broad-processor-92400
03/09/2024, 8:55 PMgentle-flower-25372
03/09/2024, 8:58 PMgentle-flower-25372
03/09/2024, 9:28 PMopts = append(opts, grpc.MaxRecvMsgSize(8388608))
After making the change I got a different error (even though similar)
20:13:34.86 [WARN] Failed to write to remote cache (1 occurrences so far): OutOfRange: "Error, message length too large: found 5790600 bytes, the limit is: 4194304 bytes"
There also isn't a single error in NGINX or bazel-remote.
Unfortunately I don't know gRPC. I've never used it, until now.fresh-continent-76371
03/09/2024, 10:38 PM--level=DEBUG
for pants, -vvv
for some other tools.
you may get enough detail to see which side of the client/server arch is complaining of the size.fresh-continent-76371
03/09/2024, 10:41 PMgentle-flower-25372
03/10/2024, 12:19 AMclient_max_body_size
to 0
before even running into this issue.little-pilot-11155
03/10/2024, 1:55 PMgentle-flower-25372
03/10/2024, 2:26 PMclient_max_body_size
.
I'm getting an actual gRPC error. But that thread does mention a pants CLI flag to increase logging for the rust code which I wasn’t aware of. I’m going to try that out and see if it reveals anything new.little-pilot-11155
03/10/2024, 10:01 PMgentle-flower-25372
03/11/2024, 12:33 AM