-
Notifications
You must be signed in to change notification settings - Fork 14
Issue with non english videos #4
Description
I've just installed the youtube pipeline and its seems fine. But If I try to interact with a non english video, I get this error:
INFO: 201.26.102.176:0 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 OK
ERROR [asyncio] Task exception was never retrieved
future: <Task finished name='Task-19767' coro=<process_chat_response..post_response_handler() done, defined at /app/backend/open_webui/utils/middleware.py:1079> exception=ClientPayloadError("Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>")>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_proto.py", line 92, in connection_lost
uncompleted = self._parser.feed_eof()
^^^^^^^^^^^^^^^^^^^^^^^
File "aiohttp/_http_parser.pyx", line 508, in aiohttp._http_parser.HttpParser.feed_eof
aiohttp.http_exceptions.TransferEncodingError: 400, message:
Not enough data for satisfy transfer length header.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/backend/open_webui/utils/middleware.py", line 1592, in post_response_handler
await stream_body_handler(response)
File "/app/backend/open_webui/utils/middleware.py", line 1429, in stream_body_handler
async for line in response.body_iterator:
File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 52, in anext
rv = await self.read_func()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 352, in readline
return await self.readuntil()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 386, in readuntil
await self._wait("readuntil")
File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 347, in _wait
await waiter
aiohttp.client_exceptions.ClientPayloadError: Response payload is not completed: <TransferEncodingError: 400, message='Not enough data for satisfy transfer length header.'>
INFO: 172.26.0.1:50522 - "GET / HTTP/1.1" 200 OK
ERROR [asyncio] Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f0e3e965e10>
ERROR [asyncio] Unclosed connection
client_connection: Connection<ConnectionKey(host='openwebui-pipelines', port=9099, is_ssl=False, ssl=True, proxy=None, proxy_auth=None, proxy_headers_hash=None)>
INFO: 172.26.0.1:46602 - "GET / HTTP/1.1" 200 OK
INFO: 172.26.0.1:35984 - "GET / HTTP/1.1" 200 OK
INFO: 201.26.102.176:0 - "POST /api/tasks/stop/6481ef54-8278-44f8-8a9b-2cfaed2a7218 HTTP/1.1" 404 Not Found