3 INVALID_ARGUMENT: Timestamp is over a day in the future
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);
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
- OS: Ubuntu Linux 22.04
- Node.js version: v20.14.0
- npm version: 10.8.1
@google-cloud/logging-winstonversion: 6.0.0
Steps to reproduce
- Unsure
Hi @JMTK , are you still running into this issue? If it's still happening for you, could you share the code snippet that demonstrates how you are formatting timestamp while using nodejs-logging-winston?