Fetch Failed Error (Ollama) #2675
Replies: 3 comments 6 replies
-
1 ) You may miss the "Cache". |
Beta Was this translation helpful? Give feedback.
-
@MdNaeemurRahman To fix your issue, you can simple replace "localhost" with "host.docked.internal" in "Base URL" field in ChatOllama box. "host.docker.internal" is a special hostname provided by the Docker daemon, which allows containers to access the host machine's IP address and network services. Q: Why flowise can't reaches your ollama instance via localhost? Hope it helps!!! |
Beta Was this translation helpful? Give feedback.
-
The issue may be caused by the Ollama service only listening on localhost (127.0.0.1) and not on the Docker network interface. To allow Docker containers to connect, you might need to configure Ollama to listen on all interfaces (0.0.0.0). Here’s how to fix it:
After this change, your Docker containers should be able to connect to the Ollama service. |
Beta Was this translation helpful? Give feedback.
-
I'm running Flowise in Docker and also running Ollama (Not in Docker). For test, i created a simple Flow however it seems like it can't recognize Ollama and rasing Fetch Failed Error. How can i solve this issue?
Note: I'm in Linux and i didn't make any changes on the default docker-compose.yml, .env (except removing example) file
Beta Was this translation helpful? Give feedback.
All reactions