-
Notifications
You must be signed in to change notification settings - Fork 11
Description
When I test my server locally it works fine, but as soon as I send request via curl Runpod Serverless Load Balancing Endpoints, it disconnects when a file size is larger than 2MB, (after a few seconds). All the requests under 1MB works fine. Is there a way to configure this? I'm using multi-form input format.
Server Error:
Unhandled exception:
Traceback (most recent call last):
File "/opt/conda/lib/python3.11/site-packages/litserve/server.py", line 307, in handle_request
payload = await self._prepare_request(request, request_type)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/litserve/server.py", line 276, in _prepare_request
return await request.form()
^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/starlette/requests.py", line 276, in _get_form
self._form = await multipart_parser.parse()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/conda/lib/python3.11/site-packages/starlette/formparsers.py", line 254, in parse
async for chunk in self.stream:
File "/opt/conda/lib/python3.11/site-packages/starlette/requests.py", line 236, in stream
raise ClientDisconnect()
starlette.requests.ClientDisconnect