<#21573 High number of failures in writing to remo...
# github-notifications
c
#21573 High number of failures in writing to remote cache for Python project using bazel remote cache Issue created by broken-wheel Very consistently, I am seeing failure in writing to cache in the debug messages:
Copy code
[DEBUG] Failed to write to remote cache (10 occurrences so far): Internal: "h2 protocol error: http2 error: stream error received: unexpected internal error encountered"
For a new cache, I end up with 200 or so cache writes failing out of 240 or so entries. I am using defaults in
pants.toml
, except for these overrides
Copy code
session_end_tasks_timeout = 60.0
remote_cache_rpc_concurrency = 1
remote_store_rpc_concurrency = 1`
I put an nginx in front of bazel remote cache as a reverse proxy to get more info and it looks like the errors are during
POST /google.bytestream.ByteStream/Write
and they are all a MB or bigger payloads. pantsbuild/pants