CDB3-5858 Помилка Feed Exception: 'browser'
[2023-10-03T05:55:11.046Z] | prozorro_sale.auction.ws.ws_handler | ERROR - Feed Exception: 'browser' | X-Request-ID: 28107F000001CFE07F0000010050651BACBF25B74C98E
Traceback (most recent call last):
File "/auction/prozorro_sale/auction/ws/ws_handler.py", line 314, in process_ws
task.result()
File "/auction/prozorro_sale/auction/ws/ws_handler.py", line 237, in feed
await self.auction_feed_watcher(ws)
File "/auction/prozorro_sale/auction/ws/ws_handler.py", line 119, in auction_feed_watcher
await self._create_session()
File "/auction/prozorro_sale/auction/ws/ws_handler.py", line 249, in _create_session
session = get_agent_data(self.request)
File "/auction/prozorro_sale/auction/ws/utils.py", line 20, in get_agent_data
browser = httpagentparser.detect(request.headers.get('User-Agent'))['browser']['name']
KeyError: 'browser'
haproxy[10256]: 176.108.124.68:48702 [03/Oct/2023:05:54:38.811] HaProxy80 KUBER/ingress-nlb-prod 0/0/2/5/11 101 566 1418 - - ---- 226/133/79/79/0 0/0 28107F000001BE3E7F0000010050651BAC9E32BB74BC9E "Mozilla/5.0 (iPhone; CPU iPhone OS 16_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/20G81 [FBAN/FBIOS;FBDV/" "GET /api/auctions/LRE001-UA-20230830-00151/ws HTTP/1.1" "" "auction.prozorro.sale" ""
Edited by Pavel Kuzmenko