-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
new: Support Bazel Remote APIs. #1651
base: master
Are you sure you want to change the base?
Conversation
4d62cd9
to
f44f5d0
Compare
Hey, I have seen that this feature was not introduced into the 1.29 release. Maybe I can support here. |
@harlequin The requests from moon to bazel-remote fail with cryptic http2 errors that I've been unable to figure out. |
As far as I remember HTTP2 implies that you have SSL enabled. Will try to setup an environment for testing. |
Yeah I think the problem has to do with the bazel/tonic libraries being http2, while bazel-remote is http1, and the communication between the 2 just isn't working. This area isn't an expertise of mine. |
I have played around with the remote service ... What I have found so far 1. TLS has to be activated and the endpoint has to include https://docs.rs/tonic/latest/tonic/transport/channel/struct.ClientTlsConfig.html#method.assume_http2 endpoint = endpoint
.tls_config(
ClientTlsConfig::new()
.with_enabled_roots()
.assume_http2(true)
)
.unwrap(); With this setting I can connect to the remote service 2. GZIP, ZSTD compression So with the enabled connection moon tries to upload the cache into the remote service bazel-remote-service shows
But on moon side I am receiving
So what I have seen bazel-remote supports My best guess by today, that something has to change additional to the compression ... Hope this helps |
Will start with caching.