grpc-node Questions
1
Im trying to test my grpc client connection using below code.
I have .net core grpc server and using node js grpc client to connect. But getting "failed to connect to all addresses" error...
Invalidate asked 30/9, 2020 at 13:41
1
Solved
I'm doing load tests between services implemented in Node.JS, both services on the same machine connected through localhost.
There are REST and gRPC client & server files. The main goal is to p...
Luminescence asked 8/11, 2021 at 20:15
3
Commands Used to install:
npm install -g grpc-tools
yarn add global grpc-tools
While trying to install grpc-tools on mac m1 BigSur. I ran into errors pasted below:
npm ERR! code 1
npm ERR! path...
3
Solved
I'm trying to run protoc command into a docker container.
I've tried using the gRPC image but protoc command is not found:
/bin/sh: 1: protoc: not found
So I assume I have to install manually usi...
Kelp asked 2/1, 2021 at 11:29
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
2
Solved
I'm working with a GRPC service hosted with HTTPS and self-signed cert. When I connect using syntax like:
const client = new productService('https://grpc-server-xxx.com:9090',
grpc.credentials.cre...
0
I am using nodejs grpc server streaming to deliver realtime data from server to the clients. As the clients want to listen to the data, they should call a server function which returns a server str...
Devisee asked 18/5, 2021 at 12:27
0
If I have a proto3 message defined as below
message Log {
string object = 1;
string key_result = 2;
string review = 3;
repeated string tag = 4;
string begin_at = 5;
string end_at = 6;
strin...
Beleaguer asked 20/4, 2021 at 9:53
2
Solved
I am trying to create a REST server which will be based on Node/Express. How to add a GRPC server in the same REST server, or it has to be completely different NodeJS server which will host only th...
Nickolasnickolaus asked 4/7, 2019 at 5:11
2
I had read this answer: https://stackoverflow.com/a/56943771/6463558, it says that there is no way to run gRPC server and HTTP server at same address and port using grpc-node package.
But I can cre...
1
Solved
New to Google Cloud Run and trying to have two node.js microservices communicate internally via gRPC.
The client interface:
constructor(address: string, credentials: grpc.ChannelCredentials, option...
Amalgamate asked 24/8, 2020 at 17:9
2
Solved
I want to use gRPC service to communicate between my microservices. but when getting a response from Grpc service, before return a method, I want to do some modification and functionality.
sample p...
1
Solved
See https://github.com/grpc/grpc-node/issues/1202.
Usually in CRUD operations, the value not provided means do not change that field, and the empty array [] means to clear all items inside that fi...
Milton asked 27/11, 2019 at 6:13
1
Solved
Im using Nuxt.js to build a frontend for some data I pull from a REST API. Now I need to call functions on a remote service, ideally via gRPC since the service has a endpoint for that.
I searched ...
2
Solved
Our company has built an electron application using Firestore and now we are trying to deploy the application behind a corporate proxy and firewall (customer environment). After setting the proxy a...
Junker asked 21/9, 2018 at 10:5
2
Solved
I have the following proto:
syntax = "proto3";
import "google/rpc/status.proto";
message Response {
google.rpc.Status status = 1;
}
message Request {
Type name = 1;
}
service Service {
rp...
Resurrection asked 12/10, 2018 at 21:1
1
© 2022 - 2024 — McMap. All rights reserved.