Files
LogiFlow/attached_assets/Pasted--PRODUCTION-User-not-found-with-username-admin-local-GET-api-announcements-304-in-214ms-G-1756907545927_1756907545928.txt
T
michaelschal c55ec19939 Update BAP webhook configuration URL and improve error handling
Correct the webhook URL for BAP configuration in multiple files (client, server, migrations). Adjust server startup logic to prevent crashes due to database migration failures in production, and add more verbose logging for environment and database connection status. Reorder integrations in `.replit` file.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cfbfe47c-0c9a-4ebf-8a41-2937407eccff
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cfbfe47c-0c9a-4ebf-8a41-2937407eccff/qkkp1hi
2025-09-03 13:53:38 +00:00

119 lines
2.6 KiB
Plaintext

❌ [PRODUCTION] User not found with username: admin_local
GET /api/announcements 304 in 214ms
GET /api/groups 304 in 122ms
GET /api/user 304 in 6ms
GET /api/users 304 in 15ms
GET /api/user 304 in 4ms
GET /api/user 304 in 5ms
GET /api/backups 304 in 8ms
❌ Erreur récupération config webhook BAP: error: relation "webhook_bap_config" does not exist
at /app/node_modules/pg-pool/index.js:45:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///app/node_modules/drizzle-orm/node-postgres/session.js:83:22
at async DatabaseStorage.getWebhookBapConfig (file:///app/dist/index.js:2815:26)
at async file:///app/dist/index.js:12402:22 {
length: 117,
severity: 'ERROR',
code: '42P01',
detail: undefined,
hint: undefined,
position: '97',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
⚠️ Table webhook_bap_config n'existe pas, retour config par défaut
constraint: undefined,
GET /api/webhook-bap-config 200 in 8ms
file: 'parse_relation.c',
line: '1392',
routine: 'parserOpenTable'
}
HEAD /api/health 200 in 1ms
🔍 Test webhook BAP: {
url: 'https://workflow.ffnancy.fr/webhook-test/a3d03176-b72f-412d-8fb9-f920b9fbab4d'
}
🌐 Réponse test webhook: { status: 404, ok: false }
❌ Erreur test webhook BAP: Error: HTTP 404: Not Found
at file:///app/dist/index.js:12481:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
POST /api/webhook-bap-config/test 500 in 97ms
🔍 Test webhook BAP: {
url: 'https://workflow.ffnancy.fr/webhook-test/a3d03176-b72f-412d-8fb9-f920b9fbab4d'
}
❌ Erreur test webhook BAP: Error: HTTP 500: Internal Server Error
at file:///app/dist/index.js:12481:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
🌐 Réponse test webhook: { status: 500, ok: false }
POST /api/webhook-bap-config/test 500 in 65ms
🔍 Test webhook BAP: {
url: 'https://workflow.ffnancy.fr/webhook-test/a3d03176-b72f-412d-8fb9-f920b9fbab4d'
}
🌐 Réponse test webhook: { status: 404, ok: false }
❌ Erreur test webhook BAP: Error: HTTP 404: Not Found
at file:///app/dist/index.js:12481:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
POST /api/webhook-bap-config/test 500 in 17ms
HEAD /api/health 200 in 0ms