-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Description
openwebui-1 | 2025-05-01 17:38:23.080 | ERROR | function_openwebui_monitor:inlet:129 - Request failed: - {}
openwebui-1 | Traceback (most recent call last):
openwebui-1 |
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 101, in map_httpcore_exceptions
openwebui-1 | yield
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 394, in handle_async_request
openwebui-1 | resp = await self._pool.handle_async_request(req)
openwebui-1 | │ │ │ └ <Request [b'POST']>
openwebui-1 | │ │ └ <function AsyncConnectionPool.handle_async_request at 0x7611da528220>
openwebui-1 | │ └ <AsyncConnectionPool [Requests: 0 active, 0 queued | Connections: 0 active, 0 idle]>
openwebui-1 | └ <httpx.AsyncHTTPTransport object at 0x7611c07b4dd0>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 256, in handle_async_request
openwebui-1 | raise exc from None
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 236, in handle_async_request
openwebui-1 | response = await connection.handle_async_request(
openwebui-1 | │ └ <function AsyncHTTPConnection.handle_async_request at 0x7611da4cb420>
openwebui-1 | └ <AsyncHTTPConnection [CONNECTION FAILED]>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection.py", line 101, in handle_async_request
openwebui-1 | raise exc
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection.py", line 78, in handle_async_request
openwebui-1 | stream = await self._connect(request)
openwebui-1 | │ │ └ <Request [b'POST']>
openwebui-1 | │ └ <function AsyncHTTPConnection._connect at 0x7611da4cb4c0>
openwebui-1 | └ <AsyncHTTPConnection [CONNECTION FAILED]>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection.py", line 124, in _connect
openwebui-1 | stream = await self._network_backend.connect_tcp(**kwargs)
openwebui-1 | │ │ │ └ {'host': '172.17.0.1', 'port': 7878, 'local_address': None, 'timeout': 5.0, 'socket_options': None}
openwebui-1 | │ │ └ <function AutoBackend.connect_tcp at 0x7611da4c9440>
openwebui-1 | │ └ <httpcore._backends.auto.AutoBackend object at 0x7611c07b53d0>
openwebui-1 | └ <AsyncHTTPConnection [CONNECTION FAILED]>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpcore/_backends/auto.py", line 31, in connect_tcp
openwebui-1 | return await self._backend.connect_tcp(
openwebui-1 | │ │ └ <function AnyIOBackend.connect_tcp at 0x7611d815c0e0>
openwebui-1 | │ └ <httpcore.AnyIOBackend object at 0x7611c0783b90>
openwebui-1 | └ <httpcore._backends.auto.AutoBackend object at 0x7611c07b53d0>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 113, in connect_tcp
openwebui-1 | with map_exceptions(exc_map):
openwebui-1 | │ └ {<class 'TimeoutError'>: <class 'httpcore.ConnectTimeout'>, <class 'OSError'>: <class 'httpcore.ConnectError'>, <class 'anyio...
openwebui-1 | └ <function map_exceptions at 0x7611da801620>
openwebui-1 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
openwebui-1 | self.gen.throw(typ, value, traceback)
openwebui-1 | │ │ │ │ │ └ <traceback object at 0x7611c0781780>
openwebui-1 | │ │ │ │ └ TimeoutError()
openwebui-1 | │ │ │ └ <class 'TimeoutError'>
openwebui-1 | │ │ └ <method 'throw' of 'generator' objects>
openwebui-1 | │ └ <generator object map_exceptions at 0x7611da547040>
openwebui-1 | └ <contextlib._GeneratorContextManager object at 0x7611c0781d90>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpcore/_exceptions.py", line 14, in map_exceptions
openwebui-1 | raise to_exc(exc) from exc
openwebui-1 | └ <class 'httpcore.ConnectTimeout'>
openwebui-1 |
openwebui-1 | httpcore.ConnectTimeout
openwebui-1 |
openwebui-1 |
openwebui-1 | The above exception was the direct cause of the following exception:
openwebui-1 |
openwebui-1 |
openwebui-1 | Traceback (most recent call last):
openwebui-1 |
openwebui-1 | File "/usr/local/bin/uvicorn", line 10, in <module>
openwebui-1 | sys.exit(main())
openwebui-1 | │ │ └ <Command main>
openwebui-1 | │ └ <built-in function exit>
openwebui-1 | └ <module 'sys' (built-in)>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1161, in __call__
openwebui-1 | return self.main(*args, **kwargs)
openwebui-1 | │ │ │ └ {}
openwebui-1 | │ │ └ ()
openwebui-1 | │ └ <function BaseCommand.main at 0x761231da9e40>
openwebui-1 | └ <Command main>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1082, in main
openwebui-1 | rv = self.invoke(ctx)
openwebui-1 | │ │ └ <click.core.Context object at 0x761232a6c450>
openwebui-1 | │ └ <function Command.invoke at 0x761231daaa20>
openwebui-1 | └ <Command main>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1443, in invoke
openwebui-1 | return ctx.invoke(self.callback, **ctx.params)
openwebui-1 | │ │ │ │ │ └ {'host': '0.0.0.0', 'port': 8080, 'forwarded_allow_ips': '*', 'workers': 1, 'app': 'open_webui.main:app', 'uds': None, 'fd': ...
openwebui-1 | │ │ │ │ └ <click.core.Context object at 0x761232a6c450>
openwebui-1 | │ │ │ └ <function main at 0x761231985580>
openwebui-1 | │ │ └ <Command main>
openwebui-1 | │ └ <function Context.invoke at 0x761231da93a0>
openwebui-1 | └ <click.core.Context object at 0x761232a6c450>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/click/core.py", line 788, in invoke
openwebui-1 | return __callback(*args, **kwargs)
openwebui-1 | │ └ {'host': '0.0.0.0', 'port': 8080, 'forwarded_allow_ips': '*', 'workers': 1, 'app': 'open_webui.main:app', 'uds': None, 'fd': ...
openwebui-1 | └ ()
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 412, in main
openwebui-1 | run(
openwebui-1 | └ <function run at 0x761231dafec0>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/main.py", line 579, in run
openwebui-1 | server.run()
openwebui-1 | │ └ <function Server.run at 0x761231c11300>
openwebui-1 | └ <uvicorn.server.Server object at 0x761231db2650>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/uvicorn/server.py", line 66, in run
openwebui-1 | return asyncio.run(self.serve(sockets=sockets))
openwebui-1 | │ │ │ │ └ None
openwebui-1 | │ │ │ └ <function Server.serve at 0x761231c113a0>
openwebui-1 | │ │ └ <uvicorn.server.Server object at 0x761231db2650>
openwebui-1 | │ └ <function run at 0x76123211cb80>
openwebui-1 | └ <module 'asyncio' from '/usr/local/lib/python3.11/asyncio/__init__.py'>
openwebui-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 190, in run
openwebui-1 | return runner.run(main)
openwebui-1 | │ │ └ <coroutine object Server.serve at 0x761231b3e7a0>
openwebui-1 | │ └ <function Runner.run at 0x761231f88720>
openwebui-1 | └ <asyncio.runners.Runner object at 0x76123198f2d0>
openwebui-1 | File "/usr/local/lib/python3.11/asyncio/runners.py", line 118, in run
openwebui-1 | return self._loop.run_until_complete(task)
openwebui-1 | │ │ │ └ <Task pending name='Task-1' coro=<Server.serve() running at /usr/local/lib/python3.11/site-packages/uvicorn/server.py:70> wai...
openwebui-1 | │ │ └ <cyfunction Loop.run_until_complete at 0x7612319c5220>
openwebui-1 | │ └ <uvloop.Loop running=True closed=False debug=False>
openwebui-1 | └ <asyncio.runners.Runner object at 0x76123198f2d0>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 141, in coro
openwebui-1 | await self.app(scope, receive_or_disconnect, send_no_error)
openwebui-1 | │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x7611c077cf40>
openwebui-1 | │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7611d829c360>
openwebui-1 | │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('172.18.0.2', 8080), 'c...
openwebui-1 | │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7611dadc7b90>
openwebui-1 | └ <open_webui.main.RedirectMiddleware object at 0x7611dafd3550>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
openwebui-1 | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
openwebui-1 | │ │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.send_no_error at 0x7611c077cf40>
openwebui-1 | │ │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7611d829c360>
openwebui-1 | │ │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('172.18.0.2', 8080), 'c...
openwebui-1 | │ │ │ └ <starlette.requests.Request object at 0x7611da3b3790>
openwebui-1 | │ │ └ <fastapi.routing.APIRouter object at 0x7611fe756690>
openwebui-1 | │ └ <starlette.middleware.exceptions.ExceptionMiddleware object at 0x7611dadc7b90>
openwebui-1 | └ <function wrap_app_handling_exceptions at 0x76122ee7b2e0>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
openwebui-1 | await app(scope, receive, sender)
openwebui-1 | │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7611c077ff60>
openwebui-1 | │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7611d829c360>
openwebui-1 | │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('172.18.0.2', 8080), 'c...
openwebui-1 | └ <fastapi.routing.APIRouter object at 0x7611fe756690>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__
openwebui-1 | await self.middleware_stack(scope, receive, send)
openwebui-1 | │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7611c077ff60>
openwebui-1 | │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7611d829c360>
openwebui-1 | │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('172.18.0.2', 8080), 'c...
openwebui-1 | │ └ <bound method Router.app of <fastapi.routing.APIRouter object at 0x7611fe756690>>
openwebui-1 | └ <fastapi.routing.APIRouter object at 0x7611fe756690>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 735, in app
openwebui-1 | await route.handle(scope, receive, send)
openwebui-1 | │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7611c077ff60>
openwebui-1 | │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7611d829c360>
openwebui-1 | │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('172.18.0.2', 8080), 'c...
openwebui-1 | │ └ <function Route.handle at 0x76122ef709a0>
openwebui-1 | └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle
openwebui-1 | await self.app(scope, receive, send)
openwebui-1 | │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7611c077ff60>
openwebui-1 | │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7611d829c360>
openwebui-1 | │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('172.18.0.2', 8080), 'c...
openwebui-1 | │ └ <function request_response.<locals>.app at 0x7611daf36840>
openwebui-1 | └ APIRoute(path='/api/chat/completions', name='chat_completion', methods=['POST'])
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 76, in app
openwebui-1 | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
openwebui-1 | │ │ │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7611c077ff60>
openwebui-1 | │ │ │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7611d829c360>
openwebui-1 | │ │ │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('172.18.0.2', 8080), 'c...
openwebui-1 | │ │ └ <starlette.requests.Request object at 0x7611c07b5f10>
openwebui-1 | │ └ <function request_response.<locals>.app.<locals>.app at 0x7611c077fce0>
openwebui-1 | └ <function wrap_app_handling_exceptions at 0x76122ee7b2e0>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
openwebui-1 | await app(scope, receive, sender)
openwebui-1 | │ │ │ └ <function wrap_app_handling_exceptions.<locals>.wrapped_app.<locals>.sender at 0x7611c077ec00>
openwebui-1 | │ │ └ <function BaseHTTPMiddleware.__call__.<locals>.call_next.<locals>.receive_or_disconnect at 0x7611d829c360>
openwebui-1 | │ └ {'type': 'http', 'asgi': {'version': '3.0', 'spec_version': '2.3'}, 'http_version': '1.1', 'server': ('172.18.0.2', 8080), 'c...
openwebui-1 | └ <function request_response.<locals>.app.<locals>.app at 0x7611c077fce0>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app
openwebui-1 | response = await f(request)
openwebui-1 | │ └ <starlette.requests.Request object at 0x7611c07b5f10>
openwebui-1 | └ <function get_request_handler.<locals>.app at 0x7611daca85e0>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app
openwebui-1 | raw_response = await run_endpoint_function(
openwebui-1 | └ <function run_endpoint_function at 0x76122ef727a0>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
openwebui-1 | return await dependant.call(**values)
openwebui-1 | │ │ └ {'user': UserModel(id='0db4de9d-53f3-4cf0-a083-0a9e35878e64', name='Felix-Etienne Gauthier', email='felixetienne.gauthier@pro...
openwebui-1 | │ └ <function chat_completion at 0x7611dacab600>
openwebui-1 | └ Dependant(path_params=[], query_params=[], header_params=[], cookie_params=[], body_params=[ModelField(field_info=Body(Pydant...
openwebui-1 |
openwebui-1 | File "/app/backend/open_webui/main.py", line 1130, in chat_completion
openwebui-1 | form_data, metadata, events = await process_chat_payload(
openwebui-1 | │ │ └ <function process_chat_payload at 0x7611feb80360>
openwebui-1 | │ └ {'user_id': '0db4de9d-53f3-4cf0-a083-0a9e35878e64', 'chat_id': 'd4844206-d132-431e-a1ad-fde9c1a8f7db', 'message_id': 'becd783...
openwebui-1 | └ {'stream': True, 'model': 'gpt-4o', 'messages': [{'role': 'user', 'content': 'Test'}], 'features': {'image_generation': False...
openwebui-1 |
openwebui-1 | File "/app/backend/open_webui/utils/middleware.py", line 783, in process_chat_payload
openwebui-1 | form_data, flags = await process_filter_functions(
openwebui-1 | │ └ <function process_filter_functions at 0x7612058fb240>
openwebui-1 | └ {'stream': True, 'model': 'gpt-4o', 'messages': [{'role': 'user', 'content': 'Test'}], 'features': {'image_generation': False...
openwebui-1 |
openwebui-1 | File "/app/backend/open_webui/utils/filter.py", line 99, in process_filter_functions
openwebui-1 | form_data = await handler(**params)
openwebui-1 | │ └ {'body': {'stream': True, 'model': 'gpt-4o', 'messages': [{'role': 'user', 'content': 'Test'}], 'features': {'image_generatio...
openwebui-1 | └ <bound method Filter.inlet of <function_openwebui_monitor.Filter object at 0x7611d82bb250>>
openwebui-1 |
openwebui-1 | > File "<string>", line 108, in inlet
openwebui-1 | File "<string>", line 84, in request
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1859, in post
openwebui-1 | return await self.request(
openwebui-1 | │ └ <function AsyncClient.request at 0x76120bd3d4e0>
openwebui-1 | └ <httpx.AsyncClient object at 0x7611d8288050>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1540, in request
openwebui-1 | return await self.send(request, auth=auth, follow_redirects=follow_redirects)
openwebui-1 | │ │ │ │ └ <httpx._client.UseClientDefault object at 0x76120bc7f450>
openwebui-1 | │ │ │ └ <httpx._client.UseClientDefault object at 0x76120bc7f450>
openwebui-1 | │ │ └ <Request('POST', 'http://172.17.0.1:7878/api/v1/inlet')>
openwebui-1 | │ └ <function AsyncClient.send at 0x76120bd3d6c0>
openwebui-1 | └ <httpx.AsyncClient object at 0x7611d8288050>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1629, in send
openwebui-1 | response = await self._send_handling_auth(
openwebui-1 | │ └ <function AsyncClient._send_handling_auth at 0x76120bd3d760>
openwebui-1 | └ <httpx.AsyncClient object at 0x7611d8288050>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1657, in _send_handling_auth
openwebui-1 | response = await self._send_handling_redirects(
openwebui-1 | │ └ <function AsyncClient._send_handling_redirects at 0x76120bd3d800>
openwebui-1 | └ <httpx.AsyncClient object at 0x7611d8288050>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1694, in _send_handling_redirects
openwebui-1 | response = await self._send_single_request(request)
openwebui-1 | │ │ └ <Request('POST', 'http://172.17.0.1:7878/api/v1/inlet')>
openwebui-1 | │ └ <function AsyncClient._send_single_request at 0x76120bd3d8a0>
openwebui-1 | └ <httpx.AsyncClient object at 0x7611d8288050>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1730, in _send_single_request
openwebui-1 | response = await transport.handle_async_request(request)
openwebui-1 | │ │ └ <Request('POST', 'http://172.17.0.1:7878/api/v1/inlet')>
openwebui-1 | │ └ <function AsyncHTTPTransport.handle_async_request at 0x76120bc8e5c0>
openwebui-1 | └ <httpx.AsyncHTTPTransport object at 0x7611c07b4dd0>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 393, in handle_async_request
openwebui-1 | with map_httpcore_exceptions():
openwebui-1 | └ <function map_httpcore_exceptions at 0x76120bc8dbc0>
openwebui-1 | File "/usr/local/lib/python3.11/contextlib.py", line 158, in __exit__
openwebui-1 | self.gen.throw(typ, value, traceback)
openwebui-1 | │ │ │ │ │ └ <traceback object at 0x7611c0783980>
openwebui-1 | │ │ │ │ └ ConnectTimeout(TimeoutError())
openwebui-1 | │ │ │ └ <class 'httpcore.ConnectTimeout'>
openwebui-1 | │ │ └ <method 'throw' of 'generator' objects>
openwebui-1 | │ └ <generator object map_httpcore_exceptions at 0x7611da547140>
openwebui-1 | └ <contextlib._GeneratorContextManager object at 0x7611c0783550>
openwebui-1 | File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 118, in map_httpcore_exceptions
openwebui-1 | raise mapped_exc(message) from exc
openwebui-1 | │ └ ''
openwebui-1 | └ <class 'httpx.ConnectTimeout'>
openwebui-1 |
openwebui-1 | httpx.ConnectTimeout
I don't know why but OpenWebUI is not able to reach OpenWebUIMonitor. Ping is working. Postman HTTP call is working.
Do you know why guys?
Metadata
Metadata
Assignees
Labels
No labels


