cdb3_registry_mirror_sandbox_bug
| Time | message | domain_name | http_request | http_status_code | | |------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------|----------------------|-----| | | Jan 10, 2022 @ 13:58:38.000 | haproxy[20941]: 62.80.180.164:12265 [10/Jan/2022:13:58:38.148] HaProxy80 KUBER/worker-node-1-np 0/0/133/4/137 503 628 602 - - ---- 252/120/119/13/0 0/0 procedure-sandbox.prozorro.sale "amphp/http-client @ v4.x" "GET /api/mirror/registry HTTP/1.1" "" | procedure-sandbox.prozorro.sale | /api/mirror/registry | 503 |
env prozorro-sandbox-registry-mirror-api
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request
resp = await self._request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 499, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/tools/middlewares.py", line 9, in request_id_middleware
response = await handler(request)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/auth/__init__.py", line 118, in context_middleware
return await handler(request)
File "/usr/local/lib/python3.9/site-packages/prozorro_sale/auth/__init__.py", line 138, in handler
return await func(request, *args, **kwargs)
File "/registry_mirror/registry_mirror/main.py", line 46, in websocket_handler
if await job:
File "/usr/local/lib/python3.9/site-packages/mongodb_mirror/mirror.py", line 138, in sync_client
clients_lag.remove(client.addr)
File "/usr/local/lib/python3.9/site-packages/prometheus_client/metrics.py", line 202, in remove
del self._metrics[labelvalues]
KeyError: ('77.123.145.123',)```