Fix HTTP 429 Too Many Requests Rate Limits
Eliminate HTTP 429 throttling across SERP, e-commerce, and API crawlers using horizontal port concurrency, exponential jitter backoff, and 3–5 minute residential rotation.
1. Quick Wire-Level Diagnostic Probe
Inspect the target's Retry-After and X-RateLimit-Remaining headers to determine whether throttling is enforced per-IP, per-cookie, or per-API-key.
curl -s -o /dev/null -w "status=%{http_code} time=%{time_total}s\n" -x "http://proxy_user:proxy_pass@gate.proxytee.com:8080" https://httpbin.org/status/429Common Symptoms
- Target returns HTTP 429 Too Many Requests with Retry-After headers during bursts
- Single-port crawler starts cleanly for 2 minutes, then hits 100% 429 responses
- Metered per-GB bills spike due to repeated 429 retry loops
- Concurrent asyncio tasks saturate a single exit IP socket
2. Primary Root Causes
High Concurrency Concentrated on 1 Port
Firing 50 async coroutines through a single port funnels all traffic through one active residential IP at that moment.
Long Sticky Rotation Window on Stateless Crawls
Leaving a port on a 60-minute rotation timer during aggressive catalog crawls exhausts that IP's per-minute quota quickly.
Synchronized Retry Storms Without Jitter
Retrying failed workers immediately at fixed intervals creates synchronized request spikes that keep the rate-limit bucket full.
3. Step-by-Step Remediation Checklist
Calculate Optimal Port Concurrency
Use the Port Concurrency Calculator to map your target requests/second into 5, 10, 25, or 50 independent ProxyTee ports.
Shorten Auto-Rotation to 3–5 Minutes
Call POST /v1/set-rotation/ with {"rotation": 3} on stateless crawls so fresh residential IPs cycle continuously.
Round-Robin Workers Across Distinct Port Endpoints
Bind each worker pool or async semaphore to a separate ProxyTee port so requests distribute across multiple consumer ISPs.
Implement Exponential Backoff + Random Jitter
Honor Retry-After headers and rotate to a fresh port slot when 429 occurs instead of hammering the same socket.
4. Production Fix Code (Multi-Port Round-Robin with Jittered 429 Backoff in Python)
pythonimport itertools
import random
import time
import requests
PORTS = [
"socks5h://user:pass@node1.proxytee.net:10001",
"socks5h://user:pass@node2.proxytee.net:10002",
"socks5h://user:pass@node3.proxytee.net:10003",
]
port_cycle = itertools.cycle(PORTS)
def fetch_with_backoff(url: str, max_attempts: int = 4):
for attempt in range(max_attempts):
proxy = next(port_cycle)
resp = requests.get(url, proxies={"http": proxy, "https": proxy}, timeout=15)
if resp.status_code != 429:
return resp
retry_after = int(resp.headers.get("Retry-After", 2 ** attempt))
time.sleep(retry_after + random.uniform(0.3, 1.4))
raise RuntimeError("Exceeded 429 retry budget")Recommended Next Steps for Zero-Block Execution
HTTP 429 Troubleshooting FAQs
At a typical 1.5–2.0 second page response, 1 port sustains ~40,000 requests/day safely without aggressive rate-limit trips. Scaling to 10 or 25 ports multiplies independent residential exit throughput linearly.