question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError w/ GRPC

See original GitHub issue

The following error is occurring sporadically, and causing an unrecoverable error in our production process:

/.../node_modules/grpc/src/node/src/credentials.js:108
     callback(code, message, metadata._getCoreRepresentation());
     ^
TypeError: The callback's first argument must be a status code
   at TypeError (native)
   at /.../node_modules/grpc/src/node/src/credentials.js:108:7
   at /.../node_modules/grpc/src/node/src/credentials.js:124:9
   at /.../node_modules/google-auth-library/lib/auth/oauth2client.js:286:14
   at /.../node_modules/google-auth-library/lib/auth/jwtclient.js:138:16
   at Request._callback (/.../node_modules/gtoken/lib/index.js:220:9)
   at self.callback (/.../node_modules/request/request.js:200:22)
   at emitOne (events.js:90:13)
   at Request.emit (events.js:182:7)
   at Request.onRequestError (/.../node_modules/request/request.js:831:8)

We’re using v0.33

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
NawarAcommented, Jul 13, 2016

Feel free to close, if issue arises in the future, we can then reopen

0reactions
stephenpluspluscommented, Jan 25, 2017

I’m not sure, but I think that’s a question on Express best practices, which is probably best posed to that community.

Read more comments on GitHub >

github_iconTop Results From Across the Web

gRPC Any type - Uncaught TypeError: deserialize is not a ...
The following issue led me to the solution: https://github.com/protocolbuffers/protobuf/issues/5482. The previous dev was not encoding data ...
Read more >
Basics tutorial | Node - gRPC
This tutorial provides a basic Node.js programmer's introduction to working with gRPC. By walking through this example you'll learn how to:.
Read more >
Firebase JavaScript SDK Release Notes - Google
Fixed a bug that caused Uncaught TypeError: e.auth.addAuthTokenListener is not a function . ... Replaced grpc with @grpc/grpc-js in the Node.js builds.
Read more >
grpc/grpc - Gitter
Hello, someone can help me with loadbalancing gRPC please ? ... Uncaught TypeError: Cannot read property 'UNARY' of undefined at Object.
Read more >
Datapower Gateway and gRPC - Forums - IBM Support
IBM's technical support site for all IBM products and services including self help and the ability to engage with IBM support engineers.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found