root@94d76d4b0362:/opt/my-project# bazel build @com_github_grpc_grpc//test/cpp/util:grpc_cli
Starting local Bazel server and connecting to it...
... still trying to connect to local Bazel server after 10 seconds ...
... still trying to connect to local Bazel server after 20 seconds ...
... still trying to connect to local Bazel server after 30 seconds ...
... still trying to connect to local Bazel server after 40 seconds ...
... still trying to connect to local Bazel server after 50 seconds ...
INFO: Analyzed target @com_github_grpc_grpc//test/cpp/util:grpc_cli (52 packages loaded, 3517 targets configured).
INFO: Found 1 target...
Target @com_github_grpc_grpc//test/cpp/util:grpc_cli up-to-date:
bazel-bin/external/com_github_grpc_grpc/test/cpp/util/grpc_cli
INFO: Elapsed time: 285.202s, Critical Path: 20.05s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
root@94d76d4b0362:/opt/my-project# cp "$(bazel info bazel-bin)/external/com_github_grpc_grpc/test/cpp/util/grpc_cli" \
> /tmp/grpc_cli
root@94d76d4b0362:/opt/my-project# /tmp/grpc_cli call localhost:62831 GetTranslation 'input_word: "asylo"'
Method name not found
Failed to find method GetTranslation in proto files.
Method name not found
Method name not found
Failed to parse request.
ServerReflectionInfo rpc failed. Error code: 14, message: failed to connect to all addresses, debug info: {"created":"@1666189210.551801808","description":"Failed to pick subchannel","file":"external/com_github_grpc_grpc/src/core/ext/filters/client_channel/client_channel.cc","file_line":5420,"referenced_errors":[{"created":"@1666189210.551798026","description":"failed to connect to all addresses","file":"external/com_github_grpc_grpc/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":398,"grpc_status":14}]}