Skip to content

Instantly share code, notes, and snippets.

@pwnorbitals
Created October 10, 2019 11:29
Show Gist options
  • Save pwnorbitals/267ddf406dea1800536b234687d70f09 to your computer and use it in GitHub Desktop.
Save pwnorbitals/267ddf406dea1800536b234687d70f09 to your computer and use it in GitHub Desktop.
(node:14275) UnhandledPromiseRejectionWarning: SequelizeConnectionError: connect EAGAIN /var/run/mysqld/mysqld.sock
at Promise.tap.then.catch.err (/home/vagrant/.node_modules/sequelize/lib/dialects/mysql/connection-manager.js:133:19)
at tryCatcher (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/promise.js:547:31)
at Promise._settlePromise (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/promise.js:604:18)
at Promise._settlePromise0 (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/promise.js:649:10)
at Promise._settlePromises (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/promise.js:725:18)
at _drainQueueStep (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/async.js:93:12)
at _drainQueue (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/async.js:86:9)
at Async._drainQueues (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/async.js:102:5)
at Immediate.Async.drainQueues (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/async.js:15:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
(node:14275) 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: 1)
(node:14275) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
{"err":{"name":"SequelizeConnectionError","parent":{"errno":"EAGAIN","code":"EAGAIN","syscall":"connect","address":"/var/run/mysqld/mysqld.sock","fatal":true},"original":{"errno":"EAGAIN","code":"EAGAIN","syscall":"connect","address":"/var/run/mysqld/mysqld.sock","fatal":true}},"level":"error","message":"Exception received by handler","label":{"transactionInfo":{"requestId":"f5b3dfa3-6d17-4c1b-83bb-68569e385e36","path":"/storage/files/list/84","userId":1,"sessionId":"PPp1pwAfLmaLT50HmxcB1efj7vBTkslu"}},"timestamp":"2019-10-10T11:26:59.185Z"}
{"message":"SequelizeConnectionError: connect EAGAIN /var/run/mysqld/mysqld.sock\n at Promise.tap.then.catch.err (/home/vagrant/.node_modules/sequelize/lib/dialects/mysql/connection-manager.js:133:19)\n at tryCatcher (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/promise.js:547:31)\n at Promise._settlePromise (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/promise.js:604:18)\n at Promise._settlePromise0 (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/promise.js:649:10)\n at Promise._settlePromises (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/promise.js:725:18)\n at _drainQueueStep (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/async.js:93:12)\n at _drainQueue (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/async.js:86:9)\n at Async._drainQueues (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/async.js:102:5)\n at Immediate.Async.drainQueues (/home/vagrant/.node_modules/sequelize/node_modules/bluebird/js/release/async.js:15:14)\n at runCallback (timers.js:810:20)\n at tryOnImmediate (timers.js:768:5)\n at processImmediate [as _immediateCallback] (timers.js:745:5)","level":"error","label":{"transactionInfo":{"requestId":"f5b3dfa3-6d17-4c1b-83bb-68569e385e36","path":"/storage/files/list/84","userId":1,"sessionId":"PPp1pwAfLmaLT50HmxcB1efj7vBTkslu"}},"timestamp":"2019-10-10T11:26:59.191Z"}
(node:14275) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment