grpc-python

Connect two machines using gRPC

Connect two machines using gRPC Question: I have a gRPC project that works correctly running server and client on the same machine, but when I try it using different machines in a same wifi network using IPV4, it occurs the following error on client: Traceback (most recent call last): File "client.py", line 29, in <module> …

Total answers: 2

Python protofub: how to pass response message from one grpc call to another

Python protofub: how to pass response message from one grpc call to another Question: I’m new to grpc/protobuf so please excuse any terminology errors in my question. I need to take a response from one gRPC request and feed it into the next request. I can’t figure out how to populate the "spec" line. Proto …

Total answers: 1

share variable that change after import between main process and child processes

share variable that change after import between main process and child processes Question: I’ve a project in gRPC where the main.py spawns grpc servers as subprocesses. Also in the project I’ve settings.py that contains some configurations, like: some_config = {"foo": "bar"} In some files (used by different processes) I have: import settings … the value …

Total answers: 2

Apple M1 – Symbol not found: _CFRelease while running Python app

Apple M1 – Symbol not found: _CFRelease while running Python app Question: 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): File "/Users/andre.sitorus/Documents/GitHub/nexus/automation-api/app/main.py", line 4, in <module> …

Total answers: 2

Grpc not increasing max size of the message: received message larger than max

Grpc not increasing max size of the message: received message larger than max Question: 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: received message larger than …

Total answers: 1

How to write a gRPC client in Python for a gRPC service written in Java

How to write a gRPC client in Python for a gRPC service written in Java Question: I am not able to move forward with this confusion as I don’t know what to do. Most of the tutorials in Python get the main Class name where a method is defined, not sure how to do it …

Total answers: 1