• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Networking & Access SOLVED: websocket requests return "404 Not Found" reply.

     
    • 0 Vote(s) - 0 Average

    SOLVED: websocket requests return "404 Not Found" reply.

    pmc
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Aug
    Reputation: 0
    Country:Portugal
    #3
    Yesterday, 05:29 PM (This post was last modified: Yesterday, 05:31 PM by pmc. Edited 1 time in total.)
    bitmap, thanks for the tip.

    After some trial and error this is what worked for me.

    Quote:<Location "/Jellyfin/socket">
            <RequireAll>
                    Require ssl
                    Require all granted
            </RequireAll>

            SSLRequireSSL

            RequestHeader set X-Forwarded-Proto "https"
            RequestHeader set X-Forwarded-Port "443"

            RewriteEngine On
            RewriteCond %{HTTP:Upgrade} =websocket
            RewriteRule /(.*) ws://localhost:8096/Jellyfin/socket/$1 [P]

    </Location>

    <Location "/Jellyfin">
            <RequireAll>
                    Require ssl
                    Require all granted
            </RequireAll>

            SSLRequireSSL

            ProxyPass "http://localhost:8096/Jellyfin"
            ProxyPassReverse "http://localhost:8096/Jellyfin"
    </Location>

    This worked on Apache/2.4.62 (Unix) on GNU/Linux.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    websocket requests return "404 Not Found" reply. - by pmc - 2025-08-25, 11:18 AM
    RE: websocket requests return "404 Not Found" reply. - by bitmap - 2025-08-30, 01:27 AM
    RE: websocket requests return "404 Not Found" reply. - by pmc - Yesterday, 05:29 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode