[Bug]: Fail to access model(llama3).**ERROR**: [Errno 111] Connection refused
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Branch name
main
Commit ID
c3b21a
Other environment information
No response
Actual behavior
集成ollama出现的错误
Expected behavior
No response
Steps to reproduce
集成ollama出现的错误
Additional information
No response
Make sure the IP address you input the blank is accessible from the ragflow docker container.
Fail to connect to es: Connection error caused by: ConnectionError(Connection error caused by: NameResolutionError(<urllib3.connection.HTTPConnection object at 0x717580c45ad0>: Failed to resolve 'es01' ([Errno -3] Temporary failure in name resolution))).新的错误
Use http://host.docker.internal:11434/
Use http://host.docker.internal:11434/
I was presenting the same problem in this thread and with your comment I was able to solve the problem, thank you.
提示 : 102 Fail to access model(llama3:instruct).ERROR: [Errno 111] Connection refused.还是同样的错误
提示:102 无法访问 model(llama3:instruct)。ERROR: [Errno 111] Connection refused.还是同样的错误
Make sure that your ollama service is bound to an IP and that the ip:port can be accessed by ragflow-server
Similar issue:
Running everything on the same machine. Docker on Debian. Ollama local. No firewall.
I've added for each services in docker-compose-base.yml and docker-compose.yml
extra_hosts:
- "host.docker.internal:host-gateway"
On bare metal http://localhost:11434/ works, from within the container is doesn't.
From within ragflow-server I installed ping/curl.
I can ping host-gateway but I cannot curl host.docker.internal:11434 I get
curl: (7) Failed to connect to host.docker.internal port 11434 after 0 ms: Connection refused Other port on my host machine are not accessible either.
提示 : 102 Fail to access model(llama3:instruct).ERROR: [Errno 111] Connection refused.还是同样的错误
解决了吗
http://host.docker.internal:11434/ still error Fail to access model(llama3).ERROR: [Errno -2] Name or service not known how to solve it