502 vs 504: Bad Gateway vs Gateway Timeout
502 means the next server answered badly. 504 means it never answered in time. We tested which hop sends each through Squid 6.13 and…
How to do a specific thing, with commands and code that were run before publication.
Each guide covers one task end to end: the working configuration, the mistakes that produce silent failures, and how to read the errors when it goes wrong.
The commands were run before the page was written. Where a guide reports what a tool does, that behaviour was observed on a stated version rather than taken from documentation, because the two disagree more often than they should.
502 means the next server answered badly. 504 means it never answered in time. We tested which hop sends each through Squid 6.13 and…
401 asks for credentials, 403 refuses with or without them, 407 is your proxy asking. Real curl, requests, httpx and Node output for each.
Agent traffic is neither human nor crawler, and its shape gives it away before any header is read. Identity per task, bounded retries, real…
A retrieval corpus fails quietly: it answers fluently from last month's page. How to revalidate rather than refetch, and spot a source changing shape.
Collecting LLM training data from the web: provenance, layered dedup, per-host pacing, and the robots.txt rules Python's parser gets wrong.
Set a git proxy with http.proxy; https.proxy is silently ignored. npm and pip equivalents and their real errors, tested on git 2.54, npm 11.6,…
Node fetch proxy setup that works: NODE_USE_ENV_PROXY, undici ProxyAgent, axios and got, with the version traps and exact errors from a logging proxy.
http_proxy, https_proxy and no_proxy tested in 12 client setups: the uppercase rule, leading dots, CIDR and wildcards that each client reads differently.
Residential vs datacenter proxies, decided by who owns the exit address. Real ASN and hosting lookups, a test-first order, and where ISP and mobile…
Sticky vs rotating proxies: which suits each task, why a pooled client never rotates, and the session-ID pattern that failed at request 250.
407 means your proxy refused you; 403 and 429 usually come from the site. Real responses from Squid, three anti-bot systems and GitHub.
Tested proxy setup for requests 2.34.2, httpx 0.28.1 and aiohttp 3.14.5, with the exact exception each raised when the proxy failed.
curl -x syntax for HTTP and SOCKS5 proxies, plus 15 proxy failures with the exact error curl 8.7.1 and 8.23.0 printed for each.
A proxy server sends your requests from its own address. What it can read, what it adds to your headers, and the four types,…