Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle Mongo timeout #169

Open
whomwah opened this issue Jul 17, 2020 · 0 comments
Open

Handle Mongo timeout #169

whomwah opened this issue Jul 17, 2020 · 0 comments

Comments

@whomwah
Copy link
Member

whomwah commented Jul 17, 2020

Jul 17 15:03:37 jukebox-api-prod kyan-jukebox-prod[21684]: (node:21684) UnhandledPromiseRejectionWarning: MongoTimeoutError: Server selection timed out after 30000 ms
Jul 17 15:03:37 jukebox-api-prod kyan-jukebox-prod[21684]:     at Timeout.setTimeout [as _onTimeout] (/home/jukebox/app/releases/20200717115759/node_modules/mongodb/lib/core/sdam/topology.js:897:9)
Jul 17 15:03:37 jukebox-api-prod kyan-jukebox-prod[21684]:     at ontimeout (timers.js:498:11)
Jul 17 15:03:37 jukebox-api-prod kyan-jukebox-prod[21684]:     at tryOnTimeout (timers.js:323:5)
Jul 17 15:03:37 jukebox-api-prod kyan-jukebox-prod[21684]:     at Timer.listOnTimeout (timers.js:290:5)
Jul 17 15:03:37 jukebox-api-prod kyan-jukebox-prod[21684]: (node:21684) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
Jul 17 15:03:47 jukebox-api-prod kyan-jukebox-prod[21684]: (node:21684) UnhandledPromiseRejectionWarning: MongoTimeoutError: Server selection timed out after 30000 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant