Questions tagged [grpc-js]

23 questions
4
votes
1 answer

NodeJS: How Is Logging Enabled for the @grpc/grpc.js Package

When creating a GRPC client in NodeJS, if I'm using the grpc package, I can start my program with the GRPC_VERBOSITY set to debug environmental variable. $ GRPC_VERBOSITY=debug node index.js and I'll get a ton of information about the network…
Alana Storm
  • 164,128
  • 91
  • 395
  • 599
3
votes
1 answer

How do you read/log gRPC HTTP headers (not custom metadata)?

I am working with gRPC and Protobuf, using a C++ server and a C++ client, as well as a grpc-js client. Is there a way to get a read on all of the HTTP request/response headers from the transport layer in gRPC? I am looking for the sort of typical…
netpoetica
  • 3,375
  • 4
  • 27
  • 37
2
votes
1 answer

"ReferenceError: process is not defined" trying to load grpc package with proto-loader and grpc-js in vue component

I have a typescript Vue.js component and I need it to make a grpc call. My proto file is in the example: https://github.com/floydjones1/ts-node-grpc/blob/main/proto/random.proto component.vue: