All Questions
Tagged with grpc-python grpc-go
13 questions
0
votes
1
answer
542
views
GRPC Retry Policy and Timeout together
We want to use GRPC config with both timeout and retryPolicy.
Config looks like
{
"methodConfig": [
{
"name": [
{
"...
1
vote
0
answers
331
views
How to connect a Python gRPC stub to a Go gRPC server in the same process
I have a Python app that loads Go code through a shared library. I want to call a gRPC server in
the Go part from the Python part of the application. I could make the Go server listen on a
TCP socket, ...
1
vote
1
answer
2k
views
Is it mandatory to capitalize the enum variables in .proto files?
I want to create a enum of the following format but my proto extension throws an error, is it mandatory to capitalise enums and use only underscores ?
enum Language {
en = 0;
en-uk =1;
en-...
1
vote
0
answers
120
views
Fault Tolerant Services for GRPC on K3s Cluster
Setup: I have a five node RPI Cluster connected with K3s (Specifically a PicoCluster 5H with 5 RPI4 8GB) in high Availability mode with embedded DB, 3 master nodes, and 2 worker nodes. I have been ...
0
votes
0
answers
1k
views
Client could not find service in gRPC server
https://pastebin.com/7vqdrHyg greet.proto
https://pastebin.com/4PYDYZ6Q greet_grpc.pb.go
https://pastebin.com/2n6n8JjS greet_pb.go
https://pastebin.com/FPpCJEGR main.go
https://pastebin.com/CXuxG5fB ...
8
votes
4
answers
26k
views
How to open a secure channel in python gRPC client without a client SSL certificate
I have a grpc server (in Go) that has a valid TLS certificate and does not require client side TLS. For some reason I can not implement the client without mTLS in Python, even though I can do so in ...
2
votes
0
answers
547
views
Disallow queuing of requests in gRPC microservices
SetUp:
We have gRPC pods running in a k8s cluster. The service mesh we use is linkerd. Our gRPC microservices are written in python (asyncio grpcs as the concurrency mechanism), with the exception of ...
1
vote
0
answers
5k
views
grpc server "connection refused"
Folks,
I'm trying to run gRPC python server with go stub.
It's working properly locally and as dockerized, however, when I'm converting to deployments and run it on kubernetes GKE cluster, I'm getting ...
0
votes
0
answers
263
views
Trouble connecting to a secure GRPC server on LAN
I have a Golang GRPC running on computer A.
(Just for reference)
func main() {
//GRPC server setup.
certFile := "ssl/server.crt"
keyFile := "ssl/server.pem"
creds, err := ...
2
votes
2
answers
10k
views
Grpc Error on Long Connections: Too Many Pings
I am building a system with a microservice architecture that communicates between services using grpc. I have a long running request in the beginning that hits a central endpoint that makes a bunch of ...
0
votes
1
answer
2k
views
How does communication between 2 microservices with grpc work?
Let's say you have an application like a bookstore, and you split it into two simple microservices in the backend ->
Microservice 1: Book purchasers (with Accounts)
Microservice 2: Book list.
Let's ...
1
vote
1
answer
344
views
Testing Grpc Services Written in Multiple Languages
So I have a fairly complex distributed system composed of multiple services (Service 1, Service 2, Service 3, and Service 4). Each one of these services is a grpc server and they often communicate ...
5
votes
2
answers
12k
views
How To Measure The Size of gRPC Response
I am trying come up with better ways to deal with the 4mb message size limit in grpc. I need a way to measure the size of the grpc response received on client side. When the response exceeds 4mb limit ...