Skip to main content

All Questions

Tagged with
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
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
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
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
1 answer
221 views

Can the Python `protoc` compiler module from `grpc_tools` automatically include proto files from site-packages?

In Python, the gRPC project proto files are shipped in smaller packages. For example, I want to use status.proto, which is the grpc-status package. The protoc compiler is provided as a Python module ...
Richard Michael's user avatar
0 votes
0 answers
52 views

I'm installing Google Cloud BigQuery package, but I'm encountering vulnerabilities during corona scan

Hi I am looking for an advice. I am installing the latest Google Cloud BigQuery python package but during corona scan(cisco product which is used to find vulnerabilities in docker container image) I ...
kalyan's user avatar
  • 1
0 votes
0 answers
162 views

grpc Greeter Service sample fails randomly

I came across a problem with grpc sample code while I was testing waters with it. I noticed that client succeeds, let's say 75% of time but fails at a rate of 25% with following error: grpc._channel....
Alp's user avatar
  • 3,105
0 votes
1 answer
484 views

gRPC client request streaming: - "The client reset the request stream."

I am trying to implement request streaming from my python client to my C# server using gRPC. This is my protofile: syntax = "proto3"; service PerceiveAPIDataService { ...
Luuk Wuijster's user avatar
0 votes
0 answers
1k views

Is there any way to disable SSL-verification when sending a gRPC request from Python client? [duplicate]

I am testing a gRPC API, written in the GO language. My tests are written in Python (using grpcio lib). I need to send gRPC requests over HTTPS (using secure_channel(), as far as I understand), but ...
Костя's user avatar
0 votes
1 answer
251 views

Logging interceptor using grpc.aio python

I can't find an example implementation of a logging interceptor for python that measures the time it takes to process a request. I want to measure how long it takes to process a request on the server ...
Vyacheslav1557's user avatar
1 vote
0 answers
391 views

python gRPC authentication issues with a self signed certificates

Referred to the grpc docs: grpc docs and attempting secure authentication, I have already the certificate (.cert file), server URL, and credentials. Moreover, I am able to consume the gRPC proto using ...
Mandar Pande's user avatar
0 votes
1 answer
588 views

gRPC API versioning

There is a situation where I need to implement 2 versions of the grpc API on my server. How can I do this? syntax = "proto3"; package greet.v1; will help me to add versioning to my pb2 ...
nagibator_archivator's user avatar
-1 votes
1 answer
340 views

Why client can't acquire messages from server streaming?

I have Python server and client in gRPC. After adding ClientInterceptor I can't receive messages from unary_stream method from the server on client side. On the server side I can see that stream is ...
Afrodeziak's user avatar
0 votes
1 answer
65 views

PyMilvus Error while making ChatGPT-VoiceAssistant

Error :- \[WARNING\] PyMilvus: \[has_collection\] retry:4, cost: 0.27s, reason: \<\_MultiThreadedRendezvous: StatusCode.UNAVAILABLE, failed to connect to all addresses; last error: UNAVAILABLE: ...
B.Raghavendra's user avatar
0 votes
1 answer
438 views

How to prevent gRPC server in python from logging multiline traceback

I created a grpc server written in python. When ther is an error, I need to raise an exception in the server, this function in grpc/_servery.py fails with the raised exception. This is causing the ...
rollingbees's user avatar

15 30 50 per page
1
2 3 4 5
12