Dispatcharr/docker
patchy8736 0441dd7b7e Bug Fix: Add socket-timeout to uWSGI production config to prevent VOD stream timeouts during client buffering
The production uWSGI configuration (docker/uwsgi.ini) was missing the socket-timeout directive, causing it to default to 4 seconds. When clients (e.g., VLC) buffer VOD streams and temporarily stop reading from the HTTP socket, uWSGI's write operations timeout after 4 seconds, triggering premature stream cleanup and causing VOD streams to disappear from the stats page.

The fix adds socket-timeout = 600 to match the existing http-timeout = 600 value, giving uWSGI sufficient time to wait for clients to resume reading from buffered sockets. This prevents:
- uwsgi_response_write_body_do() TIMEOUT !!! errors in logs
- GeneratorExit exceptions and premature stream cleanup
- VOD streams vanishing from the stats page when clients buffer

The debug config already had socket-timeout = 3600, which is why the issue wasn't observed in debug mode. This fix aligns production behavior with the debug config while maintaining the production-appropriate 10-minute timeout duration.
2026-01-07 14:10:17 +01:00
..
init Fix root-owned __pycache__ by running Django commands as non-root user 2025-12-31 12:16:19 -05:00
build-dev.sh Give arguments to docker/build-dev.sh 2025-12-12 12:59:03 +07:00
comskip.ini Comskip Update 2025-09-04 13:45:25 -05:00
DispatcharrBase Enhancement: Add VLC dependencies to DispatcharrBase image. 2025-12-24 15:48:56 -06:00
docker-compose.aio.yml Enhancement: Allow setting both Celery and UWSGI nice levels. Default nice levels are UWSGI=0, Celery=5. Added documentation to the compose files on how to use it. Using nice levels for UWSGI allows us to have streaming run at a high priority. 2025-10-21 10:11:53 -05:00
docker-compose.debug.yml Enhancement: Allow setting both Celery and UWSGI nice levels. Default nice levels are UWSGI=0, Celery=5. Added documentation to the compose files on how to use it. Using nice levels for UWSGI allows us to have streaming run at a high priority. 2025-10-21 10:11:53 -05:00
docker-compose.dev.yml Enhancement: Allow setting both Celery and UWSGI nice levels. Default nice levels are UWSGI=0, Celery=5. Added documentation to the compose files on how to use it. Using nice levels for UWSGI allows us to have streaming run at a high priority. 2025-10-21 10:11:53 -05:00
docker-compose.yml Enhancement: Allow setting both Celery and UWSGI nice levels. Default nice levels are UWSGI=0, Celery=5. Added documentation to the compose files on how to use it. Using nice levels for UWSGI allows us to have streaming run at a high priority. 2025-10-21 10:11:53 -05:00
Dockerfile Fix root-owned __pycache__ by running Django commands as non-root user 2025-12-31 12:16:19 -05:00
entrypoint.aio.sh Revert "Merge branch 'main' of https://github.com/Dispatcharr/Dispatcharr" 2025-03-03 15:18:11 -06:00
entrypoint.sh Fix root-owned __pycache__ by running Django commands as non-root user 2025-12-31 12:16:19 -05:00
nginx.conf Merge pull request #488 from stlalpha/feature/automated-backups 2025-12-15 16:17:33 -06:00
uwsgi.debug.ini Remove DJANGO_SECRET_KEY environment variable from uwsgi configuration files 2025-12-08 17:27:07 -06:00
uwsgi.dev.ini Remove DJANGO_SECRET_KEY environment variable from uwsgi configuration files 2025-12-08 17:27:07 -06:00
uwsgi.ini Bug Fix: Add socket-timeout to uWSGI production config to prevent VOD stream timeouts during client buffering 2026-01-07 14:10:17 +01:00