Replies: 2 comments 4 replies
-
Seems like your Open WebUI docker container can't reach Pipelines, I'd suggest you look into troubleshooting Docker networking issues. |
Beta Was this translation helpful? Give feedback.
2 replies
-
I had to use the local IP address assigned to the pipelines container, in my case it was : 172.17.0.4 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After reading the instructions and installing it, I found that I can never connect to pipeline.
env:window11, wsl2, dockers for desktop
This is the status of pipeline's docker.
2024-06-03 14:11:58 INFO: Started server process [7]
2024-06-03 14:11:58 INFO: Waiting for application startup.
2024-06-03 14:11:58 INFO: Application startup complete.
2024-06-03 14:11:58 INFO: Uvicorn running on http://127.0.0.1:9099 (Press CTRL+C to quit)
2024-06-03 14:11:57 RESET_PIPELINES_DIR is not set to true. No action taken.
2024-06-03 14:11:57 PIPELINES_REQUIREMENTS_PATH not specified. Skipping installation of requirements.
2024-06-03 14:11:57 PIPELINES_URLS not specified. Skipping pipelines download and installation.
This is the error generated by openwebui connection
2024-06-03 14:28:00 ERROR:apps.openai.main:HTTPConnectionPool(host='host.docker.internal', port=9099): Max retries exceeded with url: /models (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f086fe31f50>: Failed to establish a new connection: [Errno 111] Connection refused'))
2024-06-03 14:28:00 Traceback (most recent call last):
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 198, in _new_conn
2024-06-03 14:28:00 sock = connection.create_connection(
2024-06-03 14:28:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 85, in create_connection
2024-06-03 14:28:00 raise err
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/urllib3/util/connection.py", line 73, in create_connection
2024-06-03 14:28:00 sock.connect(sa)
2024-06-03 14:28:00 ConnectionRefusedError: [Errno 111] Connection refused
2024-06-03 14:28:00
2024-06-03 14:28:00 The above exception was the direct cause of the following exception:
2024-06-03 14:28:00
2024-06-03 14:28:00 Traceback (most recent call last):
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 793, in urlopen
2024-06-03 14:28:00 response = self._make_request(
2024-06-03 14:28:00 ^^^^^^^^^^^^^^^^^^^
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 496, in _make_request
2024-06-03 14:28:00 conn.request(
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 400, in request
2024-06-03 14:28:00 self.endheaders()
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/http/client.py", line 1298, in endheaders
2024-06-03 14:28:00 self._send_output(message_body, encode_chunked=encode_chunked)
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/http/client.py", line 1058, in _send_output
2024-06-03 14:28:00 self.send(msg)
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/http/client.py", line 996, in send
2024-06-03 14:28:00 self.connect()
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 238, in connect
2024-06-03 14:28:00 self.sock = self._new_conn()
2024-06-03 14:28:00 ^^^^^^^^^^^^^^^^
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 213, in _new_conn
2024-06-03 14:28:00 raise NewConnectionError(
2024-06-03 14:28:00 urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f086fe31f50>: Failed to establish a new connection: [Errno 111] Connection refused
2024-06-03 14:28:00
2024-06-03 14:28:00 The above exception was the direct cause of the following exception:
2024-06-03 14:28:00
2024-06-03 14:28:00 Traceback (most recent call last):
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 589, in send
2024-06-03 14:28:00 resp = conn.urlopen(
2024-06-03 14:28:00 ^^^^^^^^^^^^^
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 847, in urlopen
2024-06-03 14:28:00 retries = retries.increment(
2024-06-03 14:28:00 ^^^^^^^^^^^^^^^^^^
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 515, in increment
2024-06-03 14:28:00 raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
2024-06-03 14:28:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-03 14:28:00 urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='host.docker.internal', port=9099): Max retries exceeded with url: /models (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f086fe31f50>: Failed to establish a new connection: [Errno 111] Connection refused'))
2024-06-03 14:28:00
2024-06-03 14:28:00 During handling of the above exception, another exception occurred:
2024-06-03 14:28:00
2024-06-03 14:28:00 Traceback (most recent call last):
2024-06-03 14:28:00 File "/app/backend/apps/openai/main.py", line 321, in get_models
2024-06-03 14:28:00 r = requests.request(method="GET", url=f"{url}/models", headers=headers)
2024-06-03 14:28:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 59, in request
2024-06-03 14:28:00 return session.request(method=method, url=url, **kwargs)
2024-06-03 14:28:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
2024-06-03 14:28:00 resp = self.send(prep, **send_kwargs)
2024-06-03 14:28:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
2024-06-03 14:28:00 r = adapter.send(request, **kwargs)
2024-06-03 14:28:00 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-03 14:28:00 File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 622, in send
2024-06-03 14:28:00 raise ConnectionError(e, request=request)
2024-06-03 14:28:00 requests.exceptions.ConnectionError: HTTPConnectionPool(host='host.docker.internal', port=9099): Max retries exceeded with url: /models (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f086fe31f50>: Failed to establish a new connection: [Errno 111] Connection refused'))
2024-06-03 14:28:00 INFO: 172.17.0.1:36406 - "GET /openai/models/0 HTTP/1.1" 500 Internal Server Error
2024-06-03 14:28:00 INFO:apps.openai.main:get_all_models()
2024-06-03 14:28:00 ERROR:apps.openai.main:Connection error: Cannot connect to host host.docker.internal:9099 ssl:default [Connection refused]
Beta Was this translation helpful? Give feedback.
All reactions