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.

ResourceRequest timed out

See original GitHub issue

Node: 6.9.1 configuration:

pool: {
    max: 100,
    min: 1,
    idleTimeoutMillis: 15000
}

I am getting this error when there is less traffic or there is gap between requests.

error:  { TimeoutError: ResourceRequest timed out
        at ResourceRequest._fireTimeout (/home/munir/node-workspace/server/node_modules/generic-pool/lib/ResourceRequest.js:62:17)
        at Timeout.bound (/home/munir/node-workspace/server/node_modules/generic-pool/lib/ResourceRequest.js:8:15)
        at ontimeout (timers.js:365:14)
        at tryOnTimeout (timers.js:237:5)
        at Timer.listOnTimeout (timers.js:207:5) name: 'TimeoutError' }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:13
  • Comments:74 (7 by maintainers)

github_iconTop GitHub Comments

11reactions
glebson1commented, Mar 5, 2018

If you’re using transactions in your calls it seems to be an issue. Improper usage of them makes pool get stacked. Try to get rid off them.

4reactions
dreaganlunacommented, Jun 22, 2018

I’m also getting this error. This affects our production environment rather badly every other 2 days (and the we have to restart our service). Is there any more news on this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sequelize: TimeoutError: ResourceRequest timed out
My Express app running on node 6.11 with Sequelize 4.5.0 will sometimes throw TimeoutError: ResourceRequest timed out , on operations that ...
Read more >
Debugging ResourceRequest Timed out error in Sequelize
While working on a project that involves building a small analytics platform using PostgreSQL, I ran into the ResourceRequest timed out ...
Read more >
TimeoutError: ResourceRequest timed out #7884 - GitHub
I cannot reproduce the error. Obviously there was a timeout in connecting to the DB server, it doesn't look like a bug in...
Read more >
MySQL : Sequelize: TimeoutError: ResourceRequest timed out
MySQL : Sequelize: TimeoutError: ResourceRequest timed out [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] MySQL ...
Read more >
nodejs/node - Gitter
Unhandled rejection TimeoutError: ResourceRequest timed out at ... -samples\mm-node\node_modules\generic-pool\lib\ResourceRequest.js:58:17) at Timeout.bound ...
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