runtime error
_exceptions.py", line 14, in map_exceptions raise to_exc(exc) from exc httpcore.ConnectError: [Errno 111] Connection refused The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 4, in <module> model_list = ollama.list() File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/ollama/_client.py", line 328, in list return self._request('GET', '/api/tags').json() File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/ollama/_client.py", line 68, in _request response = self._client.request(method, url, **kwargs) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/httpx/_client.py", line 814, in request return self.send(request, auth=auth, follow_redirects=follow_redirects) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/httpx/_client.py", line 901, in send response = self._send_handling_auth( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/httpx/_client.py", line 929, in _send_handling_auth response = self._send_handling_redirects( File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/httpx/_client.py", line 966, in _send_handling_redirects response = self._send_single_request(request) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/httpx/_client.py", line 1002, in _send_single_request response = transport.handle_request(request) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/httpx/_transports/default.py", line 227, in handle_request with map_httpcore_exceptions(): File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/contextlib.py", line 153, in __exit__ self.gen.throw(typ, value, traceback) File "/home/user/.pyenv/versions/3.10.13/lib/python3.10/site-packages/httpx/_transports/default.py", line 83, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.ConnectError: [Errno 111] Connection refused
Container logs:
Fetching error logs...