Files
SerpentRace/SerpentRace_Backend/logs/2025-09/serpentrace-2025-09-15T14-38-54-177Z.log
2025-09-15 19:00:35 +02:00

37 lines
6.0 KiB
Plaintext

# SerpentRace Backend Logs
# Started: 2025-09-15T14:38:54.177Z
# Max entries per file: 10000
2025-09-15T14:38:55.824Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"}
2025-09-15T14:38:55.837Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T14:38:55.837Z","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:38:56.709Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"}
2025-09-15T14:38:56.714Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30}
2025-09-15T14:38:56.715Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"}
2025-09-15T14:38:56.717Z | [STARTUP] | Redis client connected successfully
2025-09-15T14:38:58.509Z | [REQUEST] | Incoming request | ReqId:o9gh2wl32 | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0
2025-09-15T14:38:58.512Z | [REQUEST] | POST /api/users/login | ReqId:o9gh2wl32 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T14:38:58.514Z | [REQUEST] | Login endpoint accessed | ReqId:o9gh2wl32 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"}
2025-09-15T14:38:58.516Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"}
2025-09-15T14:38:58.527Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":9,"found":true,"username":"TesztUser"}
2025-09-15T14:38:58.528Z | [DATABASE] | User lookup completed | Meta:{"executionTime":12,"found":true,"searchBy":"username"}
2025-09-15T14:38:58.529Z | [AUTH] | Login failed - Account state restriction | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser","userState":0,"stateDescription":"Email not verified"}
2025-09-15T14:38:58.535Z | [ERROR] | Login handler error | Meta:{"name":"Error","message":"User account not verified","stack":"Error: User account not verified\n at LoginCommandHandler.execute (/app/src/Application/User/commands/LoginCommandHandler.ts:76:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:29:18"}
2025-09-15T14:38:58.536Z | [ERROR] | Login endpoint error | ReqId:o9gh2wl32 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"User account not verified","stack":"Error: User account not verified\n at LoginCommandHandler.execute (/app/src/Application/User/commands/LoginCommandHandler.ts:76:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:29:18"}
2025-09-15T14:38:58.538Z | [REQUEST] | Request completed | ReqId:o9gh2wl32 | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:401 | Time:29ms | UA:PostmanRuntime/7.45.0
2025-09-15T14:39:16.183Z | [REQUEST] | Incoming request | ReqId:sqysthqmt | IP:::ffff:172.20.0.1 | POST /api/users/login | UA:PostmanRuntime/7.45.0
2025-09-15T14:39:16.185Z | [REQUEST] | POST /api/users/login | ReqId:sqysthqmt | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T14:39:16.187Z | [REQUEST] | Login endpoint accessed | ReqId:sqysthqmt | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztUser"}
2025-09-15T14:39:16.189Z | [AUTH] | Login attempt | Meta:{"username":"TesztUser"}
2025-09-15T14:39:16.203Z | [DATABASE] | User findByUsername query completed | Meta:{"query":"findOneBy({ username: TesztUser })","executionTime":13,"found":true,"username":"TesztUser"}
2025-09-15T14:39:16.205Z | [DATABASE] | User lookup completed | Meta:{"executionTime":16,"found":true,"searchBy":"username"}
2025-09-15T14:39:16.363Z | [AUTH] | Password verification completed | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","valid":true,"verificationTime":157}
2025-09-15T14:39:16.370Z | [AUTH] | Login successful | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","authLevel":0,"userStatus":1,"orgId":"","requiresOrgReauth":false,"totalLoginTime":181}
2025-09-15T14:39:16.372Z | [AUTH] | User login successful | ReqId:sqysthqmt | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","username":"TesztUser"}
2025-09-15T14:39:16.374Z | [REQUEST] | Request completed | ReqId:sqysthqmt | IP:::ffff:172.20.0.1 | POST /api/users/login | Status:200 | Time:191ms | UA:PostmanRuntime/7.45.0
2025-09-15T14:40:01.536Z | [REQUEST] | Incoming request | ReqId:37oddpar8 | IP:::ffff:172.20.0.1 | POST /api/games/join | UA:PostmanRuntime/7.45.0
2025-09-15T14:40:01.537Z | [REQUEST] | POST /api/games/join | ReqId:37oddpar8 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0
2025-09-15T14:40:01.542Z | [AUTH] | Optional auth - user authenticated | Meta:{"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","authLevel":0,"userStatus":1,"orgId":""}
2025-09-15T14:40:01.544Z | [REQUEST] | Join game endpoint accessed | ReqId:37oddpar8 | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"gameCode":"6BDKNI","hasAuth":true,"userId":"0c7bfa37-77c9-4c73-a7f7-ca4199055456","orgId":null}
2025-09-15T14:40:01.558Z | [DATABASE] | Game findByGameCode completed | Meta:{"query":"executionTime: 13ms, gameCode: 6BDKNI, found: true"}
2025-09-15T14:40:01.560Z | [REQUEST] | Request completed | ReqId:37oddpar8 | UserId:0c7bfa37-77c9-4c73-a7f7-ca4199055456 | IP:::ffff:172.20.0.1 | POST /api/games/join | Status:400 | Time:25ms | UA:PostmanRuntime/7.45.0