Skip to content
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

"Could not create TLS config: failed to read mTLS cert pair" freezes build #108

Open
tmancey opened this issue Nov 28, 2024 · 0 comments
Open

Comments

@tmancey
Copy link

tmancey commented Nov 28, 2024

If the files engflow.crt and engflow.key are missing from the specified paths, reproxy becomes unresponsive instead of providing a clear error message.

Running reproxystatus -watch 1s indicated that the system status was reported as is OK.

Enabling verbose logging with export RBE_v=2 produced the following logs:

terrym@Mac 20241128T133349.693535_65803379-8b7d-409e-b2d7-51d6e8a04288 % cat reproxy.WARNING
Log file created at: 2024/11/28 08:33:49
Running on machine: Mac
Binary: Built with gc go1.21.11 X:nocoverageredesign for darwin/arm64
Previous log: <none>
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
W1128 08:33:49.733564    5489 main.go:491] Path for auxiliary metadata message descriptor file is empty.
If you want to collect backend workers' cpu/mem usage information into reproxy log, please set the --auxiliary_metadata_path flag (see instruction in api/auxiliary_metadata/readme.md).
W1128 08:33:49.735694    5489 client.go:661] Instance name was not specified.
E1128 08:33:49.735743    5489 main.go:395] Failed to initialize SDK client: failed to prepare gRPC dial options: could not create TLS config: failed to read mTLS cert pair ('/Users/terrym/engflow.crt', '/Users/terrym/engflow.key'): open /Users/terrym/engflow.crt: no such file or directory
E1128 08:33:49.744831    5489 depsscannerclient.go:65] depsscannerclient stderr:
W1128 08:33:49.744845    5489 depsscannerclient.go:590] /Users/terrym/brave-browser/src/buildtools/reclient/scandeps_server stopped with error code -1
E1128 08:33:49.744861    5489 main.go:361] Failed to initialize input processor: Failed to connect to dependency scanner service after 30 seconds: context canceled
terrym@Mac 20241128T133349.693535_65803379-8b7d-409e-b2d7-51d6e8a04288 %
@tmancey tmancey changed the title If engflow.crt and englow.key are missing from the specified paths, reproxy becomes unresponsive Could not create TLS config: failed to read mTLS cert pair Nov 28, 2024
@tmancey tmancey changed the title Could not create TLS config: failed to read mTLS cert pair "Could not create TLS config: failed to read mTLS cert pair" freezes build Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant