# 4x1-r2-a1-s05: коды ошибок окна k6 — 503:6 ## PostgreSQL ## API 2026-10-11T01:32:15.560654211Z {"request_id": "04d53300d3a343c4ad701ac10d9edd21", "event": "Created message", "user_id": "56b2681a-3ab5-4ebb-b310-31228a76df8a", "instance_id": "130b33a64f43", "module": "message_service", "method": "send_message", "chat_id": "afec3757-4fa9-437e-84c6-3a548f9fcab8", "message_id": "a19c2d36-a449-44b6-b785-7924e899433c", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:32:15.560506Z", "func_name": "send_message", "filename": "message.py", "lineno": 102} 2026-10-11T01:32:15.565927003Z {"request_id": "04d53300d3a343c4ad701ac10d9edd21", "event": "HTTP request completed", "user_id": "56b2681a-3ab5-4ebb-b310-31228a76df8a", "instance_id": "130b33a64f43", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 201, "duration_ms": 304.468, "level": "info", "timestamp": "2026-10-11T01:32:15.565830Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} 2026-10-11T01:32:25.345330049Z {"request_id": "dadcba73c12748c998f7c24f705d2515", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "130b33a64f43", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 37.902, "level": "info", "timestamp": "2026-10-11T01:32:25.345227Z", "func_name": "__call__", "filename": "request_context.py", "lineno": 94} 2026-10-11T01:32:33.553300845Z {"request_id": "be31aa411db745f5a9a2e812f8a9cb8a", "event": "Created message", "user_id": "c3d04c67-c143-4df2-bee0-023cfcf97f72", "instance_id": "130b33a64f43", "module": "message_service", "method": "send_message", "chat_id": "afec3757-4fa9-437e-84c6-3a548f9fcab8", "message_id": "cf43c844-fbaf-411b-942f-132b0e65094e", "text_length": 64, "replayed": false, "level": "info", "timestamp": "2026-10-11T01:32:33.553137Z", "func_name": "send_message", "filename": "message.py", "lineno": 102} 2026-10-11T01:32:15.094533002Z {"request_id": "ed3334374b3a4290be427566579aa1c9", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 648.221, "level": "info", "timestamp": "2026-10-11T01:32:15.094450Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} 2026-10-11T01:32:16.533204545Z {"request_id": "d2d3a1a7008944fbb609f91168fc5af8", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 200, "duration_ms": 30.377, "level": "info", "timestamp": "2026-10-11T01:32:16.533001Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} 2026-10-11T01:32:26.989953300Z {"request_id": "153df99d2fbb4484b389a4b31be637c4", "event": "HTTP request completed", "user_id": "a38a30b6-87ad-4d79-b775-87e2d128667b", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 1287.187, "level": "info", "timestamp": "2026-10-11T01:32:26.989905Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} 2026-10-11T01:32:27.533007133Z {"request_id": "2244cf38aebc468693403b94a5b18836", "event": "HTTP request completed", "user_id": "bf80490b-3833-48ab-b96f-caaef6331053", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 200, "duration_ms": 719.733, "level": "info", "timestamp": "2026-10-11T01:32:27.532789Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} 2026-10-11T01:32:30.977629927Z {"request_id": "a39bfd4457ce444a9e9c5090282c69e7", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.464, "level": "info", "timestamp": "2026-10-11T01:32:30.977481Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} 2026-10-11T01:32:31.712048969Z {"request_id": "6e7bd54a7da3481580dc88c643b0415a", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.919, "level": "info", "timestamp": "2026-10-11T01:32:31.711885Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} 2026-10-11T01:32:32.316569636Z {"request_id": "1d3a3eb4374b463e8023a0fdaf09af3d", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "POST", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5006.696, "level": "info", "timestamp": "2026-10-11T01:32:32.316466Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} 2026-10-11T01:32:32.733482219Z {"request_id": "c19cdafca1b5437cba872bca04b95546", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5007.659, "level": "info", "timestamp": "2026-10-11T01:32:32.733336Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} 2026-10-11T01:32:32.968032761Z {"request_id": "b04acfbf50db45bfb8c0332001ccad7c", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/chats/{chat_id}/messages", "status": 503, "duration_ms": 5010.13, "level": "info", "timestamp": "2026-10-11T01:32:32.967883Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} 2026-10-11T01:32:34.310602678Z {"request_id": "b7f7762439c340fd921b6fdf41403d75", "event": "HTTP request completed", "instance_id": "db3f3ad5d130", "middleware": "http", "method": "GET", "path": "/api/v1/users/me", "status": 503, "duration_ms": 5005.355, "level": "info", "timestamp": "2026-10-11T01:32:34.310499Z", "lineno": 94, "func_name": "__call__", "filename": "request_context.py"} ## HAProxy 2026-10-11T01:32:30.979300135Z 172.31.0.9:45616 [11/Oct/2026:01:32:25.916] entry api/api-1 0/0/0/5062/5062 503 338 - - ---- 516/516/504/434/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowOS4zOTcyMzRaIiwiaSI6IjVmMWU0ZWZiLTgxMGEtNGJiYy1hN2M5LWQ4ZjkyYTc5MjQ2ZSJ9 HTTP/1.1" 2026-10-11T01:32:31.714600635Z 172.31.0.9:46188 [11/Oct/2026:01:32:26.699] entry api/api-1 0/0/0/5015/5015 503 338 - - ---- 516/516/496/406/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowNi42OTg0MTdaIiwiaSI6IjcxZTA4NWQ3LTEyZjUtNGJjOS04MjBiLTlmNDRhOTgwMzM5MCJ9 HTTP/1.1" 2026-10-11T01:32:32.318547469Z 172.31.0.9:42450 [11/Oct/2026:01:32:27.305] entry api/api-1 0/0/0/5013/5013 503 338 - - ---- 516/516/504/457/0 0/0 "POST /api/v1/chats/8aaf944e-de75-48ac-b3d5-db784c43f305/messages HTTP/1.1" 2026-10-11T01:32:32.736282761Z 172.31.0.9:44720 [11/Oct/2026:01:32:27.722] entry api/api-1 0/0/0/5013/5013 503 338 - - ---- 516/516/500/414/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDowOC4yOTM3MDJaIiwiaSI6IjE2ZjcwM2QxLTI2NTgtNGEwZC05OTg3LTRkZDE2ZDdlY2NmMSJ9 HTTP/1.1" 2026-10-11T01:32:32.970718594Z 172.31.0.9:42634 [11/Oct/2026:01:32:27.954] entry api/api-1 0/0/0/5016/5016 503 338 - - ---- 516/516/506/420/0 0/0 "GET /api/v1/chats/eb42f5d4-8ce0-4e73-b82e-567671ce530a/messages?limit=50&cursor=eyJ2IjoxLCJzIjoiY2hhdDplYjQyZjVkNC04Y2UwLTRlNzMtYjgyZS01Njc2NzFjZTUzMGEiLCJ0IjoiMjAyNi0xMC0xMVQwMTozMDoxMC44MjI4NzNaIiwiaSI6ImY3MTM5YzczLTFhOTYtNGVhNi04NjA3LWRlODk2NGFiMDE3MyJ9 HTTP/1.1" 2026-10-11T01:32:34.313448262Z 172.31.0.9:46710 [11/Oct/2026:01:32:29.299] entry api/api-1 0/0/0/5013/5013 503 338 - - ---- 516/516/500/434/0 0/0 "GET /api/v1/users/me HTTP/1.1"