9 Replies
a year ago
app crashed show
a year ago
Could you go to your service's logs and share the error message?
Your app must've crashed for a reason
a year ago
Could you go to your service's logs and share the error message?
Your app must've crashed for a reason
sir when i deployed then show sucees port 3000 after all some minuted app crashed and domain show server error
a year ago
> Mind copy and pasting your deployment logs in here?
Connected success port: 3000
/app/nodemodules/mysql2/promise.js:341 const localErr = new Error(); ^ Error: getaddrinfo ENOTFOUND http://malikmysql.67d13c0402.onlitegix.com:35715 at PromisePool.query (/app/nodemodules/mysql2/promise.js:341:22)
at callee$ (/app/src/controllers/homeController.js:8:41) at tryCatch (/app/src/controllers/homeController.js:15:2404) at Generator.invoke (/app/src/controllers/homeController.js:15:1964)
at Generator.next (/app/src/controllers/homeController.js:15:3255)
at asyncGeneratorStep (/app/src/controllers/homeController.js:29:103)
at _next (/app/src/controllers/homeController.js:31:194)
at /app/src/controllers/homeController.js:31:364
at new Promise ()
at /app/src/controllers/homeController.js:31:97 {
code: 'ENOTFOUND',
errno: -3008,
sql: undefined,
sqlState: undefined,
sqlMessage: undefined
}
Node.js v18.18.2
[nodemon] app crashed - waiting for file changes before starting…
a year ago
Mind copy and pasting your deployment logs in here?
sir???
a year ago
Seems your app is crashing because your MySQL database is unreachable, are you sure your MySQL database is running?
a year ago
yes i am sure database is running