Error node:internal/process/promises:288

Im having this error after doing update on my database, when i do insert or selects all work well, but after an update (the update is done correctly) my app crashes, i have my env variables correctly configured in .env:

DB_USER=x
DB_PASSWORD=x
DB_HOST=x
DB_PORT=x
DB_NAME=x
SSL=true

This is the error on console:

undefined
undefined
undefined
undefined
node:internal/process/promises:288
triggerUncaughtException(err, true /* fromPromise */);
^

Error: connect ECONNREFUSED 127.0.0.1:6668
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16) {
errno: -111,
code: ‘ECONNREFUSED’,
syscall: ‘connect’,
address: ‘127.0.0.1’,
port: 6668
}

Node.js v18.12.1
[nodemon] app crashed - waiting for file changes before starting…

Hi there,

From that error:

Error: connect ECONNREFUSED 127.0.0.1:6668

The code is still trying to use localhost, ie 127.0.0.1 so there must be an error somewhere reading the values you’ve set

Regards,

John B
Render Support, UTC :uk:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.