Course map
Stage 1: Foundations
Stage 2: Data Integration
Stage 3: Building & Shipping
Stage 4: Customer Engagement
Stage 5: Specialization

Part 04 / Topic 4 of 6

Proxies and firewalls

Inside corporate networks, outbound traffic commonly must pass through a proxy, configured by environment variables:

export HTTPS_PROXY="http://proxy.acme.internal:3128"
export NO_PROXY="localhost,.acme.internal"

Well-behaved HTTP clients (httpx, requests, curl) read these automatically (trust_env=True). The classic on-site failures:

  • Your tool ignores the proxy settings (or you hard-coded a proxy from another site), so connections time out.
  • The proxy requires authentication, so every request comes back 407 Proxy Authentication Required.
  • NO_PROXY is missing for internal hosts, so internal calls pointlessly loop through the proxy and fail.

Track C, the Platform & Infrastructure track in Stage 5, turns this into executable practice. The rule here is simple: read proxy settings from the environment, never hard-code them.

Done here? The practice set for Part 4 — 4 exercises with solutions — is on the part page.

Search the guide