Questions tagged [grpcurl]

27 questions
0
votes
1 answer

How to stop the errors in grpcurl within PowerShell script

I used grpcurl command line tool for grpc requests. I include my grpc requests in PowerShell script. when some requests have a failure statue PowerShell script will throw errors. I want to block the errors from being shown in script's output. I…
user17508887
  • 57
  • 1
  • 7
0
votes
1 answer

How to send a .google.protobuf.BytesValue via grpcurl?

i am planning to call following message using grpcurl. How to send a .google.protobuf.BytesValue via grpcurl? message TestRequest { .google.protobuf.BytesValue TestJson = 1; string Temp = 2; }
Lava Sangeetham
  • 2,943
  • 4
  • 38
  • 54
0
votes
1 answer

How to get the status code within the response in grpcurl?

I use grpcurl for grpc request. I have the following request: grpcurl -plaintext -import-path C:/Users/username -proto file.proto service_name/methode The mentioned request will return the following response without the status…
user17508887
  • 57
  • 1
  • 7
0
votes
0 answers

gRPC StarLink Router .Net

New Info: I thought I would paste this in full as I can not seem to find any samples on the web of a c# solution for StarLink so hopefully anyone else looking for something may find this helpful and may contribute. My New Proto File - (partial) - I…
nathan
  • 47
  • 4
0
votes
1 answer

How can I interact with containerd gRPC API using grpcurl?

Introduction There is a CLI tool to interact with containerd called ctr. However I would like to achieve the same results without it using curl, after searching on google it can't be done with curl but grpcurl instead. How can I do basic gRPC calls…
itasahobby
  • 301
  • 4
  • 15
0
votes
1 answer

grpcurl: how to invoke bi-directional streaming rpc in powershell?

How to invoke, in Powershell, bi-directional streaming rpc or server streaming rpc with grpcurl.exe and be able to send/receive messages continuously? I have: service Info { ... rpc LocationUpdates ( stream .reqLocation ) return ( stream…
Mario
  • 51
  • 1
  • 5
0
votes
0 answers

How to pass a grpc request via envoy proxy?

So, I have a grpc request which I invoke as follows: grpcurl -vv \ -import-path ./protos/src \ -proto protobuf/grpc/my_api.proto \ -H 'Authorization:Bearer ' \ -d '{"data":"yes"}' usvc.dev.company.com:443 …
Saturnian
  • 1,686
  • 6
  • 39
  • 65
0
votes
2 answers

can I use grpcurl to test a stream endpoint

Is it possible to test a streaming grpc endpoint using the grpcurl client tool. So far I have found How to upload an image in chunks with client-side streaming gRPC using grpcurl, however this was confusing, is there some other way to get this…
tmp dev
  • 8,043
  • 16
  • 53
  • 108
0
votes
0 answers

grpcurl to send a message of type 'Any'

How to send a message of type 'Any' using grpcurl? I have this proto: message MyRequest { string request_id = 1; repeated google.protobuf.Any payload = 2; } I am sending this request: { "request_id":"1", "payload":[ { …
Olga
  • 309
  • 4
  • 16
0
votes
0 answers

No response from Scala gRPC server only on GKE container

When the gRPC server is hosted on GKE container, and the service is called by grpcurl after port-forwarding to the target POD, onComplete is not processed and Timeout occurs. And this server, strangely enough, works on the Docker process and on…
giiita
  • 189
  • 7
0
votes
1 answer

How to upload an image in chunks with client-side streaming gRPC using grpcurl

I have been trying to upload an image in chunks with client side streaming using grpcurl. The service is working without error except that at the server, image data received is 0 bytes. The command I am using is: grpcurl -proto image_service.proto…
0
votes
1 answer

Error method: runtime error: invalid memory address or nil pointer dereference)

I'm working on a nest.js microservices project. The controllers and services are defined and the back-end runs without errors. I'm trying to create a resource(subscriptionPlan in this example) using grpCurl, like this: grpcurl -d '{ "name":…
1
2