Python grpc protobuf stubs generation issue: --grpc_out: protoc-gen-grpc: Plugin failed with status code 1

As the question says, I compiled grpc from source and also did sudo pip install grpcio, however, the which grpc_python_plugin doesn't return anything. This is a problem because the grpc python...

is it possible to use jmeter to test grpc

Was wondering if anybody has tried to use jmeter to test gRPC application. I was hoping that I could write a gRPC client class with a non-blocking/asynchronous stub that makes non-blocking calls...

Unary vs Stream benchmark

I'm start to play with some GRPC with Golang microservice applications. After read the GRPC docs something is not clear to me: When to use Unary and when to use Streaming? I mean, as example,...

How do I Import a .proto file from a dependency jar using gradle

I have a project that creates a set of protobuf objects and GRPC stubs. I have a dependency on a jar with other .proto files in it, that I would like to use in my...

Not able to connect to go grpc server using python client

I have a grpc server running in Go. I am not able to call a method into it using the python client. Not sure what is going wrong. I get the following error _Rendezvous of RPC that terminated with...

how to print the value inside a variable in cmakelist.txt

I'm using CMake for my recent project and I want to confirm that the right path is set set(_protobuf_include_path -I . -I ${_gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR}) I used message to check the...

Problem returning stream of responses from gRPC service to RESTful client

I am attempting to write a set of services that will provide a REST interface to external clients, while using gRPC/protobuf for inter-service communication internally. Spring Boot is being...

RegisterService and handler methods are not getting generate gRPC and go

I was trying to implement an example from internet for gRPC integration with go. https://dzone.com/articles/writing-a-microservice-in-golang-which-communicate So in the generated file there are...

Is there a useful pattern for unit testing with gmock for grpc Server classes?

It's tremendously helpful that there's a tool to generate mock versions of the client stubs. Testing the server side is causing me tons of headache at the moment. Enough headache where I feel like...

Unexpected call to mock ( gomock) gRPC

I have gRPC service (say svc1) which invokes another gRPC service, using its gRPC stub (say svc2_client). I have generated the client mock for svc2_client. Unit tests as per documentation are...

Performance Issue: Async gRPC with Gunicorn + Tornado

Background: We're trying to migrate our API Gateway from REST to gRPC. The API Gateway will consume by Backend Team with REST, and the communication from API Gateway to microservice will be using...

Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory

For some unknown reason, whenever I run gradle clean build after I start my notebook it works as expected. When I try for the second time, I always get Unable to delete directory...

Although I can generate the stubs with io.grpc:protoc-gen-grpc-kotlin I can't implement it

Issue: I can't implement an object autogenerated from protobuf. How reproduce: generated a project from micronaut initializer with: gRPC Application type, Java 11, Kotlin. Add...

how implement a gRPC/Proto endpoint with repeated in message (i.e nested types in request and response)

Goal: I want to code a microservice exposing an endpoint receiving and responding a message with repeated. I tried apply what I learned from Proto official guide and I coded this proto: syntax =...

How to get the request headers from a grpc request in java?

I'm building a Java grpc server and I'm having a hard time getting the request headers. The proto files are compiled using protobuf-maven-plugin, and based on the generated stubs, I can't access...

Python GRPC How to reuse channel correctly

I am writing a GRPC python client to communicate with a GRPC server as below. class GrpcClient: """ Class to send request to Grpc server. """ def __init__(self, host: str, port:...

How can I stub a gRPC or HTTP/2 request using WireMock.NET?

I have a netcore web service that makes additional calls out to other webservices. One of those other web services is gRPC-based. I would like to write some tests at the protocol level by stubbing...

Using UDP in gRPC

Is it possible to use Protobuf with UDP in gRPC? The gRPC interface seems to be entirely based on TCP connections. The only example for UDP that I could find is the one in the gRPC source code in...

Kotlin-gRPC: error: incompatible types: NonExistentClass cannot be converted to Annotation @error.NonExistentClass()

I downloaded from micronaut.lanch a simple grpc project and I can build it until I add Kotlin gRPC plugin. Beyond the changes in build.gradle.kts, there is nothing else than the original scafolded...

gRPC java client channel pooling and server concurrent request handling

We are developing grpc based services in JAVA using SpringBoot. We are following https://github.com/LogNet/grpc-spring-boot-starter @GrpcService : used at server side service @GrpcClient : used at...

Could not find protoc-gen-grpc-kotlin-1.0.0-windows-x86_64.exe (io.grpc:protoc-gen-grpc-kotlin:1.0.0)

I want to use protoc-gen-grpc-kotlin-1.0.0 from protoc-gen-grpc-kotlin and I am getting Execution failed for task ':generateProto'. > Could not resolve all files for configuration...

gRPC GO Single Generic Service Handler

I have used protoreflect to write http-to-gRPC-gateway. But I don't see any easy option to do the reverse - gRPC-to-HTTP-gateway. One of the idea is to expose GRPC to outside but use a custom...

How to implement gRPC Gateway in a node backend

I'm trying to implement gRPC gateway in a Node.JS server following the installation guide. The steps are writen for golang but I tried to do in Node.JS. I found this response, and also some...

What is the best practice for opening channels on GRPC?

There are services calling service A (10 replicas) via GRpc (100+ req/sec), java generated stubs. We don't have load balancers but I am curios what is the best practice in both cases. Should...

Generic gRPC Java Client - existing implementation

I'm searching for a way to implement generic gRPC client in java which would allow to execute calls providing .proto definition (or at least relying on generated grpc classes), service and method...

Android GRPC client http call error io.grpc.StatusException: UNAVAILABLE: End of stream or IOException

Grettings, I like to know about how to ressolve the following exception when calling a GRPC service built with NodeJS in the backend side, and deployed to internet using Repl.it. The following is...

Interceptors of dart Grpc

I'm developing a flutter app using Grpc to connect to the server. Some of the services need extra metadata for authentication, so the first thing that comes to my mind is implementing an...

Flutter/Dart + gRPC Stream error: Stream was terminated by peer (errorCode: 2)

I'm having this intermittent error come up when making a call from a Dart gRPC client to a Go gRPC server. The exact error message is: gRPC Error (code: 2, codeName: UNKNOWN, message: HTTP/2...

How do you add gRPC to Android Studio with Kotlin?

Task I need to connect an Android client with a python server using gRPC. Making the server and generating the protos was easy in Python, but the lack of tutorials and confusing documentation for...

C++ Protocol Buffer: Temporary of non-literal type 'google::protobuf::internal::CallOnInitializedMutex <std::mutex>' in a constant expression

I'm using the protoc-3.18.0-win32 version from here. After successfully compiling the .proto files, I get the following error in my QtCreator 5 (C++11)...