• 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 remote access

     
    • 0 Vote(s) - 0 Average

    remote access

    caddy jellyfin duckdns
    Omar Landero
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Jul
    Reputation: 0
    #1
    Yesterday, 01:59 AM (This post was last modified: Yesterday, 02:01 AM by Omar Landero. Edited 1 time in total.)
    1. The problem I’m having:

    I want to connect jellyfin outside my home. I have caddy.exe with duckdns module. My ports 80 and 443 are closed (dont know why) but have ports 9000 for jellyfin and 8000 (http) and 4443 (https) for caddy.

    [/url]2. Error messages and/or full log output:

    c:\Caddy>caddy run
    2025/07/20 00:29:25.474 ←[34mINFO←[0m  maxprocs: Leaving GOMAXPROCS=12: CPU quota undefined
    2025/07/20 00:29:25.475 ←[34mINFO←[0m  GOMEMLIMIT is updated  {"package": "github.com/KimMachineGun/automemlimit/memlimit", "GOMEMLIMIT": 7660685721, "previous": 9223372036854775807}
    2025/07/20 00:29:25.478 ←[34mINFO←[0m  using adjacent Caddyfile
    2025/07/20 00:29:25.484 ←[34mINFO←[0m  adapted config to JSON  {"adapter": "caddyfile"}
    2025/07/20 00:29:25.484 ←[33mWARN←[0m  Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies    {"adapter": "caddyfile", "file": "Caddyfile", "line": 2}
    2025/07/20 00:29:25.496 ←[34mINFO←[0m  admin  admin endpoint started  {"address": "localhost:2019", "enforce_origin": false, "origins": ["//[::1]:2019", "//127.0.0.1:2019", "//localhost:2019"]}
    2025/07/20 00:29:25.498 ←[34mINFO←[0m  tls.cache.maintenance  started background certificate maintenance      {"cache": "0xc0001d8d00"}
    2025/07/20 00:29:25.498 ←[34mINFO←[0m  http.auto_https server is listening only on the HTTPS port but has no TLS connection policies; adding one to enable TLS {"server_name": "srv0", "https_port": 4443}
    2025/07/20 00:29:25.498 ←[34mINFO←[0m  http.auto_https enabling automatic HTTP->HTTPS redirects        {"server_name": "srv0"}
    2025/07/20 00:29:25.499 ←[33mWARN←[0m  http    HTTP/2 skipped because it requires TLS  {"network": "tcp", "addr": ":8000"}
    2025/07/20 00:29:25.499 ←[33mWARN←[0m  http    HTTP/3 skipped because it requires TLS  {"network": "tcp", "addr": ":8000"}
    2025/07/20 00:29:25.499 ←[34mINFO←[0m  http.log        server running  {"name": "remaining_auto_https_redirects", "protocols": ["h1", "h2", "h3"]}
    2025/07/20 00:29:25.499 ←[34mINFO←[0m  http    enabling HTTP/3 listener        {"addr": ":4443"}
    2025/07/20 00:29:25.500 ←[34mINFO←[0m  http.log        server running  {"name": "srv0", "protocols": ["h1", "h2", "h3"]}
    2025/07/20 00:29:25.501 ←[34mINFO←[0m  http    enabling automatic TLS certificate management  {"domains": ["peyeyo1958.duckdns.org"]}
    2025/07/20 00:29:25.504 ←[33mWARN←[0m  tls    stapling OCSP  {"error": "no OCSP stapling for [peyeyo1958.duckdns.org]: no OCSP server specified in certificate", "identifiers": ["peyeyo1958.duckdns.org"]}
    2025/07/20 00:29:25.521 ←[34mINFO←[0m  autosaved config (load with --resume flag)      {"file": "C:\\Users\\O\\AppData\\Roaming\\Caddy\\autosave.json"}
    2025/07/20 00:29:25.521 ←[34mINFO←[0m  serving initial configuration
    2025/07/20 00:29:25.522 ←[34mINFO←[0m  tls    storage cleaning happened too recently; skipping for now        {"storage": "FileStorage:C:\\Users\\O\\AppData\\Roaming\\Caddy", "instance": "34d1ace2-259a-4f56-b022-90abbefc6909", "try_again": "2025/07/21 00:29:25.522", "try_again_in": 86400}
    2025/07/20 00:29:25.526 ←[34mINFO←[0m  tls    finished cleaning storage units

    3. Caddy version:
    Caddy: v2.10.0

    4. How I installed and ran Caddy:

    a. System environment:\
    Windows 10 64bit (up to date)

    b. Command:

    caddy run

    d. My complete Caddy config:

    {

    http_port 8000

    https_port 4443

    }
    peyeyo1958.duckdns.org {
        reverse_proxy localhost:9000
    }

    I made the caddy.exe with xcaddy and Go.
    I think I built it with " go install [url=http://github.com/caddyserver/xcaddy/cmd/xcaddy@latest]github.com/caddyserver/xcaddy/cmd/xcaddy@latest then xcaddy build
    –with GitHub - caddy-dns/duckdns: Caddy module: dns.providers.duckdns " . 

    Thanks
    pxr5
    Offline

    Member

    Posts: 58
    Threads: 3
    Joined: 2024 Jan
    Reputation: 3
    Country:United Kingdom
    #2
    Yesterday, 02:14 PM
    5th line down in your error log. Just do as it says: caddy fmt --overwrite' to fix inconsistencies. There is something wrong with your 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+
    « 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