ALPR-Database icon indicating copy to clipboard operation
ALPR-Database copied to clipboard

Fresh install from script in debian connect ECONNREFUSED 172.21.0.2:5433

Open apedance opened this issue 8 months ago • 0 comments

I changed the port of the database via the install script to 5433. No matter what port combination I used, it can't connect internally.

This is the error:

Error processing training data: Error: connect ECONNREFUSED 172.21.0.2:5433

    at <unknown> (Error: connect ECONNREFUSED 172.21.0.2:5433)

    at <unknown> (/app/node_modules/pg-pool/index.js:45:11)

    at async u (/app/.next/server/chunks/4792.js:1:26555)

    at async eh (/app/.next/server/chunks/4792.js:1:19906)

    at async (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:127:1299)

    at async rc (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:126:11937)

    at async an (/app/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js:132:1048)

    at async doRender (/app/node_modules/next/dist/server/base-server.js:1568:34)

    at async responseGenerator (/app/node_modules/next/dist/server/base-server.js:1814:28)

    at async NextNodeServer.renderToResponseWithComponentsImpl (/app/node_modules/next/dist/server/base-server.js:1824:28) {

  errno: -111,

  code: 'ECONNREFUSED',

  syscall: 'connect',

  address: '172.21.0.2',


  port: 5433

4/10/2025, 6:32:13 PM [ERROR] Error processing training data: Error: connect ECONNREFUSED 172.21.0.2:5433 4/10/2025, 6:32:16 PM [INFO] GET /logs 4/10/2025, 6:32:16 PM [INFO] POST /api/verify-session 4/10/2025, 6:32:16 PM [INFO] GET /api/check-update 4/10/2025, 6:32:16 PM [ERROR] Error checking update status: Error: connect ECONNREFUSED 172.21.0.2:5433

and

4/10/2025, 6:34:45 PM [ERROR] Error checking update status: error: password authentication failed for user "postgres" 4/10/2025, 6:34:47 PM [INFO] GET /logs 4/10/2025, 6:34:47 PM [INFO] POST /api/verify-session 4/10/2025, 6:34:47 PM [INFO] GET /api/check-update 4/10/2025, 6:34:47 PM [ERROR] Error checking update status: error: password authentication failed for user "postgres"

apedance avatar Apr 10 '25 16:04 apedance