Questions tagged [grpc-node]

grpc-node is a high-performance, open-source universal RPC framework for Node.js platform.

gRPC is an open source remote procedure call (RPC) system initially developed at Google. It uses HTTP/2 for transport, Protocol Buffers as the interface description language, and provides features such as authentication, bidirectional streaming and flow control, blocking or nonblocking bindings, and cancellation and timeouts.

grpc-node repository

gRPC Node Quick Start

222 questions
0
votes
1 answer

How does communication between 2 microservices with grpc work?

Let's say you have an application like a bookstore, and you split it into two simple microservices in the backend -> Microservice 1: Book purchasers (with Accounts) Microservice 2: Book list. Let's say you make a request from the front end, goes…
TheRoadLessTaken
  • 531
  • 2
  • 7
  • 15
0
votes
1 answer

Does GRPC Middleware library support grpc-node?

Does GRPC Middleware library support grpc-node? I'm interested in logging grpc proto requests, and it seems like I might have to learn golang in order to have a logging feature?
TheRoadLessTaken
  • 531
  • 2
  • 7
  • 15
0
votes
1 answer

Concerns with gRPC architecture (gRPC, nginx, docker)

I'm currently trying to create a tracing tool for fun (which supports gRPC tracing) and was confused as to whether or not I was thinking about this architecture properly. A tracing tool keeps track of the entire workflow/journey of the request (from…
TheRoadLessTaken
  • 531
  • 2
  • 7
  • 15
0
votes
1 answer

What are the causes for os_error: message too long

We have a client and server communicating each other with grpc. Previously the server was running on Windows Server, and the client running on Linux or MacOS. Everything works perfectly until we migrate the server from Windows Server to a docker…
WindMemory
  • 570
  • 1
  • 4
  • 16
0
votes
1 answer

#grpc node client allow signed certificate

i have a self signed grpc service on server, and got it working for dart server with dart client. But i could not figure how to bypass or allow self signed certificate for node client.. I've tried this: const sslCreds = await…
James Tan
  • 1,336
  • 1
  • 14
  • 32
0
votes
1 answer

Long delay while connecting to a server which runs over IPv4

I'm connecting from NodeJS to the gRPC server which runs over IPv4. I create a gRPC client using address of format : (not :). The communication between the server and the client is encrypted using SSL, so I cannot…
Pasick
  • 384
  • 2
  • 7
0
votes
1 answer

WARNING: RPC failed: Status{code=NOT_FOUND, description=Not found, cause=null} when trying to use GRPC in java and Nodejs

I am currently trying to send a request to a nodejs server from a java client that I created but I am getting the error that is showing above. I've been doing some research on it but can seem to figure out why it is happening. The server I created…
0
votes
1 answer

get data from database inside a gRPC function in nodejs

I have been trying make a function that returns a token by subject with grpc nodejs and mongodb. proto file syntax = "proto3"; package tokens; service tokenService { rpc getToken (TokenRequest) returns (TokenReply) {} } message TokenRequest…
abedelhak
  • 1
  • 1
0
votes
1 answer

Getting a grpc error on Fabric 2.0 , container is unable to see the grpc_node.node located in musl folder in a box that has no internet

I am working on a box that has no internet. Successfully did ./byfn.sh and ./startFabric.sh in the fabcar after ftp into it all the required docker images, go files etc. However I am running into a problem while doing ./startFabric.sh typescript…
0
votes
1 answer

How to get metadata from a gRPC service method in Node

I have a gRPC service running like this: server.addService(PassportService, implementation); server.bind(mfeConfig().grpc.passport, grpc.ServerCredentials.createInsecure()); server.start(); I can call my service from a client like this: const…
Samo
  • 8,202
  • 13
  • 58
  • 95
0
votes
1 answer

Are there any examples of multiple grpc services working alongside eachother

Multiple gRPC Services Example Hello, coming from a restful Scala play framework world. I was wondering if anyone knows of any example projects, videos, medium articles related to stringing together multiple services to cal eachother. All the…
0
votes
1 answer

QUIC protocol on Node.js gRPC library

Is there a way to enable QUIC protocol in Node.js gRPC library? On client side (Android app), I can swap out the transport channel for Cronet's implementation which supports QUIC, but I can't figure out how to enable the protocol on server's side.…
koperko
  • 2,447
  • 13
  • 19
0
votes
1 answer

gRPC client streaming rpc pipeline error.(write after end ERROR)

I am studying gRPC server-client programming on node runtime. I've encountered an error in client streaming rpc. please see the following rpc method signature. service RouteGuide{ rpc DataStreaming(stream File) returns (Stats) {} } message…
0
votes
0 answers

grpc TCP Read Failed Error on Travis CI, where goes wrong?

I write some tests that involve grpc invoking and 100% pass on local machine, but on Travis CI build, it's 100% fail claiming: TCP Read Failed, can anyone shed some light on where goes wrong? Detail logs…
Jeff Tian
  • 5,210
  • 3
  • 51
  • 71
0
votes
1 answer

gRPC - Node Js - How to send request from client to server with different port?

I'm a new in gRPC. I code my app with gRPC. It's working good with client and server in same port. Now, I want to set up the client port differently from the port on the server. I'm find many hours this problem in Google but I cant find it. What can…
Nguyen Van Tuan
  • 95
  • 1
  • 11
1 2 3
14
15