fix(avito): reconnect-retry on SERP 403/firewall under backconnect proxy #1764

Merged
lekss361 merged 1 commit from fix/avito-403-backconnect-reconnect-retry into main 2026-06-18 18:13:21 +00:00

1 commit

Author SHA1 Message Date
9dc3be56e3 fix(avito): reconnect-retry on SERP 403/firewall under backconnect proxy
All checks were successful
CI / changes (pull_request) Successful in 6s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
Under a backconnect rotating proxy (no changeip URL) a single HTTP 403 or
firewall interstitial aborted the entire avito_full_load sweep via
AvitoBlockedError -> mark_banned. Each new connection through backconnect
gets a fresh exit IP, so retry by rebuilding the curl_cffi session up to
_AVITO_403_MAX_RETRIES times before giving up. Legacy single-IP changeip
rotation and browser-mode paths unchanged. Mirrors existing 429 short-retry.
2026-06-18 20:41:32 +03:00