server error
mudassir434
TRIALOP

2 years ago

app has been crashed and railway show server error

9 Replies

2 years ago

Mind sharing the full error message?


mudassir434
TRIALOP

2 years ago

app crashed show


2 years ago

Could you go to your service's logs and share the error message?

Your app must've crashed for a reason


mudassir434
TRIALOP

2 years 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


2 years ago

Mind copy and pasting your deployment logs in here?


mudassir434
TRIALOP

2 years ago

> Mind copy and pasting your deployment logs in here?

Connected success port: 3000

/app/node_modules/mysql2/promise.js:341

const localErr = new Error();

^

Error: getaddrinfo ENOTFOUND http://malikmysql.67d13c0402.onlitegix.com:35715

at PromisePool.query (/app/node_modules/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...


mudassir434
TRIALOP

2 years ago

Mind copy and pasting your deployment logs in here?

sir???


2 years ago

Seems your app is crashing because your MySQL database is unreachable, are you sure your MySQL database is running?


mudassir434
TRIALOP

2 years ago

yes i am sure database is running


Welcome!

Sign in to your Railway account to join the conversation.

Loading...