RunpodR
Runpod10mo ago
2 replies
hagen

How to talk to OLLAMA on the same pod? Network error communicating with Ollama: Request URL is missi

After rebooting my pod i see the following error message when talking to ollama:

Network error communicating with Ollama: Request URL is missing an 'http://' or 'https://' protocol.

According to the docs, I use the following ENV-.Var:
OLLAMA_HOST = 0.0.0.0

And my app talks to ollama with this "http://localhost:11434"

It has once worked for many weeks. Suddenly it doesnt work anymore. What has changed?

I run a docker image that contains a running ollama instance and that contains a python application talking to it. When I ssh into this container, i can talk to ollama via CLI and via http-requests without any issue.
Was this page helpful?