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.

Error: 4 DEADLINE_EXCEEDED: Deadline exceeded

See original GitHub issue

Error: 4 DEADLINE_EXCEEDED: Deadline exceeded at Object.callErrorFromStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/call.js:31:26) at Object.onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client.js:391:49) at Object.onReceiveStatus (/usr/src/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181) at /usr/src/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:187:78 at processTicksAndRejections (internal/process/task_queues.js:77:11) at runNextTicks (internal/process/task_queues.js:64:3) at listOnTimeout (internal/timers.js:526:9) at processTimers (internal/timers.js:500:7)

We’re experiencing the issue on our production server at intervals.

Environment details

  • OS: Linux
  • Node.js version: 14.19.1
  • npm version:
  • @google-cloud/pubsub version: ^2.18.5

Thanks!

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:6
  • Comments:12

github_iconTop GitHub Comments

1reaction
gautier-gdxcommented, Jun 24, 2022

@mr-pascal Thanks a lot!

CPU allocation: CPU is always allocated might be not related because we’re already running with that configuration and we’re still getting error.

0reactions
peergumcommented, Oct 28, 2022

I keep having this issue, despite not using pub/sub but http requests. I thought it was related to cloud-tasks…

You may want to check this, if you use tasks too: stackoverflow issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting DEADLINE_EXCEEDED errors on Cloud ...
A Deadline Exceeded error may occur for several different reasons, such as overloaded Cloud Spanner instances, unoptimized schemas, or ...
Read more >
Error: 4 DEADLINE_EXCEEDED: Deadline Exceeded at ...
I am trying to create a google cloud task from one of my Google Cloud Functions. This function gets triggered when a new...
Read more >
Multiple request at same time alway throw this error - "4 ...
Multiple request at same time alway throw this error - "4 DEADLINE_EXCEEDED: Deadline exceeded" #397. Closed. xesunny opened this issue on Apr 8, ......
Read more >
context deadline exceeded - Errors in Go
DeadlineExceeded → "context deadline exceeded" package documentation: context ... time your program was doing something //Check context for error, If ctx.
Read more >
Why am I seeing `context deadline exceeded` errors
Most HashiCorp software, including Vault, is built using Go. We use contexts for connections to provide a timeout or deadline mechanism. The ...
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