-
Notifications
You must be signed in to change notification settings - Fork 151
Description
Error on request:
Traceback (most recent call last):
File "/Users/guyromb/miniforge3/lib/python3.12/site-packages/requests/models.py", line 820, in generate
yield from self.raw.stream(chunk_size, decode_content=True)
File "/Users/guyromb/miniforge3/lib/python3.12/site-packages/urllib3/response.py", line 1088, in stream
yield from self.read_chunked(amt, decode_content=decode_content)
File "/Users/guyromb/miniforge3/lib/python3.12/site-packages/urllib3/response.py", line 1248, in read_chunked
self._update_chunk_length()
File "/Users/guyromb/miniforge3/lib/python3.12/site-packages/urllib3/response.py", line 1178, in _update_chunk_length
raise ProtocolError("Response ended prematurely") from None
urllib3.exceptions.ProtocolError: Response ended prematurely
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/guyromb/miniforge3/lib/python3.12/site-packages/werkzeug/serving.py", line 370, in run_wsgi
execute(self.server.app)
File "/Users/guyromb/miniforge3/lib/python3.12/site-packages/werkzeug/serving.py", line 333, in execute
for data in application_iter:
^^^^^^^^^^^^^^^^^
File "/Users/guyromb/miniforge3/lib/python3.12/site-packages/werkzeug/wsgi.py", line 256, in next
return self._next()
^^^^^^^^^^^^
File "/Users/guyromb/miniforge3/lib/python3.12/site-packages/werkzeug/wrappers/response.py", line 32, in _iter_encoded
for item in iterable:
^^^^^^^^^
File "/Users/guyromb/projects/voja/ChatMock-1.35/chatmock/utils.py", line 444, in sse_translate_chat
for raw in line_iterator:
^^^^^^^^^^^^^^
File "/Users/guyromb/miniforge3/lib/python3.12/site-packages/requests/models.py", line 869, in iter_lines
for chunk in self.iter_content(
^^^^^^^^^^^^^^^^^^
File "/Users/guyromb/miniforge3/lib/python3.12/site-packages/requests/models.py", line 822, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: Response ended prematurely