• 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 SOLVED: Fast Reverse Proxy Rejects Connection

     
    • 0 Vote(s) - 0 Average

    SOLVED: Fast Reverse Proxy Rejects Connection

    Delta
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:Hungary
    #1
    2024-11-12, 09:24 PM
    I read the documentation, and there’s a section about using a Reverse Proxy for remote access. I’d like to use FRP (Fast Reverse Proxy). In other projects, TCP works properly.
    My problem is that the connection was rejected. I tried to rule out FRPC/FRPS errors:
    • Jellyfin is accessible on the local network
    • Jellyfin is accessible from the FRPC container
    • Remote connections are enabled in Jellyfin’s network settings
    • According to FRPS, the HTTP proxy status is "Online"
    • I haven’t found any error-related logs
    Here’s what the frpc.toml file looks like:
    Code:
    serverAddr = "serverIPAddress"
    serverPort = 7000

    [[proxies]]
    name = "jellyfin-http"
    type = "http"
    localIP = "192.168...."
    localPort = 8096
    subdomain = "jellyfin"
    customDomains = ["mydomain.com"]

    Do you have any suggestions? Thank you in advance!
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-12, 10:18 PM
    Their documentation doesn't make clear what port FRP will use when you don't define a remote port. Does it just use port 80/443?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Delta
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:Hungary
    #3
    2024-11-12, 10:40 PM
    (2024-11-12, 10:18 PM)TheDreadPirate Wrote: Their documentation doesn't make clear what port FRP will use when you don't define a remote port.  Does it just use port 80/443?

    Yes. In FRPS, you need to set the vhostHTTPPort (80, 443) so that FRPC can use the HTTP type.
    Delta
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:Hungary
    #4
    2024-11-13, 08:15 AM
    (2024-11-12, 10:40 PM)Delta Wrote:
    (2024-11-12, 10:18 PM)TheDreadPirate Wrote: Their documentation doesn't make clear what port FRP will use when you don't define a remote port.  Does it just use port 80/443?

    Yes. In FRPS, you need to set the vhostHTTPPort (80, 443) so that FRPC can use the HTTP type.

    UPDATE: As a test, I tried
    • set the vhost address to port 8096: the request is still being rejected
    • set Jellyfin InternalHttpPort and PublicHttpPort to 80: it doesn’t load even locally, so I had to revert to the original port in the network.xml file
    Delta
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:Hungary
    #5
    2024-11-15, 08:13 PM
    UPDATE 2: I configured the TCP protocol alongside HTTP in FRPC.toml. On the FRPS interface, it is displayed as 'Online'.
    I also set the JELLYFIN_PublishedServerUrl Docker environment variable to the following: http://jellyfin.domain.com.

    However, I cannot connect to it either via the web interface or through the application. If anyone has any suggestions, I would greatly appreciate it. Thank you!
    Delta
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    Country:Hungary
    #6
    2024-11-16, 12:05 PM
    I solved the problem. I forgot to configure the necessary ports in the FRPS container...

    By the way, I noticed on forums that many people use a TCP proxy. Does anyone have an idea why?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-11-16, 08:46 PM
    TCP is the primary protocol that Jellyfin uses.

    BTW, could you share the final configuration for FRPS? I think you are the only person I've seen try to use Jellyfin with it. This is also the first time I've heard of it, period.

    Regarding TCP proxies, I don't recall anyone using a TCP proxy with Jellyfin. Only HTTP proxies like Nginx, Apache, Caddy, and Traefik.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    AshipaEkO
    Offline

    Junior Member

    Posts: 9
    Threads: 0
    Joined: 2023 Jun
    Reputation: 0
    #8
    2024-12-24, 08:40 AM
    Hello.  could you please help me.  trying to set this up

    i think the server aspect is working.   i can access the VPS ip:7500  to show me some sort of dashboard

    but nothing else works

    i'm running it with systemd

    could you share your server and client config files with me (redacted of course)
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • 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