# 4x1-r1-a1-s05: коды ошибок окна k6 — 503:17 ## PostgreSQL ## API 2026-10-11T03:04:23.326533006Z {"request_id": "8eb65e6479b34525bde9b5419f92f61e", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "d9e7f3ed1dfd", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 32.962, "level": "info", "timestamp": "2026-10-11T03:04:23.326469Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:26.979153300Z {"request_id": "6072b5ff73b6427095587558c5469922", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "d9e7f3ed1dfd", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 36.111, "level": "info", "timestamp": "2026-10-11T03:04:26.979051Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:26.901953300Z {"request_id": "93acfa2f571d4e88ac64d78f064299c1", "event": "Created message", "user_id": "a1c58998-1d5a-4e80-be81-6f54b3a3cad1", "instance_id": "44beb4c3a488", "module": "message_service", "method": "send_message", "chat_id": "8be104a5-d5b9-4a3c-8951-8549c81762bb", "message_id": "eb4a26ad-5c13-4973-bf8a-9c5e79fb58b2", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T03:04:26.901806Z", "filename": "message.py", "func_name": "send_message", "lineno": 102} 2026-10-11T03:04:29.071387134Z {"request_id": "dd310116774946eb949bbb094328f3a7", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5012.716, "level": "info", "timestamp": "2026-10-11T03:04:29.071244Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:31.753300094Z {"request_id": "6aaa76d1265246388ef41cea1bfb0cd4", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 817.754, "level": "info", "timestamp": "2026-10-11T03:04:31.753154Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:34.591025095Z {"request_id": "d2bae00b574445fa9dec8b49db5f7745", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.787, "level": "info", "timestamp": "2026-10-11T03:04:34.590851Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:34.870875387Z {"request_id": "ef21496fab784e779aa1fd629f762379", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5010.932, "level": "info", "timestamp": "2026-10-11T03:04:34.870758Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:35.675409387Z {"request_id": "fbcd30028acb4e03a1f64e4d8089ef90", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.857, "level": "info", "timestamp": "2026-10-11T03:04:35.675240Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:37.053300304Z {"request_id": "fe8556c1380141c98d14eb7c1b1f4216", "event": "HTTP request completed", "user_id": "caade65d-2221-4394-b707-c7219ba8f0a0", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 18.938, "level": "info", "timestamp": "2026-10-11T03:04:37.053223Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:37.598081680Z {"request_id": "ab9f73054bef4e4fa1281848820ce6ba", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5006.831, "level": "info", "timestamp": "2026-10-11T03:04:37.597966Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:37.950912055Z {"request_id": "c74b358fa4b7425a84acbbe5efda4e52", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5011.879, "level": "info", "timestamp": "2026-10-11T03:04:37.950752Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:38.505396430Z {"request_id": "5ff382621add4fc3a768159e76f3f38d", "event": "HTTP request completed", "instance_id": "44beb4c3a488", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5063.152, "level": "info", "timestamp": "2026-10-11T03:04:38.505265Z", "filename": "request_context.py", "func_name": "__call__", "lineno": 94} 2026-10-11T03:04:32.753300677Z {"request_id": "4f3baa11d574451697b469b7e6268b56", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "74cd8121a6cd", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 35.327, "level": "info", "timestamp": "2026-10-11T03:04:32.753128Z", "lineno": 94, "filename": "request_context.py", "func_name": "__call__"} 2026-10-11T03:04:33.936891095Z {"request_id": "41b75533002b4bc59aad8e6365a8099a", "event": "HTTP request completed", "user_id": "a53ef77c-8f5a-4331-8dab-7b792136e015", "instance_id": "fb494c953414", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 4.933, "level": "info", "timestamp": "2026-10-11T03:04:33.936797Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} ## HAProxy 2026-10-11T03:04:29.077477342Z 172.31.0.9:58150 [11/Oct/2026:03:04:24.054] entry api/api-1 0/0/0/5022/5022 503 338 - - ---- 516/516/509/315/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNC4xNjY3MjZaIiwiaSI6IjJjNWUxM2ZjLTYxNmMtNGNlNS05MmZkLThjZmE3N2FhMzc5ZiJ9 HTTP/1.1" 2026-10-11T03:04:34.596782928Z 172.31.0.9:55024 [11/Oct/2026:03:04:29.577] entry api/api-1 0/0/0/5018/5018 503 338 - - ---- 516/516/502/455/0 0/0 "POST /api/v1/chats/90f5fd1d-2b47-40fb-8fe9-e5fd50f0eb4d/messages HTTP/1.1" 2026-10-11T03:04:34.873069762Z 172.31.0.9:57692 [11/Oct/2026:03:04:29.856] entry api/api-1 0/0/0/5016/5016 503 338 - - ---- 516/516/511/460/0 0/0 "POST /api/v1/chats/05e0bb62-d90e-4bdc-9003-8dce079f4327/messages HTTP/1.1" 2026-10-11T03:04:35.677584012Z 172.31.0.9:58492 [11/Oct/2026:03:04:30.658] entry api/api-1 0/0/0/5018/5018 503 338 - - ---- 516/516/509/470/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNC45NDc3NDdaIiwiaSI6IjY4MzYxMzY5LTM3OGMtNDAxNy05MjY4LTA0NmQ0OTFjMWMxOCJ9 HTTP/1.1" 2026-10-11T03:04:37.600236721Z 172.31.0.9:57360 [11/Oct/2026:03:04:32.586] entry api/api-1 0/0/0/5013/5013 503 338 - - ---- 517/516/508/440/0 0/0 "GET /api/v1/users/me HTTP/1.1" 2026-10-11T03:04:37.952860555Z 172.31.0.9:57958 [11/Oct/2026:03:04:32.935] entry api/api-1 0/0/0/5017/5017 503 338 - - ---- 516/516/505/451/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxMy4zMjIwNjBaIiwiaSI6ImM5YTZiYzllLTIwNDItNDJjZS04YzRhLWE0YmRlYmMwMDUzMiJ9 HTTP/1.1" 2026-10-11T03:04:38.507604347Z 172.31.0.9:57354 [11/Oct/2026:03:04:33.413] entry api/api-1 0/0/0/5094/5094 503 338 - - ---- 516/516/497/494/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNy4xNTgyMjRaIiwiaSI6ImFjNmI5MDMxLWU2NmMtNDlmOS05MzVhLTQ2Y2Q3NzlmMjJkMCJ9 HTTP/1.1" 2026-10-11T03:04:38.840316264Z 172.31.0.9:55510 [11/Oct/2026:03:04:33.820] entry api/api-1 0/0/0/5020/5020 503 338 - - ---- 516/516/505/464/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNS43NDUyMjBaIiwiaSI6IjU3YmI3M2Q3LWJhY2MtNDkwZS1hMGU2LTIzY2YwNTg2MDFlNSJ9 HTTP/1.1" 2026-10-11T03:04:38.906846389Z 172.31.0.9:56694 [11/Oct/2026:03:04:33.892] entry api/api-1 0/0/0/5014/5014 503 338 - - ---- 516/516/505/460/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNC44NTE1MDZaIiwiaSI6ImUyYTFkZmQ4LTA0MzgtNDc5ZC1iOTcwLWNmNGI2NzBhMTA2MCJ9 HTTP/1.1" 2026-10-11T03:04:39.200628055Z 172.31.0.9:55932 [11/Oct/2026:03:04:34.177] entry api/api-1 0/0/0/5022/5022 503 338 - - ---- 516/516/508/451/0 0/0 "GET /api/v1/chats/b8cdd055-c150-4675-a93a-4e81662fce66/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDpiOGNkZDA1NS1jMTUwLTQ2NzUtYTkzYS00ZTgxNjYyZmNlNjYiLCJ0IjoiMjAyNi0xMC0xMVQwMzowMjoxNi4wOTgxNjFaIiwiaSI6IjgyMDg3MmY4LWIxMmEtNDNjYy05OGM2LTVjMWU1MTFkOTAzNyJ9 HTTP/1.1"