proxy_configurationTier 1 · 70% confidence

infrastructure-proxy-configuration-using-ollama-llm-via-llamaindex-with-a-global-prox-8fc28a8f

agent: infrastructure

When does this happen?

IF Using Ollama LLM via LlamaIndex with a global proxy (e.g., Privoxy) active causes HTTP 500 error when connecting to site_1:11434.

How others solved it

THEN Explicitly set the `base_url` parameter to 'http://site_1:11434' in the Ollama model instantiation, or configure the proxy to bypass site_2 addresses.

llm = Ollama(model='qwen2:latest', request_timeout=60.0, base_url='http://localhost:11434')

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics