Skip to content

[Bug] 404 in thumbnail image request fails to close connection #5545

@gummybuns

Description

@gummybuns

Describe the bug

404 on certain thumbnail requests seem to fail to close the http connection

Steps to Reproduce

# 1. notice that the `videoThumbnails` includes a `maxresdefault.jpg`
curl http://<invidious_instance>/api/v1/videos/1gWd-FHfAQE

#2. curl fails to close connection
curl --verbose "http://<invidious_instance>/vi/1gWd-FHfAQE/maxresdefault.jpg"

Logs
Despite the curls failing to close I do see a 404 emitted in the logs

2025-11-25 22:45:50 UTC [info] 404 GET /vi/1gWd-FHfAQE/maxresdefault.jpg 286.86ms

Additional context
Same thing happens in firefox for me for what its worth

docker inspect invidious | grep version
                "com.docker.compose.version": "2.35.1",
                "org.opencontainers.image.version": "2.20250913.0",

I am very new to invidious so feel free to shut me down if i did something dumb in my self hosted solution

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions