Questions tagged [grpcurl]
27 questions
8
votes
1 answer
how to install a specific version of grpcurl?
I tried to use
go get github.com/fullstorydev/grpcurl@2108c8f
go install github.com/fullstorydev/grpcurl/cmd/grpcurl
export PATH=$GOPATH/bin:$PATH
to install grpcurl on my ubuntu box, but after that when I do grpcurl --version I still got
grpcurl…

Peiti Li
- 4,634
- 9
- 40
- 57
5
votes
1 answer
How to send a timestamp via grpcurl?
I'm writing my first API endpoint in GoLang using GRPC/proto-buffers. I'm rather new to GoLang.
Below is the file I'm writing for my test case(s)
package my_package
import (
"context"
"testing"
"github.com/stretchr/testify/require"
…

Saqib Ali
- 11,931
- 41
- 133
- 272
4
votes
1 answer
Unable to load dependent .proto files with gRPCUI
I have a simple gRPC app. I have 2 proto files.
1. greet.proto
syntax = "proto3";
import "protos/common.proto";
option csharp_namespace = "Module.SubModule.API";
package greet;
service Greeter {
rpc SayHello (HelloRequest) returns…

Shahzad
- 1,677
- 1
- 12
- 25
4
votes
2 answers
Send plain JSON to a gRPC server using python
I'm able to send requests to one of our gRPC-enabled, reflection-enabled server using grpcurl with the following syntax:
grpcurl --plaintext -d '{"test_input": "Test 1 2 3", "config": { "max_results": 3 }}' localhost:6565…

Coyotwill
- 420
- 6
- 13
3
votes
1 answer
How do I resolve getaddrinfow: The specified class was not found. when trying to call a gRPC function through grpcurl?
I'm currently trying to call a function from a gRPC server using gRPCurl, but I keep getting the following error:
Failed to dial target host "https://server.com": dial tcp: lookup tcp///server.com: getaddrinfow: The specified class was not…

Erick
- 31
- 2
2
votes
0 answers
Can't reach gRPC server exposed by a nginx ingress in kubernetes
I have a gRPC server exposed by an ingress.
Here are the nginx annotations I use :
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/backend-protocol: "GRPC"
I am able to request it using grpcurl :
grpcurl -d…

Olive
- 21
- 1
2
votes
2 answers
Can't send a request using grpcurl
I have a server using NestJs+gRPC, I storage data in PostgreSQL, there is no problems in getting data and so on. I can't send grpcurl request :((
async function bootstrap() {
const app = await NestFactory.create(AppModule);
…

Alex Kirillov
- 35
- 2
- 7
2
votes
1 answer
grpcurl call from Kubernetes cronjob
I have a grpc service running in Kubernetes. I need a Kubernetes cronjob to invoke this service using grpcurl command.
My Kubernetes cronjob yaml file looks as mentioned bellow.
When I run this cronjob in kubernetes, I receive "/bin/sh: grpcurl: not…

N-K
- 23
- 5
1
vote
1 answer
How to fix the grpc error "Failed to dial target "?
when i executed command line as follow:
grpcurl -plaintext -d "{\"job_id\": \"test\",\"batch_id\": 1}" 10.80.31.108:8083 datacenter.DatacenterService/ListStripInfo
error reported:
Failed to dial target host "10.80.31.108:8083": dial tcp…

andywang
- 11
- 2
1
vote
0 answers
Failed to list methods for service "xxx": Symbol not found: xxx
Error
./grpcurl_linux -plaintext host:port list
a.b
c.d
./grpcurl_linux -plaintext host:port describe a.b
Failed to list methods for service "a.b": Symbol not found: a.b
Env
protoc --version
libprotoc 3.6.0
why??? bug???

Ray
- 11
- 1
1
vote
1 answer
Kong grpc fails without proto
Hello I have service/route in my local kong .
I have grpc server with reflection in python. It works fine on 50051 port where grpc server is on. but when ran from kong without proto file doesnt get valid response
With -proto option using kong 9080…

javadev
- 41
- 2
1
vote
1 answer
How to use grpcurl with any automation framework?
Using grpcurl, we can interact with the gRPC services. However, response is not validated automatically. Is there a way using which we can write test cases for gRPC services using grpcurl with any automation framework?

Pratik Patel
- 115
- 1
- 2
- 8
0
votes
0 answers
How to invoke containerd API using grpcurl
I am trying to invoke the gRPC API implementation in containerd using the below command of grpcurl:
.\grpcurl -plaintext -import-path "D:\github.com\containerd\api\services\containers\v1" -proto…

Rasheed
- 11
0
votes
1 answer
Need GRPC calls to Thanos Sidecar to test if the system is working
I am trying to debug connectivity issues with Thanos Sidecar.
I have Prometheus & Sidecar set up on a rack. On another rack I have Thanos Query to query the remote Sidecar. Actually I have about 30 remote racks. The query works to some racks some…
0
votes
2 answers
Kubernetes pod's liveness probe failing without any error message
I'm running pods in EKS and in the pods there 3 containers. One of the container restarting in every 5 min with message "Liveness probe failed:". In Liveness probes there is no error message why liveness probe failed.
Here is the output of the pod…

Raghav Patel
- 51
- 1
- 2