-
Notifications
You must be signed in to change notification settings - Fork 14
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
How to debug rpc failures? #6
Comments
If you need no auth between the RBE server and reproxy, you need to set |
|
Could you give more details about your server config too? Which RBE server implementation are you using? Can you share your |
@gkousik Thanks for the response. Please find the attached zip containing all the logs you have asked and the reproxy.cfg . Btw I am using the BuildGrid |
Thanks! From the reclient config, I'm not seeing a lot that's amiss. The I've never worked with Buildgrid before but from https://buildgrid.build/user/configuration.html#authorization-section, can you confirm that If you can confirm that the server config is also correct, can you also disable TLS with |
@gkousik In BuildGrid, authorization is not configured which defaults to none. I have had goma working before with these servers. Started facing this issue during the migration to reclient. I will try setting |
Hi @GiantPluto we test with a Google-internal RBE implementation which implements the RBE API specification in https://github.com/bazelbuild/remote-apis. Did |
I would like to chime in, as this issue also affected me while trying to build android using RBE. Referencing the settings the chromium kajiya reference server uses (referenced in the readme.md remote-apis) , I ended up with this config in a source script I use before sourcing build/envsetup. The compiler specific environment variables are irrelevent to the auth issue, but are included for reproducability. Afterwards, I was able to confirm that the CPU usage was not from native build tools but from bazel buildfarm itself. This appears to be due to autoauth, which is not documented whatsoever in the readme.md
|
I am trying to use the reclient with chromium where its already integrated. Modified the server and instance details to point it to the local BuildGrid server I have setup with no auth. There is no GCP involved here. On running the build. I am seeing the below failure. How can I debug RPC errors and what could be the reason?
rpc error: code = Unavailable desc = rpc error: code = Unavailable desc = retry budget exhausted (6 attempts): all SubConns are in TransientFailure, authentication type (identity) used="no authentication"
The text was updated successfully, but these errors were encountered: