![]() |
SOLVED: websocket requests return "404 Not Found" reply. - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access) +---- Thread: SOLVED: websocket requests return "404 Not Found" reply. (/t-solved-websocket-requests-return-404-not-found-reply) |
websocket requests return "404 Not Found" reply. - pmc - 2025-08-25 My setup uses Apache to proxy requests to Jellyfin, with multiple clients connecting to it. Clients: TVs with WebOS Jellyfin client, Android phones with Jellyfin client, and various web browser. It generally works but I have an issue where websocket requests return a "404 Not Found" reply. HTTP/S requests work. My apache configuration was taken from: https://jellyfin.org/docs/general/post-install/networking/reverse-proxy/apache/ Quote:<Location "/Jellyfin/socket"> This is an example request/reply: Quote:GET /Jellyfin/socket?api_key=SNIP&deviceId=SNIP HTTP/1.1 Quote:HTTP/1.1 404 Not Found From the "Server: Kestrel" in the reply, the request is being forwarded by Apache to Jellyfin so it is Jellyfin that is replying with a "404 Not Found". Any help or advice would be appreciated. Thanks in advance. RE: websocket requests return "404 Not Found" reply. - bitmap - 2025-08-30 One issue might be capital letters. The locations are /jellyfin and /jellyfin/socket as per the docs. I don't see the rewrite conditions for HTTP and WS in there either, but those appear to be separate files in the docs. RE: websocket requests return "404 Not Found" reply. - pmc - 2025-09-02 bitmap, thanks for the tip. After some trial and error this is what worked for me. Quote:<Location "/Jellyfin/socket"> This worked on Apache/2.4.62 (Unix) on GNU/Linux. |