RunPod Serverless + WhisperX: 502 Bad Gateway when downloading audio files >1 hour
Hi everyone, we deployed WhisperX on RunPod using serverless workers. When we upload audio files shorter than ~1 hour, the transcription works correctly. However, when we upload audio longer than 1 hour, the worker fails while downloading the file and returns a 502 Bad Gateway error.
From the logs it looks like the failure happens during the audio download step from our API endpoint:
requests.exceptions.HTTPError: 502 Server Error: Bad Gateway
So we’re trying to understand whether this issue is caused by RunPod serverless limitations (large file download / request timeout) or if it could be something on our server side when serving large files.
Has anyone experienced something similar with large audio downloads (>1h) when using RunPod serverless workers?
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
R
Runpod
We're a community of enthusiasts, engineers, and enterprises, all sharing insights on AI, Machine Learning and GPUs!