grpc-node: Tracking issue for grpc-js invalid metadata errors
This is a tracking issue for the following error message output by @grpc/grpc-js
:
Failed to add metadata entry <key>: <values>. <Extra error information>. For more information see https://github.com/grpc/grpc-node/issues/1173.
This is not a fatal error. Most applications should work as normal after seeing this. This error message indicates that a key/value pair has been omitted from the response metadata object as a result of some kind of data corruption.
This problem was originally reported at googleapis/nodejs-datastore#415. So far, all detailed reports have a timestamp as the value in the error message.
If you see this message with timestamp metadata values when making a request to a Google server from a Google Cloud server using a Google Cloud API client library or Firebase, please add a +1 reaction to this comment to help us track how frequently it happens
If you received this message using a different library or from accessing a different server, please share the following information to help us find the root cause of the error:
- The library you are using directly
- Where you are running your code (a cloud provider, a personal computer, etc.)
- The domain name of the server you received the invalid metadata from (if you know it)
- Your full error message
In addition, if you can get such a thing it would be very helpful to have a tcpdump
of an unencrypted TCP session that triggers this error.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 76
- Comments: 33 (10 by maintainers)
We are using
@google-cloud/pubsub@1.2
and the error we are getting is:same issue happening over several million messages
We encountered this problem while moving from AWS NLB to AWS ALB with grpc support and migrating from grpc-node C++ to grpc-js in the server.
We’re using
@grpc/grpc-js@1.3.0
I enabled the trace and logs in the server and for us, it seems to be failing the request every time it happens. Here’s an example of a request from web service to data service.
Could it be something with AWS or something that should be addressed in the server/client?
We’re using
"@google-cloud/pubsub": "1.1.6"