-
Notifications
You must be signed in to change notification settings - Fork 12
Description
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"