Skip to main content
1 vote
0 answers
28 views

Can I use asyncio.Event.wait() instead of gRPC await server.wait_for_termination()

The typical approach for gRPC AsyncIO is await server.start() try: await server.wait_for_termination() except: ... But I was wondering rather than dealing with it via a hard stop because ...
Archimedes Trajano's user avatar
0 votes
0 answers
25 views

Locust do not log success in case of GRPC endpoint returning a stream

Locust do not log success in case of GRPC endpoint returning a stream Below is my setup : locust 2.33 python grpcio 1.70.0 grpcio-tools 1.62.1 protobuf 4.25.3 Please help me solving the issue as I ...
Sudeep Bidwai's user avatar
2 votes
1 answer
100 views

bazel build and run grpc server with python

I am trying to setup a larger bazel infrastructure to Create .py files from a .proto file for gRPC using rules_proto_grpc_python Run the server code that implements the interfaces defined in 1 via a ...
kgully's user avatar
  • 682
0 votes
0 answers
43 views

gRPC - How to add custom encryption in Python?

Promblem Formulation Hello there, I am new to gRPC. Recently I am trying to write a python client, which emulates gRPC connection with a remote server which has custom encryption and compression on it'...
imakak's user avatar
  • 328
0 votes
1 answer
83 views

gRPC error "sendmsg: Result too large (34)"

I am in corporate environment. I use gRPC as RPC means to implement a workflow automation. Some of the messages do implement one-directional streaming, typically for uploading/downloading files. I am ...
minice's user avatar
  • 81
0 votes
0 answers
87 views

gRPC Observability in Python for aio.server

I would like to publish metrics of my gRPC services for a prometheus server. The names of metrics must commit opentelemtry semantic conventions. I have installed grpcio-observability and follow its ...
Pablo Campillo Sánchez's user avatar
0 votes
1 answer
196 views

Handle multiple gRPC server side streams in Python

I am quite deperate because I simply cannot find a solution for my problem. Scenario My python application acts as a gRPC server. The request that is made is a server side stream so the client asks ...
tiko's user avatar
  • 17
1 vote
0 answers
76 views

How can I implement dynamic connections with gRPC in Python?

I'm working on a project using Docker in which I need to dynamically compile a gRPC protofile and then create the connection and make a request to the server using the method defined in said protofile....
YerMarti's user avatar
0 votes
0 answers
51 views

how to handle the ungraceful disconnection in grpc python server when using streaming response?

I'm develop a bidirectional streaming rpc and test it with a simple client. I found the server doesn't work as expected when the client is killed. For convenience, I will give a simple example: import ...
silence's user avatar
0 votes
0 answers
51 views

Running into 500 deadline exceeded errors in a cross-service GRPC request

I'm dealing with one of the hardest bugs of my career. To start with a brief summary: I have two services, both written in python. The first (henceforth referred to asclient), is an http-serving API ...
Peter Dolan's user avatar
0 votes
0 answers
220 views

How to use gRPC client event listener as a source for Apache Flink

I am trying to implement a gRPC client as a source for my Apache Flink application. The goal is to read streaming data from a gRPC event listener (the gRPC client is salesforce PubSub Api for Change ...
R_M_R's user avatar
  • 63
0 votes
0 answers
69 views

Getting Error Exception calling application: [Errno 5] Input/output error sometimes

my sample.proto file syntax = "proto3"; package protofile; import "google/protobuf/timestamp.proto"; import "google/protobuf/struct.proto"; option go_package = "./...
user15511887's user avatar
0 votes
1 answer
246 views

Is there any specification on gRPC support guarantees as there is with protobuf?

For protobuf there are these 2 documents detailing for how long a version is supported (maintained) and what it the compatibility between code generated with some version when used with a runtime with ...
luca's user avatar
  • 111
1 vote
0 answers
93 views

Python gRPC client not reusing HTTP2 connection

I have a Python gRPC server inside a Kubernetes cluster. The gRPC server implements a Ping method. The server is load-balanced through Ingress Nginx, using the proper configuration (based on the ...
edthrn's user avatar
  • 1,182
0 votes
0 answers
45 views

grpc with python client connect to the cpp sever failed

I try to realize the python call c++ by grpc, in client use the python and sever is c++, c++ is correct, but when I run 'python3 client.py' is raise error details = "failed to connect to all ...
wq3333's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
30