googleapis / nodejs-logging-winston

Node.js client integration between Stackdriver Logging and Winston.
https://cloud.google.com/logging/
Apache License 2.0
105 stars 50 forks source link

3 INVALID_ARGUMENT: Timestamp is over a day in the future #849

Open JMTK opened 1 month ago

JMTK commented 1 month ago

Hello! We started receiving this error on our Cloud Instance and we're not quite sure what is causing it, but it seems to originate from doing the log streaming using this package.

I found someone had a similar issue back in 2022, but seemingly no actual fix was put in place: #736

Error: 3 INVALID_ARGUMENT: Timestamp is over a day in the future
  File "/workspace/node_modules/@google-cloud/logging/node_modules/@grpc/grpc-js/src/call.ts", line 82, col 17, in callErrorFromStatus
    const error = new Error(message);

image

From what I can gather about that IP address, it is used for getting information about an instance. I was reading about a similar issue here: https://github.com/googleapis/google-cloud-go/issues/9350

Environment details

Steps to reproduce

  1. Unsure