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.

Regular error showing Total timeout of API google.logging.v2.LoggingServiceV2 exceeded 600000 milliseconds

See original GitHub issue

Hi, Im getting a similar error:

C:\Users\Lenovo\myproject\node_modules\google-gax\build\src\normalCalls\retries.js:66
                const error = new googleError_1.GoogleError(`Total timeout of API ${apiName} exceeded ${retry.backoffSettings.totalTimeoutMillis} milliseconds before any response was received.`);
                              ^

GoogleError: Total timeout of API google.logging.v2.LoggingServiceV2 exceeded 60000 milliseconds before any response was received.
    at repeat (C:\Users\Lenovo\myproject\node_modules\google-gax\build\src\normalCalls\retries.js:66:31)
    at Timeout._onTimeout (C:\Users\Lenovo\myproject\node_modules\google-gax\build\src\normalCalls\retries.js:101:25)
    at listOnTimeout (node:internal/timers:557:17)
    at processTimers (node:internal/timers:500:7) {
  code: 4
}

Im using: “@google-cloud/language”: “^4.2.8”, “@google-cloud/logging”: “^9.6.2”, “@google-cloud/storage”: “^5.15.0”,

with: “google-gax”: “^2.28.1”.

I’m running a nestjs app and using Google Logging for NodeJS

Thanks a lot in advance for your help!

_Originally posted by @yhernesto in https://github.com/googleapis/nodejs-logging/issues/972#issuecomment-968173656_

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:8
  • Comments:14 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
bhrcommented, Jan 12, 2022

Seeing the same issue on multiple Cloud Run instances.

Using:

    "@google-cloud/error-reporting": "^2.0.4",
    "@google-cloud/logging": "^9.6.3",
    "@google-cloud/logging-winston": "^4.1.1",
    "winston": "^3.3.3"
3reactions
jyu-hcacommented, Nov 30, 2021

Hi, I’m also getting this error in google cloud function.

node v12, “@google-cloud/logging”: “^9.2.2”, “@google-cloud/logging-winston”: “^4.0.4”, pub/sub cloud function

The cloud function finished with status ‘ok’ at 18:40:27, and then it arises an Unhandled rejection and timeout error at 18:41:45

image image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Regular error showing Total timeout of API google.logging. ...
Regular error showing Total timeout of API google.logging.v2.LoggingServiceV2 exceeded 600000 milliseconds #972.
Read more >
Regular error showing Total timeout of API google.logging. ...
Regular error showing Total timeout of API google.logging.v2.LoggingServiceV2 exceeded 600000 milliseconds. This issue has been created since 2021-11 ...
Read more >
Package google.logging.v2
Deletes a view on a log bucket. If an UNAVAILABLE error is returned, this indicates that system is not in a state where...
Read more >
node.js - Retry total timeout exceeded before any response ...
I solved this problem by adding this "google-gax": "1.6.2" in package.json. @grpc/grpc-js@0.6.x has memory leak issues. grpc was required by ...
Read more >
"Retry total timeout exceeded before anyresponse was ...
Yesterday we switched from @google-cloud/speech version 0.9.2 to version 0.10.1. The first 5 audio files that we transcribed over the course of an...
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