Upload of bigger podcasts fails from slow Internet connection
Describe the bug
I have a slow Internet connection and setup my own instance. When I try to upload a podcast of 30mb, it takes a while. The POST request is sent and after a while this is cancelled after a while because it takes too long.
Steps to reproduce
- Slow down your Internet connection
- Upload a new podcast of a few MB size
- See that the POST request is stopped.
Expected behavior
When I open the New Podcast page And I select I podcast file to upload I would like to see an upload bar below the file and a percent mark that increases.
The file is then uploaded in the background.
When I submit and the file is not yet uploaded Then the submit button displays a circle animation When the data is fully uploaded Then the POST request is made with almost no data
Actual behavior
When I select an MP3 file for the new podcast. And I fill in all the fields And I submit the new podcast Then, the upload is started After a few minutes, the page stopped posting the data.
Relevant logs and/or screenshots
URL: https://pod.foss.wales/cp-admin/podcasts/new
Context
- Castopod: 1.11.0
- OS: Linux
- Browser: Firefox 125
- Web server: Nginx docker image of castopod with NGINX proxy Manager before that
Possible fixes
See also #330