question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to grpcurl to inference.GRPCInferenceService/ServerLive

See original GitHub issue

Description I am trying to establish a health check for a grpc triton application, but I am unable to run grpcurl on the inference.GRPCInferenceService/ServerLive rpc endpoint path. When I try this:

grpcurl -plaintext localhost:8001 inference.GRPCInferenceService/ServerLive

it returns this:

Error invoking method "inference.GRPCInferenceService.ServerLive": failed to query for service descriptor "inference.GRPCInferenceService": server does not support the reflection API

Even running

grpcurl -plaintext localhost:8001 list

results in

Failed to list services: server does not support the reflection API

Is the ServerLive health endpoint supposed to be exposed via grpc reflection? Or is there another way to reach the ServerLive endpoint? Or is there yet another way to get grpc service health?

Triton Information What version of Triton are you using? Triton version 2.8.0 docker image: nvcr.io/nvidia/tritonserver:21.03-py3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
slizbcommented, Oct 20, 2021

Thank you for the feedback! Is there a Dockerfile where I can add these flags to the triton build? I see a Dockerfile.QA, and a Dockerfile.sdk in the root directory of the repo, but its not clear if one of these is more appropriate.

0reactions
tanmayv25commented, Oct 25, 2021

I see a Dockerfile.QA, and a Dockerfile.sdk in the root directory of the repo, but its not clear if one of these is more appropriate.

These docker files don’t build the tritonserver application. Look at the build.py to see how the tritonserver application gets built. You may need to add an additional flag to build the application with grpc reflection.

Specifically, the grpc_endpoint gets built via cmake here: https://github.com/triton-inference-server/server/blob/main/src/servers/CMakeLists.txt#L48

The main application gets built here: https://github.com/triton-inference-server/server/blob/main/src/servers/CMakeLists.txt#L257

As per the links in https://github.com/triton-inference-server/server/issues/3465#issuecomment-944358027, it appears linking grpc++_reflection to the grpc endpoint or main application should do the trick.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reflection issues #22 - fullstorydev/grpcurl - GitHub
I have a proto set with 3 gRPC services (and some external dependencies) that compiles appropriately on the protobuf side, compiles and runs ......
Read more >
Can't send a request using grpcurl - Stack Overflow
I suspect (!) the issue is that you're on Windows but using a forward-slash ( / ) between src/user whereas on Windows (!...
Read more >
gRPCurl examples - Open Management
gRPCurl is a command-line tool that lets you interact with gRPC servers: ... If the method of reboot is not supported then the...
Read more >
Using gRPCurl to interact with gRPC services - YouTube
In this video I show you how to use the command line tool gRPCurl to make requests with gRPC ... Your browser can't...
Read more >
The Tale of gRPCurl | FullStory
gRPCurl is a command-line tool that allows you to query your gRPC servers. This is how it came to be.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found