Encountered a ConnectionErrorr: Max retries exceeded
ConnectionError: HTTPConnectionPool(host='llm', port=11434): Max retries exceeded with url: /api/generate/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8f44052160>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
Is the service llm running ? Or are you using the llm-gpu service ?
In my case, it was just network not fast enough, just docker-compose up again and again until it finish pulling
Having same issue. I am running llm-gpu service.
if you run the service from docker, try to use the api url to http://host.docker.internal:11434
i fix this error by changing this.
if you run the service from docker, try to use the api url to http://host.docker.internal:11434
如果您从 docker 运行该服务,请尝试使用 api url http://host.docker.internal:11434
i fix this error by changing this.↳
it works,thankyou!