buchgr / bazel-remote

A remote cache for Bazel
https://bazel.build
Apache License 2.0
594 stars 154 forks source link

Sccache check failed with 400 #764

Closed akshay24495 closed 2 months ago

akshay24495 commented 2 months ago

I am trying to use bazel remote for sccache. After starting the bazel remote server which runs in default configuration.

When I try to run sccache with bazel remote as the server pointed to it throws this error response: Parts { status: 400, version: HTTP/1.1, headers: {"content-type": "text/plain; charset=utf-8", "x-content-type-options": "nosniff", "date": "Wed, 10 Jul 2024 07:30:02 GMT", "content-length": "66"} }

http://127.0.0.1:8080/.sccache_check

mostynb commented 2 months ago

Hi, I think sccache uses its own protocol, it doesn't use either of the protocols that bazel-remote implements (REAPIv2 and bazel's older HTTP REST api).