• 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: Connection Failure when trying to login.

     
    • 0 Vote(s) - 0 Average

    SOLVED: Connection Failure when trying to login.

    N-pie
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #1
    2024-11-22, 05:54 PM (This post was last modified: 2024-11-24, 03:33 PM by N-pie. Edited 1 time in total.)
    I am unable to login to any of the accounts (Admin included) on my local machine or on my phone using the Jellyfin app. I can select the server and see the login screen with the account names and images but when I click on one I get the following error:
    Connection Failure. We're unable to connect to the selected server right now. Please ensure it is running and try again.

    What is strange, however, is that Findroid works fine but only for the account I am currently logged in as. I can play video so the server is running, but I cannot log in as a different account.

    I've had a bit of a look at the logs, and I'm no expert but it looks like something is wrong with the user authentication:

    Code:
    at Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(AuthenticateUserByName request)
       at lambda_method396(Closure, Object)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
    [2024-11-22 17:35:24.251 +00:00] [ERR] [19] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "POST" "/Users/authenticatebyname".
    Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 8: 'attempt to write a readonly database'.
       at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()
       at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
       at Microsoft.Data.Sqlite.SqliteConnectionExtensions.ExecuteNonQuery(SqliteConnection connection, String commandText, SqliteParameter[] parameters)

    That would explain why the already logged in user on Findroid works but I cannot login elsewhere.

    Unfortunately I don't know how to fix this issue. Any advice would be much appreciated.

    Thanks
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-11-22, 06:12 PM
    Can you share your full jellyfin log via pastebin?
    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]
    N-pie
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #3
    2024-11-22, 06:38 PM
    (2024-11-22, 06:12 PM)TheDreadPirate Wrote: Can you share your full jellyfin log via pastebin?

    Unfortunately the file is too big for pastebin but I have uploaded it to google drive here:
    https://drive.google.com/file/d/18bWaZEY...sp=sharing

    If you want I can copy out specific smaller segments upon request and put them into a pastebin.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-11-22, 07:33 PM
    Has Jellyfin crashed recently? Or did your disk fill up? The one with Jellyfin's DB? IMO, it looks like the database is corrupt.
    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]
    N-pie
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #5
    2024-11-22, 07:45 PM
    (2024-11-22, 07:33 PM)TheDreadPirate Wrote: Has Jellyfin crashed recently? Or did your disk fill up? The one with Jellyfin's DB? IMO, it looks like the database is corrupt.

    I haven't noticed any crashes, but it's possible it crashed and I missed it as the server auto-restarts weekly. As for space, there is nearly 200GB free on the server so it isn't full.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-11-22, 07:57 PM
    How long has this been happening? If within the last three days (the default log retention), could you share ALL of the available log files?
    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]
    N-pie
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2024 Nov
    Reputation: 0
    #7
    2024-11-22, 10:57 PM
    (2024-11-22, 07:57 PM)TheDreadPirate Wrote: How long has this been happening? If within the last three days (the default log retention), could you share ALL of the available log files?

    I haven't needed to log in for a bit, so I've only noticed it today but it looks like all the logs are pretty much the same.
    I just decided to do a clean re-install and it's all working again.
    « 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