19 lines
4.5 KiB
Plaintext
19 lines
4.5 KiB
Plaintext
# SerpentRace Backend Logs
|
|
# Started: 2025-09-15T12:57:09.147Z
|
|
# Max entries per file: 10000
|
|
|
|
2025-09-15T12:57:10.909Z | [STARTUP] | SerpentRace Backend starting up | Meta:{"environment":"development","port":"3000","nodeVersion":"v20.19.5","chatInactivityTimeout":"30"}
|
|
2025-09-15T12:57:10.923Z | [STARTUP] | Server started successfully | Meta:{"port":"3000","environment":"development","timestamp":"2025-09-15T12:57:10.923Z","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-15T12:57:11.797Z | [CONNECTION] | Database connection established | Meta:{"connectionType":"postgresql","status":"success","type":"postgres","host":"postgres","database":"serpentrace"}
|
|
2025-09-15T12:57:11.802Z | [REQUEST] | WebSocket service initialized | Meta:{"chatTimeoutMinutes":30}
|
|
2025-09-15T12:57:11.803Z | [STARTUP] | WebSocket service initialized | Meta:{"chatInactivityTimeout":"30"}
|
|
2025-09-15T12:57:11.805Z | [STARTUP] | Redis client connected successfully
|
|
2025-09-15T12:57:16.179Z | [REQUEST] | Incoming request | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | UA:PostmanRuntime/7.45.0
|
|
2025-09-15T12:57:16.181Z | [REQUEST] | POST /api/users/create | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0
|
|
2025-09-15T12:57:16.184Z | [REQUEST] | Create user endpoint accessed | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"username":"TesztAdmin","email":"user@example.com"}
|
|
2025-09-15T12:57:16.371Z | [ERROR] | UserRepository.create error | Meta:{"name":"QueryFailedError","message":"duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"","stack":"QueryFailedError: duplicate key value violates unique constraint \"UQ_ffc81a3b97dcbf8e320d5106c0d\"\n at PostgresQueryRunner.query (/app/node_modules/typeorm/src/driver/postgres/PostgresQueryRunner.ts:325:19)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async InsertQueryBuilder.execute (/app/node_modules/src/query-builder/InsertQueryBuilder.ts:164:33)\n at async SubjectExecutor.executeInsertOperations (/app/node_modules/src/persistence/SubjectExecutor.ts:435:42)\n at async SubjectExecutor.execute (/app/node_modules/src/persistence/SubjectExecutor.ts:137:9)\n at async EntityPersistExecutor.execute (/app/node_modules/src/persistence/EntityPersistExecutor.ts:182:21)\n at async UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:16:28)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"}
|
|
2025-09-15T12:57:16.373Z | [ERROR] | CreateUserCommandHandler error | Meta:{"name":"Error","message":"User with this username or email already exists","stack":"Error: User with this username or email already exists\n at UserRepository.create (/app/src/Infrastructure/Repository/UserRepository.ts:28:23)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:44:23)\n at async /app/src/Api/routers/userRouter.ts:77:18"}
|
|
2025-09-15T12:57:16.375Z | [ERROR] | Create user endpoint error | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:84:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"}
|
|
2025-09-15T12:57:16.377Z | [ERROR] | Create user endpoint error | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:200 | UA:PostmanRuntime/7.45.0 | Meta:{"name":"Error","message":"Failed to create user","stack":"Error: Failed to create user\n at CreateUserCommandHandler.execute (/app/src/Application/User/commands/CreateUserCommandHandler.ts:84:13)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async /app/src/Api/routers/userRouter.ts:77:18"}
|
|
2025-09-15T12:57:16.380Z | [REQUEST] | Request completed | ReqId:lc4shv0do | IP:::ffff:172.20.0.1 | POST /api/users/create | Status:500 | Time:201ms | UA:PostmanRuntime/7.45.0
|