ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Bug]: Fail to access model(llama3).**ERROR**: [Errno 111] Connection refused

Open CreaterZXW opened this issue 1 year ago • 7 comments

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

CreaterZXW avatar Apr 30 '24 01:04 CreaterZXW

Make sure the IP address you input the blank is accessible from the ragflow docker container.

KevinHuSh avatar Apr 30 '24 01:04 KevinHuSh

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))).新的错误

CreaterZXW avatar Apr 30 '24 02:04 CreaterZXW

Use http://host.docker.internal:11434/

Nehcknarf avatar Apr 30 '24 03:04 Nehcknarf

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.

mycarlos26 avatar Apr 30 '24 03:04 mycarlos26

提示 : 102 Fail to access model(llama3:instruct).ERROR: [Errno 111] Connection refused.还是同样的错误

CreaterZXW avatar Apr 30 '24 06:04 CreaterZXW

提示: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

guoyuhao2330 avatar May 06 '24 04:05 guoyuhao2330

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.

alxleroux avatar May 07 '24 10:05 alxleroux

提示 : 102 Fail to access model(llama3:instruct).ERROR: [Errno 111] Connection refused.还是同样的错误

解决了吗

goldeneave avatar May 31 '24 01:05 goldeneave

http://host.docker.internal:11434/ still error Fail to access model(llama3).ERROR: [Errno -2] Name or service not known how to solve it

zzlTim avatar Jul 18 '24 06:07 zzlTim