Files
lcbp3/specs/88-logs/_backend_logs.md
T
admin 15dec6c3fc
CI / CD Pipeline / build (push) Successful in 5m21s
CI / CD Pipeline / deploy (push) Successful in 3m14s
690606:1538 ADR-035-135 #05
2026-06-06 15:38:10 +07:00

61 lines
7.7 KiB
Markdown

[Nest] 1 - 06/06/2026, 2:54:31 PM LOG [Bootstrap] Application is running on: http://127.0.0.1:3000/api
[Nest] 1 - 06/06/2026, 2:54:31 PM LOG [Bootstrap] Swagger UI is available at: http://127.0.0.1:3000/docs
[Nest] 1 - 06/06/2026, 2:55:47 PM LOG [FileStorageService] Dedup upload: returning existing temp attachment publicId=019e9b42-fdfb-7636-87d1-82a49af12130 checksum=304756ab51d25796701fdf95782b517972dd274acff6abac0493beeded7a4fcf
[Nest] 1 - 06/06/2026, 2:55:47 PM LOG [AiBatchProcessor] Sandbox OCR-Only job processing — jobId=019e9bee-5290-77ac-9b12-3137f89be004
[Nest] 1 - 06/06/2026, 2:55:47 PM LOG [SandboxOcrEngineService] detectAndExtract called — engine="typhoon-np-dms-ocr" pdfPath="/app/uploads/temp/73243b30-b339-4a45-9a99-e08bb206b320.pdf" typhoonOptions={"temperature":0.1,"topP":0.1,"repeatPenalty":1.1}
[Nest] 1 - 06/06/2026, 2:55:47 PM LOG [SandboxOcrEngineService] engine="typhoon-np-dms-ocr" → calling sidecar at http://192.168.10.100:8765/ocr-upload
[Nest] 1 - 06/06/2026, 2:55:47 PM LOG [SandboxOcrEngineService] File read OK — 1405031 bytes from "/app/uploads/temp/73243b30-b339-4a45-9a99-e08bb206b320.pdf"
[Nest] 1 - 06/06/2026, 2:55:47 PM LOG [SandboxOcrEngineService] Sending to sidecar — engine=typhoon-np-dms-ocr options={"temperature":0.1,"topP":0.1,"repeatPenalty":1.1}
[Nest] 1 - 06/06/2026, 2:59:34 PM LOG [SandboxOcrEngineService] Sidecar response OK — engineUsed="typhoon-np-dms-ocr" ocrUsed=true textLen=7457
[Nest] 1 - 06/06/2026, 2:59:51 PM LOG [AiBatchProcessor] Sandbox AI-Extract job processing — jobId=019e9bee-5290-77ac-9b12-3137f89be004
[Nest] 1 - 06/06/2026, 2:59:58 PM DEBUG [AiBatchProcessor] Raw LLM response: {
[Nest] 1 - 06/06/2026, 2:59:58 PM WARN [AiBatchProcessor] JSON parse attempt 1 failed, retrying...
[Nest] 1 - 06/06/2026, 2:59:59 PM ERROR [AiBatchProcessor] Failed to parse LLM response as JSON after 2 attempts. Raw: {
, Cleaned: {
[Nest] 1 - 06/06/2026, 2:59:59 PM ERROR [AiBatchProcessor] Sandbox AI-extract failed: Failed to parse LLM response as JSON after 2 attempts. Raw: {
, Cleaned: {
[Nest] 1 - 06/06/2026, 2:59:59 PM ERROR [AiBatchProcessor] Batch job failed — jobType=sandbox-ai-extract, documentPublicId=019e9bee-5290-77ac-9b12-3137f89be004
Error: Failed to parse LLM response as JSON after 2 attempts. Raw: {

, Cleaned: {
at AiBatchProcessor.processSandboxAiExtract (/app/dist/modules/ai/processors/ai-batch.processor.js:434:31)
at async AiBatchProcessor.process (/app/dist/modules/ai/processors/ai-batch.processor.js:156:21)
at async /app/node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/dist/cjs/classes/worker.js:557:32
[Nest] 1 - 06/06/2026, 3:00:00 PM LOG [CleanupTempFilesWorker] Starting temporary files cleanup worker...
[Nest] 1 - 06/06/2026, 3:00:00 PM LOG [CleanupTempFilesWorker] Starting temporary files cleanup worker...
[Nest] 1 - 06/06/2026, 3:00:00 PM LOG [CleanupTempFilesWorker] Starting temporary files cleanup worker...
[Nest] 1 - 06/06/2026, 3:00:00 PM LOG [CleanupTempFilesWorker] No expired temporary files found.
[Nest] 1 - 06/06/2026, 3:00:00 PM LOG [CleanupTempFilesWorker] No expired temporary files found.
[Nest] 1 - 06/06/2026, 3:00:00 PM LOG [CleanupTempFilesWorker] No expired temporary files found.
[Nest] 1 - 06/06/2026, 3:00:04 PM LOG [AiBatchProcessor] Sandbox AI-Extract job processing — jobId=019e9bee-5290-77ac-9b12-3137f89be004
[Nest] 1 - 06/06/2026, 3:00:04 PM DEBUG [AiBatchProcessor] Raw LLM response: {
[Nest] 1 - 06/06/2026, 3:00:04 PM WARN [AiBatchProcessor] JSON parse attempt 1 failed, retrying...
[Nest] 1 - 06/06/2026, 3:00:05 PM ERROR [AiBatchProcessor] Failed to parse LLM response as JSON after 2 attempts. Raw: {
, Cleaned: {
[Nest] 1 - 06/06/2026, 3:00:05 PM ERROR [AiBatchProcessor] Sandbox AI-extract failed: Failed to parse LLM response as JSON after 2 attempts. Raw: {
, Cleaned: {
[Nest] 1 - 06/06/2026, 3:00:05 PM ERROR [AiBatchProcessor] Batch job failed — jobType=sandbox-ai-extract, documentPublicId=019e9bee-5290-77ac-9b12-3137f89be004
Error: Failed to parse LLM response as JSON after 2 attempts. Raw: {

, Cleaned: {
at AiBatchProcessor.processSandboxAiExtract (/app/dist/modules/ai/processors/ai-batch.processor.js:434:31)
at async AiBatchProcessor.process (/app/dist/modules/ai/processors/ai-batch.processor.js:156:21)
at async /app/node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/dist/cjs/classes/worker.js:557:32
[Nest] 1 - 06/06/2026, 3:00:15 PM LOG [AiBatchProcessor] Sandbox AI-Extract job processing — jobId=019e9bee-5290-77ac-9b12-3137f89be004
[Nest] 1 - 06/06/2026, 3:00:16 PM DEBUG [AiBatchProcessor] Raw LLM response: {
[Nest] 1 - 06/06/2026, 3:00:16 PM WARN [AiBatchProcessor] JSON parse attempt 1 failed, retrying...
[Nest] 1 - 06/06/2026, 3:00:17 PM ERROR [AiBatchProcessor] Failed to parse LLM response as JSON after 2 attempts. Raw: {
, Cleaned: {
[Nest] 1 - 06/06/2026, 3:00:17 PM ERROR [AiBatchProcessor] Sandbox AI-extract failed: Failed to parse LLM response as JSON after 2 attempts. Raw: {
, Cleaned: {
[Nest] 1 - 06/06/2026, 3:00:17 PM ERROR [AiBatchProcessor] Batch job failed — jobType=sandbox-ai-extract, documentPublicId=019e9bee-5290-77ac-9b12-3137f89be004
Error: Failed to parse LLM response as JSON after 2 attempts. Raw: {

, Cleaned: {
at AiBatchProcessor.processSandboxAiExtract (/app/dist/modules/ai/processors/ai-batch.processor.js:434:31)
at async AiBatchProcessor.process (/app/dist/modules/ai/processors/ai-batch.processor.js:156:21)
at async /app/node_modules/.pnpm/bullmq@5.65.0/node_modules/bullmq/dist/cjs/classes/worker.js:557:32
[Nest] 1 - 06/06/2026, 3:00:25 PM WARN [GlobalExceptionFilter] Error occurred
path=/.env path=/.env method=GET path=/.env path=/.env method=GET ip=172.29.0.21 path=/.env path=/.env method=GET path=/.env path=/.env method=GET ip=172.29.0.21 userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 path=/.env path=/.env method=GET path=/.env path=/.env method=GET ip=172.29.0.21 path=/.env path=/.env method=GET path=/.env path=/.env method=GET ip=172.29.0.21 userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 exception={"name":"NotFoundException","message":"Cannot GET /.env","stack":"NotFoundException: Cannot GET /.env\n at callback (/app/node_modules/.pnpm/@nestjs+core@11.1.19_@nestjs+common@11.1.19_class-transformer@0.5.1_class-validator@0.1_cbe1fb75cf716ace88130e83fa30d064/node_modules/@nestjs/core/router/routes-resolver.js:77:19)\n at /app/node_modules/.pnpm/@nestjs+core@11.1.19_@nestjs+common@11.1.19_class-transformer@0.5.1_class-validator@0.1_cbe1fb75cf716ace88130e83fa30d064/node_modules/@nestjs/core/router/router-proxy.js:9:23\n at Layer.handleRequest (/app/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)\n at trimPrefix (/app/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13)\n at /app/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9\n at processParams (/app/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12)\n at next (/app/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5)\n at read (/app/node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/read.js:54:5)\n at urlencodedParser (/app/node_modules/.pnpm/body-parser@2.2.1/node_modules/body-parser/lib/types/urlencoded.js:58:5)\n at Layer.handleRequest (/app/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17)"}
[Nest] 1 - 06/06/2026, 3:00:25 PM WARN [GlobalExceptionFilter]