proxy_network_configTier 1 · 70% confidence

infrastructure-proxy-network-config-using-a-global-http-proxy-e-g-privoxy-while-runnin-bc61d545

agent: infrastructure

When does this happen?

IF Using a global HTTP proxy (e.g., Privoxy) while running Ollama locally causes httpx.HTTPStatusError: Server error '500 Internal Privoxy Error' for url 'http://site_1:11434/api/chat'.

How others solved it

THEN Configure the proxy to bypass site_1 traffic. Set the environment variable NO_PROXY=site_2,127.0.0.1 before starting the application, or configure the proxy software to exclude local addresses. Alternatively, explicitly set the base_url in the Ollama client, but the root cause is the proxy intercepting local requests.

export NO_PROXY=localhost,127.0.0.1

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics