Jump to content

Invalid user ID or Password when login from android


freefrank
Go to solution Solved by Luke,

Recommended Posts

freefrank

Hi all! Just installed emby on my home server. Everything works great on my android tv and browser but when I'm trying to login on my phone theres a problem as title suggested.

 

Here is the log:

 

Thanks in advance!

2020-04-05 14:59:37.928 Info HttpServer: HTTP POST http://192.168.1.11:8096/emby/Users/authenticatebyname. UserAgent: Mozilla/5.0 (Linux; Android 10.0; MI 9 Transparent Edition Build/QKQ1.190825.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.162 Mobile Safari/537.36
2020-04-05 14:59:37.928 Info UserManager: Authentication request for freefrank has succeeded.
2020-04-05 14:59:37.928 Info SessionManager: Creating new access token for user 1
2020-04-05 14:59:37.930 Error HttpServer: Error processing request
    *** Error Report ***
    Version: 4.4.1.0
    Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
    Operating system: Unix 5.3.10.1
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
    System.Environment.Version: 3.1.2
    Processor count: 4
    Program data path: /var/lib/emby
    Application directory: /opt/emby-server/system
    SQLitePCL.pretty.SQLiteException: Constraint: NOT NULL constraint failed: Tokens.DeviceName
    SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown.
     at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc)
     at SQLitePCL.pretty.StatementImpl.MoveNext()
     at Emby.Server.Implementations.Security.AuthenticationRepository.Create(AuthenticationInfo info)
     at Emby.Server.Implementations.Session.SessionManager.GetAuthorizationToken(User user, String deviceId, String app, String appVersion, String deviceName)
     at Emby.Server.Implementations.Session.SessionManager.AuthenticateNewSessionInternal(AuthenticationRequest request, Boolean enforcePassword, CancellationToken cancellationToken)
     at MediaBrowser.Api.UserService.Post(AuthenticateUserByName request)
     at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
     at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
     at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
    Source: SQLitePCL.pretty
    TargetSite: Void CheckOk(SQLitePCL.sqlite3, Int32)
    
2020-04-05 14:59:37.930 Info HttpServer: HTTP Response 500 to 192.168.1.238. Time: 2ms. http://192.168.1.11:8096/emby/Users/authenticatebyname
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...