mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 02:35:14 +00:00
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. |
||
|---|---|---|
| .. | ||
| init | ||
| build-dev.sh | ||
| comskip.ini | ||
| DispatcharrBase | ||
| docker-compose.aio.yml | ||
| docker-compose.debug.yml | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| entrypoint.aio.sh | ||
| entrypoint.sh | ||
| nginx.conf | ||
| uwsgi.debug.ini | ||
| uwsgi.dev.ini | ||
| uwsgi.ini | ||