• 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: Reverse Proxy with Caddy

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: Reverse Proxy with Caddy

    wenzelja
    Offline

    Member

    Posts: 70
    Threads: 11
    Joined: 2024 Nov
    Reputation: 1
    Country:United States
    #1
    2024-11-26, 12:16 AM
    Trying to setup reverse proxy with DuckDNS and Caddy per https://jellyfin.org/docs/general/quick-start/windows, but I'm running into trouble.  I get the error in the attached screenshot when running "caddy respond --body test --listen :80" (screenshot "...181102").

    When I run "caddy run," I get the second screenshot ("...181400"). Is something in my computer config causing this, or is my ISP blocking ports 80 and 443?


    Attached Files Thumbnail(s)
           
    Go to solution
    wenzelja
    Offline

    Member

    Posts: 70
    Threads: 11
    Joined: 2024 Nov
    Reputation: 1
    Country:United States
    #2
    2024-11-26, 12:30 AM (This post was last modified: 2024-11-26, 12:31 AM by wenzelja. Edited 1 time in total.)
    P.S. if I go to the sub-domain I created in the guide or even the public IP address I get this page in the screenshot attached.


    Attached Files Thumbnail(s)
       
    wenzelja
    Offline

    Member

    Posts: 70
    Threads: 11
    Joined: 2024 Nov
    Reputation: 1
    Country:United States
    #3
    2024-11-26, 01:17 AM (This post was last modified: 2024-11-26, 01:25 AM by wenzelja. Edited 2 times in total.)
    I guess I forgot to mention that I am running Jellyfin on Windows 11, no docker or VM, and I had already set a static internal IP when I initially setup the server.

    I’ve also checked on my ISP’s website and though they do block a few troublemaker ports, they don’t advertise blocking 80 or 443.
    wenzelja
    Offline

    Member

    Posts: 70
    Threads: 11
    Joined: 2024 Nov
    Reputation: 1
    Country:United States
    #4
    2024-11-26, 12:39 PM
    I think I figured it out but didn't get a chance to work on it last night. Apparently, Windows Defender firewall blocks all ports as default so you have to create a rule to allow 80 and 443 through. I'll work on that tonight and see where that gets me.

    I guess it's a good thing I figured this out, I feel like I'm talking to myself in this post... And that's dangerous!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-11-26, 01:57 PM
    Do you have IIS running? Not sure how else you would get the screenshot from your second post.
    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]
    pxr5
    Offline

    Member

    Posts: 57
    Threads: 3
    Joined: 2024 Jan
    Reputation: 3
    Country:United Kingdom
    #6
    2024-11-26, 02:05 PM
    In the OP > second picture, there is something definitely wrong with your caddy file to get that message. The caddy file is picky with spaces and tabs, so make sure they are spot on. In fact use the info in the error and run 'Caddt fmt --overwrite' Caddyfile.
    Jellyfin1 - 10.10.7 (Docker) Synology NAS (transcoding off)
    Jellyfin2 - 10.10.7 Minix ZX100-0db MiniPC, Intel N100 (transcoding on)
    Storage - x3 Synology NAS (22TB)
    Reverse Proxy - Caddy v2 running on a Pi3b+
    wenzelja
    Offline

    Member

    Posts: 70
    Threads: 11
    Joined: 2024 Nov
    Reputation: 1
    Country:United States
    #7
    2024-11-26, 03:13 PM (This post was last modified: 2024-11-26, 03:15 PM by wenzelja. Edited 2 times in total.)
    (2024-11-26, 01:57 PM)TheDreadPirate Wrote: Do you have IIS running?  Not sure how else you would get the screenshot from your second post.
    @TheDreadPirate
    I don't know that I do.  Do you know how i could tell that, and would i need to turn it off or disable IIS?

    (2024-11-26, 02:05 PM)pxr5 Wrote: In the OP > second picture, there is something definitely wrong with your caddy file to get that message. The caddy file is picky with spaces and tabs, so make sure they are spot on. In fact use the info in the error and run 'Caddt fmt --overwrite' Caddyfile.
    @pxr5
    I just looked at the errors again and I hadn't noticed the formatting error yesterday.  When I get a chance today, I'll run the Caddy fmt --overwrite and see if that helps.

    I setup my caddyfile with the following:

    [my domain].duckdns.org

    reverse_proxy 192.168.1.31:8096

    Did I miss a character or spacing or something?

    The Jellyfin guide shows this for the caddyfile:
    <your (sub)domain here>

    reverse_proxy 127.0.0.1:8096

    Should I have included the <> around my domain, i.e. <[my domain].duckdns.org>?  I used 192.168.1.31 in the reverse_proxy line as that is my static internal address.  Should I have used the 127.0.0.1 instead?
    wenzelja
    Offline

    Member

    Posts: 70
    Threads: 11
    Joined: 2024 Nov
    Reputation: 1
    Country:United States
    #8
    2024-11-27, 12:30 AM (This post was last modified: 2024-11-27, 01:04 AM by wenzelja. Edited 1 time in total.)
    Update: I added the exception for ports 80, 443, and 2019 and re-formatted the caddy file, but I still get the same error as in my OP, 2nd screenshot, minus the formatting error.

    @TheDreadPirate,
    Help me Obi-Wan, you’re my only hope!
    wenzelja
    Offline

    Member

    Posts: 70
    Threads: 11
    Joined: 2024 Nov
    Reputation: 1
    Country:United States
    #9
    2024-11-27, 12:04 PM
    So this is what I'm getting now.


    Attached Files Thumbnail(s)
       
    wenzelja
    Offline

    Member

    Posts: 70
    Threads: 11
    Joined: 2024 Nov
    Reputation: 1
    Country:United States
    #10
    2024-11-27, 12:17 PM
    THis is what  I get when I run the listening test


    Attached Files Thumbnail(s)
       
    Pages (2): 1 2 Next »

    « 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