• 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: Remote login error

     
    • 0 Vote(s) - 0 Average

    SOLVED: Remote login error

    Connection Failure We're unable to connect to the selected server right now. Please ensure it is running and try again.
    skysor
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:France
    #1
    2024-12-13, 06:55 PM
    Hello,
    I encounter a very strange issue since I installed Jellyfin on my fedora server (in a podman container):
    I cannot remotely login to my Jellyfin server from outside my internal network:

    Connection Failure
    We're unable to connect to the selected server right now. Please ensure it is running and try again.


    But from within my local network, it works very well, no issue at all !
    Please find attached the screenshot of that error and the browser networking inspector logs (request authenticatebyname fails with NS_ERROR_REDIRECT_LOOP)

    In case this can help, my jellyfin container is behind a nginx reverse proxy, like all my other self hosted apps.
    I tried to do a cleaninstall but same error then.

    Jellyfin logs when attempting to loging (debug mode) :
    Code:
    déc. 13 19:40:02 fedora-server jellyfin[91662]: [19:40:02] [DBG] [28] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.
    déc. 13 19:40:02 fedora-server jellyfin[91662]: [19:40:02] [DBG] [28] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.
    déc. 13 19:40:38 fedora-server jellyfin[91662]: [19:40:38] [DBG] [39] Jellyfin.Api.Middleware.BaseUrlRedirectionMiddleware: Normalizing an URL at /
    déc. 13 19:40:38 fedora-server jellyfin[91662]: [19:40:38] [DBG] [39] Jellyfin.Api.Middleware.BaseUrlRedirectionMiddleware: Redirecting to web/
    déc. 13 19:40:41 fedora-server jellyfin[91662]: [19:40:41] [DBG] [33] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.
    déc. 13 19:40:42 fedora-server jellyfin[91662]: [19:40:42] [DBG] [29] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.
    déc. 13 19:40:42 fedora-server jellyfin[91662]: [19:40:42] [DBG] [39] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.
    déc. 13 19:40:42 fedora-server jellyfin[91662]: [19:40:42] [DBG] [29] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.
    déc. 13 19:40:43 fedora-server jellyfin[91662]: [19:40:43] [DBG] [21] Jellyfin.Api.Auth.CustomAuthenticationHandler: AuthenticationScheme: CustomAuthentication was not authenticated.

    My network.xml file content (fresh install):

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <NetworkConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <BaseUrl />
      <EnableHttps>false</EnableHttps>
      <RequireHttps>false</RequireHttps>
      <CertificatePath />
      <CertificatePassword />
      <InternalHttpPort>8096</InternalHttpPort>
      <InternalHttpsPort>8920</InternalHttpsPort>
      <PublicHttpPort>8096</PublicHttpPort>
      <PublicHttpsPort>8920</PublicHttpsPort>
      <AutoDiscovery>true</AutoDiscovery>
      <EnableUPnP>false</EnableUPnP>
      <EnableIPv4>true</EnableIPv4>
      <EnableIPv6>false</EnableIPv6>
      <EnableRemoteAccess>true</EnableRemoteAccess>
      <LocalNetworkSubnets />
      <LocalNetworkAddresses />
      <KnownProxies />
      <IgnoreVirtualInterfaces>true</IgnoreVirtualInterfaces>
      <VirtualInterfaceNames>
        <string>veth</string>
      </VirtualInterfaceNames>
      <EnablePublishedServerUriByRequest>false</EnablePublishedServerUriByRequest>
      <PublishedServerUriBySubnet />
      <RemoteIPFilter />
      <IsRemoteIPFilterBlacklist>false</IsRemoteIPFilterBlacklist>
    </NetworkConfiguration>%   

    Thank you a lot in advance for your help !


    Attached Files Thumbnail(s)
       
    Go to solution
    WesleyKawan
    Offline

    Junior Member

    Posts: 19
    Threads: 3
    Joined: 2024 Dec
    Reputation: 0
    #2
    2024-12-13, 07:09 PM
    ja verificou a opção rede?
    para verificar se contem algum URL setado?


    Attached Files Thumbnail(s)
       
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #3
    2024-12-13, 07:20 PM
    Can you share your nginx config via pastebin?  Censor the domain name.

    And can you double check that you're allowing each individual user to connect remotely?

       
    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]
    skysor
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:France
    #4
    2024-12-14, 07:11 PM
    I just resolved my issue by looking further at my nginx and authelia config,
    And the issue was in my authelia config, I just needed to use AuthRequest in my case given im using NGINX
    (found the fix here: https://github.com/authelia/authelia/discussions/7561)
    Thank you
    « 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