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
4 answers

Could not find a package configuration file provided by "Protobuf" with any of the following names: ProtobufConfig.cmake protobuf-config.cmake

Trying to compile the quick start example for GRPC. It produces these errors: CMake Error at /home/priya/grpc/examples/cpp/cmake/common.cmake:101 (find_package): Could not find a package configuration file provided by "Protobuf" with any of the…
2
votes
1 answer

GRPC bidirectional stream closes after 1 minute without messages

I am opening a GRPC bidirectional stream with a server (python3.8 specifically). After I get some data from the server, I have to do a time consuming task (it takes about 3 minutes). While doing this, I am keeping the channel open to send the…
Teshan Shanuka J
  • 1,448
  • 2
  • 17
  • 31
2
votes
0 answers

gRPC and gRPC-web backend not connecting though kubernetes nginx ingress

I have a gRPC server set up in AWS EKS, and use Nginx-Ingress-Controller with network load balancer , infornt of gRPC , Envoy is using , So it will come like that - NLB >> Ingress >> envoy >> gRPC problem is when we make reqy=uist from bloomRPC ,…
shufilkhan
  • 521
  • 2
  • 6
  • 22
2
votes
0 answers

How to use X.509 with SslServerCredential?

I have a grpc based client-server app on .NET Framework(no .NET Core libraries used) .I want to secure the connection using SSL encryption.I know it can be done by using SslServerCredentials on the server side and SslCredentials on the client side…
2
votes
0 answers

In Chrome dev tools is it possible to decode the binary response with content type application/protobuf over HTTP

I have an endpoint called over HTTP that responds with application/protobuf content type data but the content is in binary I believe. When looking at it on Chrome is it possible to decode it somehow?
user313551
  • 355
  • 4
  • 15
2
votes
1 answer

After make install via cmake - grpc forlders is empty

I try to installing GRPC from sources. I have Oracle Linux 7.9, GCC 10.2.1 from devtoolset-10 and cmake version 3.21.0-rc1 built from sources. The way i used: git clone --recurse-submodules -b v1.37.0 https://github.com/grpc/grpc cd grpc mkdir -p…
Alrodemoa
  • 41
  • 4
2
votes
0 answers

Grpc Client throws Grpc.Core.RpcException (Response protocol downgraded to HTTP/1.1.)

I spend the last three days (Reading Docus, Trying different vesions of VS and .NET, check questions in Stackoverflow, issues in github, ...) about my Grpc client, the server start fine but the client never work, I tried Grpcurl it's works fine but…
MaJiD
  • 74
  • 1
  • 8
2
votes
1 answer

handle grpc errors in interceptors

I am using grpc in flutter. My question is how can I handle GRPC errors using interceptors. My purpose is to handle all the error at the same place. I would really appreciate your help.
Khamidjon Khamidov
  • 6,783
  • 6
  • 31
  • 62
2
votes
1 answer

How to add interceptor to grpc mobile client in flutter

I am using grpc+protocol buffers in Flutter Mobile Client. My question is how can I add interceptors to grpc request/responses so that I will be able to log as much as I want from the same place? I also need to send these request/responses to…
Khamidjon Khamidov
  • 6,783
  • 6
  • 31
  • 62
2
votes
0 answers

Envoy always getting SSL Error for grpc-web and grpc

I have using Envoy for grpc-web and grpc service, but it is always getting SSL error. envoy version: 98c1c9e9a40804b93b074badad1cdf284b47d58b/1.18.3/clean-getenvoy-b76c773-envoy/RELEASE/BoringSSL stating command : sudo envoy -c…
shufilkhan
  • 521
  • 2
  • 6
  • 22
2
votes
1 answer

How to retain "camelCase" of the proto message fields using "grpc-web_out" command? any additional options available?

I have generated JavaScript files by compiling proto files with "grpc-web_out" command. These myptoto_pb.js file contains all proto message fields in flatcase (case insensitive). Is there any additional option which I am missing out here? How do I…
2
votes
2 answers

Elegant way to handle goroutine in IO wait state in GRPC

Our server (grpc-gateway + grpc) is running on K8S with go 1.13, and terminate stack information Last State: Terminated Reason: Error Message: o.(*Reader).fill(0xc002ec78c0) …
zangw
  • 43,869
  • 19
  • 177
  • 214
2
votes
0 answers

Is there a way to monitor pending request for gRPC server in C++

We are using gRPC C++ library, 1.36.0. The number of max concurrent streams are set to, for example, 200. We are using gRPC in async mode and serval worker threads (for example, 4 worker threads) are set to processing the requests. My question is if…
guan boshen
  • 724
  • 7
  • 15
2
votes
1 answer

AWS ALB + ECS + gRPC + NestJS, '14 UNAVAILABLE: Trying to connect an http1.x server'

Here is the thing: We have NestJS microservices talking through gRPC. We deploy it to AWS ECS on Fargate. In the current (working) configuration we're using one instance per service and a CloudMap for service discovery. Now we want to have multiple…
2
votes
2 answers

How to add multiple services in grpc-js server?

Lets say I have .proto file like below: service SvcOne{ rpc MehtodOne(RequestOne) returns (ResponseOne) {} } service SvcTwo{ rpc MethodTwo(RequestTwo) returns (ResponseTwo) {} } message RequestOne { string field_req= 1; } message…
Bram
  • 25
  • 7
1 2 3
99
100