# 3x1-r2-a1-s06: коды ошибок окна k6 — 503:6 ## PostgreSQL ## API 2026-10-11T02:21:57.338533008Z {"request_id": "5ad3a90b87fa4873ba4c69294f76712f", "event": "HTTP request completed", "user_id": "af249b6c-514d-44ad-8634-8de0df2ee3e1", "instance_id": "15cf09c14481", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 31.596, "level": "info", "timestamp": "2026-10-11T02:21:57.338439Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} 2026-10-11T02:22:12.533004918Z {"request_id": "2c55d2ae93394c4f9f3e41de533330ad", "event": "HTTP request completed", "user_id": "af249b6c-514d-44ad-8634-8de0df2ee3e1", "instance_id": "15cf09c14481", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 3.161, "level": "info", "timestamp": "2026-10-11T02:22:12.532854Z", "func_name": "__call__", "lineno": 94, "filename": "request_context.py"} 2026-10-11T02:22:04.753395220Z {"request_id": "691a4490ab8c45d38bdb02cf241de59a", "event": "HTTP request completed", "user_id": "fd557a60-7ff7-4c15-a1ec-957d9ac54bea", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 2193.189, "level": "info", "timestamp": "2026-10-11T02:22:04.753300Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} 2026-10-11T02:22:05.642009096Z {"request_id": "fe3f97f702494f9fa25459639ba07c90", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.616, "level": "info", "timestamp": "2026-10-11T02:22:05.641811Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} 2026-10-11T02:22:08.506617305Z {"request_id": "02fa0e2a11294c3cbfb28bd7bf12b057", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.554, "level": "info", "timestamp": "2026-10-11T02:22:08.506504Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} 2026-10-11T02:22:08.533003930Z {"request_id": "c34c0661d68e4afdb3c8f304eeb481bd", "event": "HTTP request completed", "user_id": "f1eeb291-fe2e-40e4-985b-32b631bb3a8e", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 38.893, "level": "info", "timestamp": "2026-10-11T02:22:08.532903Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} 2026-10-11T02:22:09.671919750Z {"request_id": "8fdbb7e8f7e146d5a5f2d86482699107", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.9, "level": "info", "timestamp": "2026-10-11T02:22:09.671812Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} 2026-10-11T02:22:10.004261958Z {"request_id": "0954d186e8d4410bbc1a2c7698274c31", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5008.974, "level": "info", "timestamp": "2026-10-11T02:22:10.004178Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} 2026-10-11T02:22:12.314652876Z {"request_id": "e29424cbf7254146b2b11be43df6b45a", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5005.936, "level": "info", "timestamp": "2026-10-11T02:22:12.314583Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} 2026-10-11T02:22:14.472555044Z {"request_id": "52da12ef4ea0441bb8cede8c9c39c310", "event": "HTTP request completed", "instance_id": "6e842fc0b6ce", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5009.825, "level": "info", "timestamp": "2026-10-11T02:22:14.472486Z", "filename": "request_context.py", "lineno": 94, "func_name": "__call__"} ## HAProxy 2026-10-11T02:22:05.644447804Z 172.31.0.8:52464 [11/Oct/2026:02:22:00.589] entry api/api-2 0/0/0/5054/5054 503 338 - - ---- 425/425/410/381/0 0/0 "POST /api/v1/chats/49aa12d2-d536-4782-97d7-77685b402a09/messages HTTP/1.1" 2026-10-11T02:22:08.507819472Z 172.31.0.8:53510 [11/Oct/2026:02:22:03.495] entry api/api-2 0/0/0/5012/5012 503 338 - - ---- 425/425/415/412/0 0/0 "POST /api/v1/chats/49aa12d2-d536-4782-97d7-77685b402a09/messages HTTP/1.1" 2026-10-11T02:22:09.673212291Z 172.31.0.8:52592 [11/Oct/2026:02:22:04.658] entry api/api-2 0/0/0/5014/5014 503 338 - - ---- 426/425/409/408/0 0/0 "POST /api/v1/chats/1d3f906c-4305-46ad-a759-b96a7e15d20d/messages HTTP/1.1" 2026-10-11T02:22:10.005830625Z 172.31.0.8:54128 [11/Oct/2026:02:22:04.992] entry api/api-2 0/0/0/5012/5012 503 338 - - ---- 425/425/403/398/0 0/0 "POST /api/v1/chats/ecbdae49-4b56-49bc-9d06-9e6e85798423/messages HTTP/1.1" 2026-10-11T02:22:12.316252959Z 172.31.0.8:54540 [11/Oct/2026:02:22:07.305] entry api/api-2 0/0/0/5010/5010 503 338 - - ---- 425/425/420/386/0 0/0 "GET /api/v1/chats/a8bba668-205c-4c32-8923-8a7a39972f6d/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDphOGJiYTY2OC0yMDVjLTRjMzItODkyMy04YTdhMzk5NzJmNmQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoxOToyMS42NTE0MDlaIiwiaSI6IjY2ZDQwYjZkLWNlOTUtNDgxNy1iMjk1LTRlZGQ1NjZiOGMzNSJ9 HTTP/1.1" 2026-10-11T02:22:14.475047169Z 172.31.0.8:55200 [11/Oct/2026:02:22:09.460] entry api/api-2 0/0/0/5014/5014 503 338 - - ---- 425/425/405/363/0 0/0 "GET /api/v1/chats/a8bba668-205c-4c32-8923-8a7a39972f6d/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDphOGJiYTY2OC0yMDVjLTRjMzItODkyMy04YTdhMzk5NzJmNmQiLCJ0IjoiMjAyNi0xMC0xMVQwMjoxOToyMC4zNzU3MDNaIiwiaSI6IjE5NGIyYjhhLTg1OTUtNGI1Zi04MzdjLTQ0MTk5YzRkMzEzMyJ9 HTTP/1.1"