• 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 Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic

     
    • 0 Vote(s) - 0 Average

    Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic

    Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authenticated. Failure message: Invalid token.
    m3z
    Offline

    Junior Member

    Posts: 6
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:France
    #5
    2025-03-28, 10:12 AM
    Hello

    I meet the same problem (lot of invalid token) after a fresh install of jellyfin using swizzin box.
    I already install Jellyfin on the same swizzin box and i was ok. I uninstall for some test and now it doesn't works.
    I restored container backup to recover state before first Jellyfin installation.
    But it doesn't help i still have same problem.
    Now I can connect to jellyfin web but from here i am unable to connect to Jellyfin server.
    I can see my server. If i click to connect i get message: "We are unable to connect to the selected server. Please check that it is operational and try again."

    Please find below the conf:
    Server is a privileged lxc container manage by proxmox 8.2.4 (2 cpu/4 gb ram/16 gb disk, nestling enable).
    Os : Ubuntu 22.04.5 LTS (Jammy Jellyfish)
    Jellyfin.Server 10.10.6.0 is installed using swizzin script.

    root@xxxxxx:~# box install jellyfin
    INFO    Installing jellyfin
    DOCS    Further reference: https://swizzin.ltd/applications/jellyfin
    Warning: output encryption option -nodes ignored with -export
    ...    Performing apt update
            \u2714  Done
    ...    Performing installation of 1 apt packages
            (jellyfin)
            \u2714  Apt install complete
    Failed to restart jellyfin.service: Unit jellyfin.service is masked.
    SUCCESS Jellyfin installedq
    root@ xxxxxx :~# systemctl unmask jellyfin.service
    root@ xxxxxx :~# systemctl start jellyfin.service
    systemctl status jellyfin.service
    * jellyfin.service - Jellyfin Media Server
        Loaded: loaded (/lib/systemd/system/jellyfin.service; enabled; vendor preset: enabled)
        Drop-In: /etc/systemd/system/jellyfin.service.d
                -jellyfin.service.conf
        Active: active (running) since Fri 2025-03-28 11:00:13 CET; 11s ago
      Main PID: 19987 (jellyfin)
          Tasks: 29 (limit: 18897)
        Memory: 134.3M
            CPU: 15.428s
        CGroup: /system.slice/jellyfin.service
                |-19987 /usr/bin/jellyfin --webdir=/usr/share/jellyfin/web --ffmpeg=/usr/lib/jellyfin-ffmpeg/ffmpeg
               
    -20018 /usr/lib/jellyfin-ffmpeg/ffmpeg -hide_banner -f lavfi -i nullsrc=s=1x1:d=10000 -f null -

    Mar 28 11:00:19 hesperide jellyfin[19987]: [11:00:19] [INF] Available decoders: ["libdav1d", "av1", "av1_cuvid", "av1_qsv", "h264", "h264_qsv", "h264_cuvid", "hevc", "hev>
    Mar 28 11:00:19 hesperide jellyfin[19987]: [11:00:19] [INF] Available encoders: ["libsvtav1", "av1_nvenc", "av1_qsv", "av1_amf", "av1_vaapi", "libx264", "h264_amf", "h264>
    Mar 28 11:00:19 hesperide jellyfin[19987]: [11:00:19] [INF] Available filters: ["bwdif_cuda", "deinterlace_qsv", "deinterlace_vaapi", "flip_vulkan", "hwupload_cuda", "hwu>
    Mar 28 11:00:20 hesperide jellyfin[19987]: [11:00:20] [INF] Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
    Mar 28 11:00:22 hesperide jellyfin[19987]: [11:00:21] [INF] CustomAuthentication was not authenticated. Failure message: Invalid token.
    Mar 28 11:00:22 hesperide jellyfin[19987]: [11:00:22] [INF] CustomAuthentication was not authenticated. Failure message: Invalid token.
    Mar 28 11:00:22 hesperide jellyfin[19987]: [11:00:22] [INF] AuthenticationScheme: CustomAuthentication was challenged.
    Mar 28 11:00:22 hesperide jellyfin[19987]: [11:00:22] [INF] Clean Transcode Directory Completed after 0 minute(s) and 0 seconds
    Mar 28 11:00:22 hesperide jellyfin[19987]: [11:00:22] [INF] Clean up collections and playlists Completed after 0 minute(s) and 0 seconds
    Mar 28 11:00:23 hesperide jellyfin[19987]: [11:00:23] [INF] Update Plugins Completed after 0 minute(s) and 0 seconds


    logs:
    https://paste-bin.xyz/8153696

    Thanks for your help
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic - by miek - 2025-02-13, 01:17 AM
    RE: Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic - by TheDreadPirate - 2025-02-13, 01:26 AM
    RE: Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic - by miek - 2025-02-13, 01:29 AM
    RE: Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic - by TheDreadPirate - 2025-02-13, 02:08 PM
    RE: Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic - by m3z - 2025-03-28, 10:12 AM
    RE: Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic - by TheDreadPirate - 2025-03-28, 12:15 PM
    RE: Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic - by m3z - 2025-03-28, 09:20 PM
    RE: Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic - by TheDreadPirate - 2025-03-28, 09:56 PM
    RE: Jellyfin.Api.Auth.CustomAuthenticationHandler: CustomAuthentication was not authentic - by m3z - 2025-03-29, 04:11 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