a month ago
I'm hosting an Open Web UI, multi-AI platform. All has been working fine except for when I try to upload a 25MB+ .csv it seems to timeout:
2025-05-08 12:40:13.914 | INFO | open_webui.routers.files:upload_file:91 - file.content_type: text/csv - {} 2025-05-08 12:41:39.530 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:885 - save_docs_to_vector_db: document 25mb.csv file-f368b784-a7c2-4e60-8d20-70bd033d8020 - {} 2025-05-08 12:41:39.586 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:910 - Using token text splitter: cl100k_base - {} 2025-05-08 12:42:22.215 | INFO | open_webui.routers.retrieval:save_docs_to_vector_db:968 - adding to collection file-f368b784-a7c2-4e60-8d20-70bd033d8020 - {}
My FastAPI application processes uploaded files, and this processing (embedding, DB save) takes over 2 minutes for a 25MB file, causing requests to time out. My logs show the file upload completes, and the timeout occurs during server-side processing. Is it possible to increase the request timeout for my service?
1 Replies
a month ago
Hey jarrydanderson-kepler, this is most likely not related to Railway but your ASGI/WSGI, such as uvicorn/gunicorn. Try increasing the timeout of your ASGI/WSGI and check if it makes a difference.