I'm using Bazel 6.5.0 with nginx 1.24.0 with WebDAV support as a remote cache.
I've been getting com.google.devtools.build.lib.remote.http.HttpException returning HTTP 499 every time that Bazel is trying to download bigger files from the cache, like Docker image layers. By bigger I mean, each individual layer isn't bigger than 400MB.
I'm using Bazel 6.5.0 with nginx 1.24.0 with WebDAV support as a remote cache.
I've been getting
com.google.devtools.build.lib.remote.http.HttpException
returning HTTP 499 every time that Bazel is trying to download bigger files from the cache, like Docker image layers. By bigger I mean, each individual layer isn't bigger than 400MB.I thought that I'll deal with this issue. So first, I've read this: https://stackoverflow.com/questions/12973304/possible-reason-for-nginx-499-error-codes So it's not a remote cache issue, it's the local Bazel not being very patient.
So I read the Bazel docs, specifically this section https://bazel.build/reference/command-line-reference#flag--remote_timeout So now I think I get it, so I add this to my
.bazelrc
:However, I still get timeouts. What can I do to get rid of this non-fatal error?
UPDATE 1: These timeouts are different. Now I'm getting:
I have no idea what am I supposed to do now :/