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
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
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
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
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
247 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
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
0 votes
0 answers
20 views

Is there any reason for grpcio not have Digicert G5 in its truststore?

I am currently using grpcio. My server exposes Digicert G5, but it failed with some certificate error. Then I noticed that the Digicert G5 is not in the grpcio truststore, under /lib/python3.11/site-...
Gustavo Cardona's user avatar
0 votes
1 answer
114 views

Converting django serializer data to google.protobuf.struct_pb2.Struct gives error: TypeError: bad argument type for built-in operation

I want to create a response message in grpc with the following format: message Match { int32 index = 1; google.protobuf.Struct match = 2; google.protobuf.Struct status = 3; } I have a ...
Mahsa Fathi'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
351 views

GRPC requests getting cancelled by client, despite infinite timeouts everywhere

I'm doing some tests with a grpc client/server. The code is based on the official python examples https://github.com/grpc/grpc/blob/master/examples/python/helloworld/async_greeter_server.py https://...
amro4934's user avatar
0 votes
0 answers
77 views

The grpc message failed to be sent from the container after upgrading grpc lib

We want to upgrade the java and python grpc lib of our system. They both run in the container. After the upgrade, we find the java container doesn't send out the grpc message. I used tcpdump to verify ...
Jenny's user avatar
  • 1
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

15 30 50 per page
1
2 3 4 5
21