grpc-python Questions
4
I'm using the very latest Ubuntu 21.04 for aarch64. In order to experiment with gRPC, I installed grpc stuff:
python3 -m pip install grpc
python3 -m pip install grpcio-tools
I also tried:
pip3 ins...
Thunderstruck asked 5/8, 2021 at 18:40
1
Here is my scenario.
The grpc server is an asynchronous sever which subscribes data from other source.
Also it provides a subscribe function to its client, thus it could push the data to the grpc c...
Jamila asked 1/8, 2018 at 1:20
3
I'm trying to send a grpc request and I'm expected to receive stream of message back. Instead I'm receiving a response as <_MultiThreadedRendezvous object>. Can anyone help me to understand w...
Irmgard asked 14/8, 2020 at 12:55
2
Solved
I am trying to understand how to handle a grpc api with bidirectional streaming (using the Python API).
Say I have the following simple server definition:
syntax = "proto3";
package simple;
serv...
Corinnacorinne asked 6/3, 2019 at 17:50
3
I am grpc rookie and wanted to create a REST endpoint for health check of the grpc server. For this I decided to use grpc gateway.
However, the example in docs for grpc-REST gateway for proxying gr...
Lanark asked 27/9, 2020 at 10:49
1
I am using grpc to send some pretty large messages (the parameters of a machine learning model over the network). The problem is that I am getting the following error when I make a grpc call:
grpc:...
Nadaha asked 21/1, 2021 at 1:26
3
I'm getting the error below when trying to call a stub method.
Any idea what is causing it?
[bolt.api.handlers] 2019-08-21 20:07:57,792 ERROR handlers:1066: 'ResourceHandler' object has no attri...
Powerhouse asked 21/8, 2019 at 21:26
2
Solved
I am hoping to run my app without any problem, but I got this attached error. Could someone help or point me into the right direction as to why this is happening?
Traceback (most recent call last):...
Gibrian asked 14/6, 2022 at 17:16
4
Solved
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...
Ruthenium asked 13/5, 2022 at 13:10
2
Solved
Hello everyone I am getting my hands dirty with gRPC and protocol buffers and have came across an article which has mentioned that the binary protobuf file for a message is 5 times smaller than Jso...
Middleclass asked 13/6, 2022 at 11:54
1
I just want to complete a simple demo, but I got this error message.
Traceback (most recent call last):
File "E:/grpc/biliService.py", line 10, in <module>
import hello_bilibili_p...
Patagium asked 18/4, 2022 at 0:46
3
I'm trying to learn gRPC and implemented the same code as in the tutorial. Wondering how to add gRPC health check to it.
Stumbled upon this, but clueless on how to write a gRPC health check.
Middleclass asked 11/7, 2019 at 8:14
3
I instantiate one grpc server per subprocess by multiprocess pool. When I use multiple clients to access the server, I found the following two problems:
all clients access same server subprocess
c...
Anglicanism asked 8/7, 2020 at 15:37
1
Solved
Is it possible to get proto files from generated pb2.py with protoc? Will be the same reverse engineering possible for gRPC?
Colicweed asked 25/12, 2021 at 12:6
1
Solved
I have a gRPC definition that contains repeated scalar values.
For example
message Request {
bool dryrun = 1;
bool verbose = 2;
bool enabled = 3;
float ratio = 4;
int32 count = 5;
string so...
Unpleasantness asked 28/9, 2021 at 15:45
3
Solved
To provide better debugging information for my GRPC server/client setup, I am trying to find an API for grpc.server that allows me to inspect what clients are connected to the server.
The most pro...
Quitt asked 27/7, 2019 at 3:23
2
I have a gRPC server which uses ProcessPoolExecutor with max_workers=1 to run a script. Here is why i had to use a ProcessPoolExecutor inside run_brain_application with max_workers=1. Below is the ...
Jonathanjonathon asked 29/11, 2020 at 19:3
1
I have written a simple GRPC service, client code in python. Sometimes out of nowhere, the client fails with the following error:
Traceback (most recent call last):
File "grpc_client.py"...
Scrapbook asked 16/2, 2021 at 12:38
1
Solved
I have an asyncio gRPC client that is used in a multithreaded environment. When multiple threads connect to the service via the client simultaneously, I see a stream of the following errors:
2021-...
Foursquare asked 28/1, 2021 at 22:8
1
I have a game or for that matter any remote user interface with a server and multiple clients which should communicate via network.
Both client and server should be able to send updates asynchronou...
Plattdeutsch asked 18/12, 2020 at 21:1
0
I am trying to understand how gRPC queues are managed and if there are any size limitations on gRPC queue size.
According to this SO post requests are queued:
If your server already processing max...
Cordell asked 14/12, 2020 at 13:58
1
I have tried really hard to use the embed retryPolicy of GRPC documentation (https://github.com/grpc/proposal/blob/master/A6-client-retries.md#retry-policy) but i fail to understand where i should ...
Easton asked 6/10, 2020 at 13:53
1
Solved
I'm developing some python microservices with grpc and i'm using docker for the cassandra database and the microservices. Is there a way to setup reload on change within docker-compose?
I'm guessin...
Astyanax asked 23/10, 2020 at 17:5
2
Solved
I am using cloud storage with App Engine Flex. Out of the blue i start getting this error message after deploy succeeds
The error is happening from these lines in my flask app.
from google.cloud im...
Tetrapody asked 6/8, 2020 at 7:5
1
When exactly a grpc client create and close connections?
I begin the code with:
channel = grpc.insecure_channel('localhost:8888')
stub = myservice_pb2_grpc.MyServiceStub(channel)
Does declaring a ...
Faceless asked 25/6, 2020 at 8:4
1 Next >
© 2022 - 2024 — McMap. All rights reserved.