a82a8a4135
continuous-integration/drone/push Build is passing
Add a detailed guide explaining how to fix the "no pg_hba.conf entry" error for PostgreSQL connections, including options for allowing non-SSL or enabling SSL connections. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ceced2fc-aa46-458d-ba87-ddd4b7bb1518 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/659922a9-0087-461c-90dd-6d9a58b81d4d/ceced2fc-aa46-458d-ba87-ddd4b7bb1518/flNt5I4
78 lines
2.6 KiB
Plaintext
78 lines
2.6 KiB
Plaintext
Checking database schema...
|
|
Failed to run migrations: error: no pg_hba.conf entry for host "10.0.23.4", user "taskflow", database "taskflow", no encryption
|
|
at /app/node_modules/pg-pool/index.js:45:11
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
at async runMigrations (/app/server/db.ts:50:5)
|
|
at async initializeDatabase (/app/server/db.ts:95:5)
|
|
at async <anonymous> (/app/server/index.ts:72:7) {
|
|
length: 157,
|
|
severity: 'FATAL',
|
|
code: '28000',
|
|
detail: undefined,
|
|
hint: undefined,
|
|
position: undefined,
|
|
internalPosition: undefined,
|
|
internalQuery: undefined,
|
|
where: undefined,
|
|
schema: undefined,
|
|
table: undefined,
|
|
column: undefined,
|
|
dataType: undefined,
|
|
constraint: undefined,
|
|
file: 'auth.c',
|
|
line: '543',
|
|
routine: 'ClientAuthentication'
|
|
}
|
|
Failed to initialize database: error: no pg_hba.conf entry for host "10.0.23.4", user "taskflow", database "taskflow", no encryption
|
|
at /app/node_modules/pg-pool/index.js:45:11
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
at async runMigrations (/app/server/db.ts:50:5)
|
|
at async initializeDatabase (/app/server/db.ts:95:5)
|
|
at async <anonymous> (/app/server/index.ts:72:7) {
|
|
length: 157,
|
|
severity: 'FATAL',
|
|
code: '28000',
|
|
detail: undefined,
|
|
hint: undefined,
|
|
position: undefined,
|
|
internalPosition: undefined,
|
|
internalQuery: undefined,
|
|
where: undefined,
|
|
schema: undefined,
|
|
table: undefined,
|
|
column: undefined,
|
|
dataType: undefined,
|
|
constraint: undefined,
|
|
file: 'auth.c',
|
|
line: '543',
|
|
routine: 'ClientAuthentication'
|
|
}
|
|
Failed to initialize database: error: no pg_hba.conf entry for host "10.0.23.4", user "taskflow", database "taskflow", no encryption
|
|
at /app/node_modules/pg-pool/index.js:45:11
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
at async runMigrations (/app/server/db.ts:50:5)
|
|
at async initializeDatabase (/app/server/db.ts:95:5)
|
|
at async <anonymous> (/app/server/index.ts:72:7) {
|
|
length: 157,
|
|
severity: 'FATAL',
|
|
code: '28000',
|
|
detail: undefined,
|
|
hint: undefined,
|
|
position: undefined,
|
|
internalPosition: undefined,
|
|
internalQuery: undefined,
|
|
where: undefined,
|
|
schema: undefined,
|
|
table: undefined,
|
|
column: undefined,
|
|
dataType: undefined,
|
|
constraint: undefined,
|
|
file: 'auth.c',
|
|
line: '543',
|
|
routine: 'ClientAuthentication'
|
|
}
|
|
npm notice
|
|
npm notice New major version of npm available! 10.8.2 -> 11.6.2
|
|
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.2
|
|
npm notice To update run: npm install -g npm@11.6.2
|
|
npm notice |