Ombi-app / Ombi

Want a Movie or TV Show on Plex/Emby/Jellyfin? Use Ombi!
http://ombi.io
GNU General Public License v2.0
3.71k stars 395 forks source link

Emby Login not working in 4.8.3 #5106

Open iamnague opened 5 months ago

iamnague commented 5 months ago

Summary

I've just upgraded my emby server to the last 4.8.3.0 release, Emby authentication seems broken.

Ombi Version

4.43.5

What platform(s) does this occur on?

Docker

What database are you using?

SQLite (Default)

Relevant log output

`
ombi    | fail: Ombi.Api.Api[1000]
ombi    |       StatusCode: InternalServerError, Reason: Internal Server Error, RequestUri: http://xx:xx:xx:xx:8096/emby/users/authenticatebyname
ombi    | fail: Microsoft.AspNetCore.Identity.UserManager[0]
ombi    |       Emby Login Failed
ombi    |       Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: G. Path '', line 0, position 0.
ombi    |          at Newtonsoft.Json.JsonTextReader.ParseValue()
ombi    |          at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
ombi    |          at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
ombi    |          at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
ombi    |          at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
ombi    |          at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
ombi    |          at Ombi.Api.Api.Request[T](Request request, CancellationToken cancellationToken) in /home/runner/work/Ombi/Ombi/src/Ombi.Api/Api.cs:line 90
ombi    |          at Ombi.Api.Emby.EmbyApi.LogIn(String username, String password, String apiKey, String baseUri, String clientIpAddress) in /home/runner/work/Ombi/Ombi/src/Ombi.Api.Emby/EmbyApi.cs:line 79
ombi    |          at Ombi.Core.Authentication.OmbiUserManager.CheckEmbyPasswordAsync(OmbiUser user, String password, String clientIpAddress) in /home/runner/work/Ombi/Ombi/src/Ombi.Core/Authentication/OmbiUserManager.cs:line 201
ombi    | warn: Ombi.Controllers.V1.TokenController[0]
ombi    |       Failed login attempt by IP: xx:xx:xx:xx
`
iamnague commented 1 month ago

I guess this issue is not impacting anyone here... FYI same behavior with emby 4.8.8.0 and ombi 4.44.1.