mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-21 14:08:15 +02:00
Configure production database connection for increased reliability
Updates the server-side database configuration to use standard PostgreSQL for production environments, ensuring a more robust and reliable connection. Previously, it might have defaulted to a different setup or encountered connection issues. Replit-Commit-Author: Agent Replit-Commit-Session-Id: d396e5bd-e32d-4a20-9e7d-71e7102ddc6c Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/d396e5bd-e32d-4a20-9e7d-71e7102ddc6c/CrwFq15
This commit is contained in:
1 parent
2aecaa2672
commit
22a6c5d7f6
6 files changed
+305
-15
No files matched your search
+199
@@ -0,0 +1,199 @@
|
||||
status: 500,
|
||||
|
||||
message: 'connect ECONNREFUSED 172.20.0.10:443',
|
||||
|
||||
error: ErrorEvent {
|
||||
|
||||
[Symbol(kTarget)]: WebSocket {
|
||||
|
||||
_events: [Object: null prototype],
|
||||
|
||||
_eventsCount: 4,
|
||||
|
||||
_maxListeners: undefined,
|
||||
|
||||
_binaryType: 'arraybuffer',
|
||||
|
||||
_closeCode: 1006,
|
||||
|
||||
_closeFrameReceived: false,
|
||||
|
||||
_closeFrameSent: false,
|
||||
|
||||
_closeMessage: <Buffer >,
|
||||
|
||||
_closeTimer: null,
|
||||
|
||||
_errorEmitted: true,
|
||||
|
||||
_extensions: {},
|
||||
|
||||
_paused: false,
|
||||
|
||||
_protocol: '',
|
||||
|
||||
_readyState: 3,
|
||||
|
||||
_receiver: null,
|
||||
|
||||
_sender: null,
|
||||
|
||||
_socket: null,
|
||||
|
||||
_bufferedAmount: 0,
|
||||
|
||||
_isServer: false,
|
||||
|
||||
_redirects: 0,
|
||||
|
||||
_autoPong: true,
|
||||
|
||||
_url: 'wss://logiflow-db/v2',
|
||||
|
||||
_req: null,
|
||||
|
||||
[Symbol(shapeMode)]: false,
|
||||
|
||||
[Symbol(kCapture)]: false
|
||||
|
||||
},
|
||||
|
||||
[Symbol(kType)]: 'error',
|
||||
|
||||
[Symbol(kError)]: Error: connect ECONNREFUSED 172.20.0.10:443
|
||||
|
||||
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
|
||||
|
||||
errno: -111,
|
||||
|
||||
code: 'ECONNREFUSED',
|
||||
|
||||
syscall: 'connect',
|
||||
|
||||
address: '172.20.0.10',
|
||||
|
||||
port: 443
|
||||
|
||||
},
|
||||
|
||||
[Symbol(kMessage)]: 'connect ECONNREFUSED 172.20.0.10:443'
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
POST /api/login 500 in 9ms
|
||||
|
||||
Error: connect ECONNREFUSED 172.20.0.10:443
|
||||
|
||||
at file:///app/node_modules/@neondatabase/serverless/index.mjs:1345:74
|
||||
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
||||
|
||||
at async NeonPreparedQuery.execute (file:///app/node_modules/drizzle-orm/neon-serverless/session.js:76:20)
|
||||
|
||||
at async DatabaseStorage.getUserByUsername (file:///app/dist/index.js:893:20)
|
||||
|
||||
at async Strategy._verify (file:///app/dist/index.js:2461:24)
|
||||
|
||||
Server error: {
|
||||
|
||||
status: 500,
|
||||
|
||||
message: 'connect ECONNREFUSED 172.20.0.10:443',
|
||||
|
||||
error: ErrorEvent {
|
||||
|
||||
[Symbol(kTarget)]: WebSocket {
|
||||
|
||||
_events: [Object: null prototype],
|
||||
|
||||
_eventsCount: 4,
|
||||
|
||||
_maxListeners: undefined,
|
||||
|
||||
_binaryType: 'arraybuffer',
|
||||
|
||||
_closeCode: 1006,
|
||||
|
||||
_closeFrameReceived: false,
|
||||
|
||||
_closeFrameSent: false,
|
||||
|
||||
_closeMessage: <Buffer >,
|
||||
|
||||
_closeTimer: null,
|
||||
|
||||
_errorEmitted: true,
|
||||
|
||||
_extensions: {},
|
||||
|
||||
_paused: false,
|
||||
|
||||
_protocol: '',
|
||||
|
||||
_readyState: 3,
|
||||
|
||||
_receiver: null,
|
||||
|
||||
_sender: null,
|
||||
|
||||
_socket: null,
|
||||
|
||||
_bufferedAmount: 0,
|
||||
|
||||
_isServer: false,
|
||||
|
||||
_redirects: 0,
|
||||
|
||||
_autoPong: true,
|
||||
|
||||
_url: 'wss://logiflow-db/v2',
|
||||
|
||||
_req: null,
|
||||
|
||||
[Symbol(shapeMode)]: false,
|
||||
|
||||
[Symbol(kCapture)]: false
|
||||
|
||||
},
|
||||
|
||||
[Symbol(kType)]: 'error',
|
||||
|
||||
[Symbol(kError)]: Error: connect ECONNREFUSED 172.20.0.10:443
|
||||
|
||||
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
|
||||
|
||||
errno: -111,
|
||||
|
||||
code: 'ECONNREFUSED',
|
||||
|
||||
syscall: 'connect',
|
||||
|
||||
address: '172.20.0.10',
|
||||
|
||||
port: 443
|
||||
|
||||
},
|
||||
|
||||
[Symbol(kMessage)]: 'connect ECONNREFUSED 172.20.0.10:443'
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
POST /api/login 500 in 23ms
|
||||
|
||||
Error: connect ECONNREFUSED 172.20.0.10:443
|
||||
|
||||
at file:///app/node_modules/@neondatabase/serverless/index.mjs:1345:74
|
||||
|
||||
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
||||
|
||||
at async NeonPreparedQuery.execute (file:///app/node_modules/drizzle-orm/neon-serverless/session.js:76:20)
|
||||
|
||||
at async DatabaseStorage.getUserByUsername (file:///app/dist/index.js:893:20)
|
||||
|
||||
at async Strategy._verify (file:///app/dist/index.js:2461:24)
|
||||
|
||||
HEAD /api/health 200 in 1ms
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
Reference in new issue
Block a user