Proxy errors

Guides

reqwest proxy: HTTP, SOCKS5, auth and rotation in Rust

reqwest proxy setup for Rust on reqwest 0.13: Proxy::all, credentials, the socks feature, socks5h, env variables and NO_PROXY, pooling, rotation and errors.13 min read
Guides

aiohttp proxy: auth, trust_env, SOCKS5, limits and rotation

Set a proxy in Python aiohttp: proxy= per session or request, auth after the 3.14 proxy_auth deprecation, trust_env, SOCKS5, connector limits and each error.15 min read
Guides

http_proxy environment variable: what each tool actually reads

How http_proxy, HTTPS_PROXY, ALL_PROXY and NO_PROXY work in curl, wget, Python, Go, Node, Ruby and Java: case rules, NO_PROXY matching, debugging.12 min read
Guides

urllib proxy: ProxyHandler, auth, HTTPS tunnels and env vars

Set a proxy in Python's urllib.request with ProxyHandler: credentials, HTTPS CONNECT tunnels, the 407 trap, HTTPS_PROXY and no_proxy, SOCKS5 and rotation.12 min read
Guides

Crawlee proxy setup: rotation, sessions, tiers and SOCKS5

Crawlee proxy setup for Node and Python: ProxyConfiguration, how sessions pin proxies, the browser trap where proxyInfo lies, tiers, SOCKS5 and 407 loops.13 min read
Guides

HTTP CONNECT method: how HTTPS gets through a proxy

The HTTP CONNECT method turns a proxy into a blind tunnel. The request, the 200 reply, what the proxy can and cannot see, why tunnels fail, and HTTP/3.13 min read
Guides

502 Bad Gateway proxy error: find who sent it, then fix it

A 502 through a proxy comes from the proxy or from the target's own gateway. How to tell them apart in one command, what causes each, and when to retry.11 min read
Guides

Proxy timeout: connect, read or 504, and which side to fix

A proxy timeout names the phase that stalled: connect, the CONNECT tunnel, TLS or first byte. Read the error, time each phase with curl, fix the right side.15 min read
Guides

ERR_TUNNEL_CONNECTION_FAILED: what it means, how to fix it

ERR_TUNNEL_CONNECTION_FAILED means a proxy would not open the HTTPS tunnel. How to see the status Chrome hides, and the fix for each one, in Chrome and code.10 min read
Guides

Proxy error codes: which hop sent it and how to fix it

Proxy error codes decoded by hop: which ones the proxy sends, which come from the target, how to read them with curl -v, and which ones are safe to retry.14 min read
Guides

OkHttp proxy: auth, SOCKS5, rotation and 407 fixes

OkHttp proxy setup in Kotlin and Java for OkHttp 4.12 and 5.x: proxyAuthenticator done right, SOCKS5 logins, the system proxy, rotation and the 407 traps.15 min read
Guides

407 Proxy Authentication Required: causes and client fixes

A 407 means the proxy, not the site, rejected or never got your login. Causes in the order to check, and the fix for curl, Python, Node, browsers and apt.15 min read