Questions tagged [grpc]

A general RPC (Remote Procedure Call) framework over HTTP/2, initially developed at Google. gRPC is a language neutral and platform neutral framework that allows users to write applications where independent services can work with each other as if they were native. It uses Protocol Buffers as the interface description language.

Links

Related Tags

6316 questions
2
votes
0 answers

gRPC nodejs client can't send request to server because of serialization failure

I'm currently working on implementing a gRPC nodejs client that should communicate with a java/kotlin gRPC server to test out the cross language codegen. However when I try to make a call from my nodejs code I get a serialization failure and I have…
J.Pip
  • 4,523
  • 7
  • 31
  • 49
2
votes
0 answers

Detect server disconnect in gRPC Go client

I have a gRPC service simmilar to below // The greeting service definition. service Greeter { // Sends a greeting rpc SayHello (HelloRequest) returns (HelloReply) {} } // The request message containing the user's name. message HelloRequest { …
2
votes
0 answers

Envoy filter for ext_proc not reaching EOF

I am using Istio 1.16 with envoy (v1.24.1)sidecar. I have created a filter for ext_proc (v3) which connect to a remote API and send some health information on each request. ext_proc ^ | client -> envoy ->…
John
  • 666
  • 1
  • 9
  • 22
2
votes
0 answers

can gRPC message type set to strictly not null?

My goal is to create a strict protobuf. This is because the server did not tell me that I used the wrong key UserId instead of user_id when I sent a POST request. The protobuf message GarageAndUserId { string user_id = 1; Garage garage =…
Jason Rich Darmawan
  • 1,607
  • 3
  • 14
  • 31
2
votes
0 answers

gRPC: Failed to parse binary descriptor

I've been following this tutorial: https://tsh.io/blog/grpc-php/ I have everything imported, however Im getting failed to parse binary descriptor in this file. ` $pool = \Google\Protobuf\Internal\DescriptorPool::getGeneratedPool(); if…
JamieCee20
  • 41
  • 5
2
votes
1 answer

What is the recommended way to do a grpc call from inside a Typescript Vue.Js component?

After reading the documentation of grpc I see proto files can generate Node (Javascript), Typescript with plugin grpc_tools_node_protoc_ts and grpc-web. Since performance is not critical in my case I can load the .proto files with proto-loader. What…
barrelful
  • 23
  • 4
2
votes
1 answer

Protobuf-net GRPC - System.NotSupportedException: 'Specified method is not supported.'

I'm currently migrating a bunch of JSON Apis to gRPC. Once I call one of my service methods, I'm getting a "Specified method is not supported" exception with no further details. I suspect it might be something related to the nested generics, but I…
Ziad Akiki
  • 2,601
  • 2
  • 26
  • 41
2
votes
1 answer

"ReferenceError: process is not defined" trying to load grpc package with proto-loader and grpc-js in vue component

I have a typescript Vue.js component and I need it to make a grpc call. My proto file is in the example: https://github.com/floydjones1/ts-node-grpc/blob/main/proto/random.proto component.vue: