Jump to content

Users cannot log in through the Emby Android App


Recommended Posts

Posted (edited)

I am running my instance on Ubuntu 20.04 and everything seems to work fine on the local network or if logging in through a browser (e.g. Chrome) but when users try to log in to my server through the Emby app remotely they get a password error. 

Here is the error log:

 

2020-08-06 05:39:00.900 Info HttpServer: HTTP GET http://MYDOMAIN:8096/Users/authenticatebyname. UserAgent: Mozilla/5.0 (Linux; Android 10; Pixel 4 XL Build/QQ3A.200705.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/84.0.4147.111 Mobile Safari/537.36
2020-08-06 05:39:00.905 Error HttpServer: Error processing request
*** Error Report ***
Version: 4.4.3.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.4.0.42
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: 8
Program data path: /var/lib/emby
Application directory: /opt/emby-server/system
System.FormatException: System.FormatException: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
at System.Guid.GuidResult.SetFailure(Boolean overflow, String failureMessageID)
at System.Guid.TryParseExactN(ReadOnlySpan`1 guidString, GuidResult& result)
at System.Guid.TryParseGuid(ReadOnlySpan`1 guidString, GuidResult& result)
at System.Guid..ctor(String g)
at Emby.Server.Implementations.Library.UserManager.GetUserById(String id)
at MediaBrowser.Api.UserService.Get(GetUser 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: System.Private.CoreLib
TargetSite: Void SetFailure(Boolean, System.String)
 
2020-08-06 05:39:00.905 Info HttpServer: HTTP Response 500 to 174.90.223.214. Time: 5ms. http://MYDOMAIN:8096/Users/authenticatebyname
 
Does anyone have any thoughts?

**EDIT** I upgraded to 4.5.0.16 beta and now I am getting a completely different error:

2020-08-06 07:08:24.358 Info HttpServer: HTTP GET http://MYDOMAIN:8096/Users/authenticatebyname. Host=emby.ddhtech.ca, X-Real-IP=174.90.223.214, X-Forwarded-For=174.90.223.214, accept=application/json, X-Emby-Client-Version=3.1.23, X-Emby-Client=Emby for Android Mobile, X-Emby-Device-Id=325e9011713e8ac8, User-Agent=Mozilla/5.0 (Linux; Android 10; Pixel 4 XL Build/QQ3A.200705.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/84.0.4147.111 Mobile Safari/537.36, X-Emby-Device-Name=Pixel%204%20XL, X-Requested-With=com.mb.android, Sec-Fetch-Site=cross-site, Sec-Fetch-Mode=cors, Sec-Fetch-Dest=empty, Accept-Encoding=gzip, deflate, Accept-Language=en-CA,en-US;q=0.9,en;q=0.8

2020-08-06 07:08:24.358 Error HttpServer: Access token is invalid or expired.

2020-08-06 07:08:24.358 Info HttpServer: HTTP Response 401 to 174.90.223.214. Time: 1ms. http://MYDOMAIN:8096/Users/authenticatebyname

Edited by devin_mm
Posted

Hi there, can you please attach the emby server log? Thanks.

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...