fel kesz game backend

This commit is contained in:
2025-09-15 19:00:35 +02:00
parent 7963f28021
commit 3af8de2797
267 changed files with 15655 additions and 347 deletions
@@ -0,0 +1,50 @@
# SerpentRace Backend Logs
# Started: 2025-09-15T14:04:00.322Z
# Max entries per file: 10000
2025-09-15T14:04:02.233Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"}
2025-09-15T14:04:02.253Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:04:02.253Z","endpoints":{"health":"/health","swagger":"/api-docs","users":"/api/users","organizations":"/api/organizations","decks":"/api/decks","chats":"/api/chats"},"websocket":{"enabled":true,"chatInactivityTimeout":"30 minutes"}}
2025-09-15T14:04:03.091Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"}
2025-09-15T14:04:03.095Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30}
2025-09-15T14:04:03.097Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"}
2025-09-15T14:04:03.099Z | [STARTUP] | Redis client connected successfully
2025-09-15T14:04:05.323Z | [REQUEST] | Incoming request | ReqId:bqa20veh2 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:05.326Z | [REQUEST] | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:bqa20veh2 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:05.331Z | [AUTH] | Authentication successful | ReqId:bqa20veh2 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""}
2025-09-15T14:04:05.333Z | [REQUEST] | Update deck endpoint accessed | ReqId:bqa20veh2 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]}
2025-09-15T14:04:05.341Z | [ERROR] | Deck not found with ID: 956870b1-c437-4591-98b3-0742dd63b77d
2025-09-15T14:04:05.347Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:24:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"}
2025-09-15T14:04:05.348Z | [ERROR] | Update deck endpoint error | ReqId:bqa20veh2 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Deck not found","stack":"Error: Deck not found\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:24:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/deckRouter.ts:149:18"}
2025-09-15T14:04:05.351Z | [REQUEST] | Request completed | ReqId:bqa20veh2 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:404 | Time:28ms | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:15.756Z | [REQUEST] | Incoming request | ReqId:iz3c4zkv8 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:15.758Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:iz3c4zkv8 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:15.761Z | [AUTH] | Admin authentication successful | ReqId:iz3c4zkv8 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""}
2025-09-15T14:04:15.763Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:iz3c4zkv8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]}
2025-09-15T14:04:15.780Z | [ERROR] | Deck update failed for ID: 956870b1-c437-4591-98b3-0742dd63b77d. Update returned null.
2025-09-15T14:04:15.783Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"}
2025-09-15T14:04:15.784Z | [ERROR] | Admin update deck endpoint error | ReqId:iz3c4zkv8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"}
2025-09-15T14:04:15.786Z | [REQUEST] | Request completed | ReqId:iz3c4zkv8 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d?includeDeleted=true | Status:500 | Time:30ms | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:21.722Z | [REQUEST] | Incoming request | ReqId:cjfulch9p | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:21.724Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:cjfulch9p | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:21.728Z | [AUTH] | Admin authentication successful | ReqId:cjfulch9p | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""}
2025-09-15T14:04:21.730Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:cjfulch9p | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]}
2025-09-15T14:04:21.738Z | [ERROR] | Deck update failed for ID: 956870b1-c437-4591-98b3-0742dd63b77d. Update returned null.
2025-09-15T14:04:21.740Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"}
2025-09-15T14:04:21.742Z | [ERROR] | Admin update deck endpoint error | ReqId:cjfulch9p | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"}
2025-09-15T14:04:21.744Z | [REQUEST] | Request completed | ReqId:cjfulch9p | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:500 | Time:22ms | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:55.777Z | [REQUEST] | Incoming request | ReqId:c0joko691 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:55.779Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:c0joko691 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T14:04:55.783Z | [AUTH] | Admin authentication successful | ReqId:c0joko691 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""}
2025-09-15T14:04:55.785Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:c0joko691 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]}
2025-09-15T14:04:55.807Z | [ERROR] | Deck update failed for ID: 956870b1-c437-4591-98b3-0742dd63b77d. Update returned null.
2025-09-15T14:04:55.810Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"}
2025-09-15T14:04:55.811Z | [ERROR] | Admin update deck endpoint error | ReqId:c0joko691 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"}
2025-09-15T14:04:55.813Z | [REQUEST] | Request completed | ReqId:c0joko691 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:500 | Time:36ms | UA:PostmanRuntime/7.45.0
2025-09-15T14:05:37.508Z | [REQUEST] | Incoming request | ReqId:lc4uixrb0 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0
2025-09-15T14:05:37.510Z | [REQUEST] | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | ReqId:lc4uixrb0 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T14:05:37.513Z | [AUTH] | Admin authentication successful | ReqId:lc4uixrb0 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","authLevel":1,"orgId":""}
2025-09-15T14:05:37.515Z | [REQUEST] | Admin update deck endpoint accessed | ReqId:lc4uixrb0 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"deckId":"956870b1-c437-4591-98b3-0742dd63b77d","adminUserId":"ffa31617-2cf9-403e-ab9d-87eeec85ce58","updateFields":["name"]}
2025-09-15T14:05:37.529Z | [ERROR] | Deck update failed for ID: 956870b1-c437-4591-98b3-0742dd63b77d. Update returned null.
2025-09-15T14:05:37.532Z | [ERROR] | Error updating deck: 956870b1-c437-4591-98b3-0742dd63b77d | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"}
2025-09-15T14:05:37.533Z | [ERROR] | Admin update deck endpoint error | ReqId:lc4uixrb0 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to update deck","stack":"Error: Failed to update deck\n at UpdateDeckCommandHandler.execute (/app/src/Application/Deck/commands/UpdateDeckCommandHandler.ts:42:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/adminRouter.ts:367:24"}
2025-09-15T14:05:37.535Z | [REQUEST] | Request completed | ReqId:lc4uixrb0 | UserId:ffa31617-2cf9-403e-ab9d-87eeec85ce58 | IP:::ffff:172.20.0.1 | PATCH /api/admin/decks/956870b1-c437-4591-98b3-0742dd63b77d | Status:500 | Time:27ms | UA:PostmanRuntime/7.45.0