{"action":"created","issue":{"url":"https://api.github.com/repos/tidusjar/Ombi/issues/2695","repository_url":"https://api.github.com/repos/tidusjar/Ombi","labels_url":"https://api.github.com/repos/tidusjar/Ombi/issues/2695/labels{/name}","comments_url":"https://api.github.com/repos/tidusjar/Ombi/issues/2695/comments","events_url":"https://api.github.com/repos/tidusjar/Ombi/issues/2695/events","html_url":"https://github.com/tidusjar/Ombi/issues/2695","id":392748987,"node_id":"MDU6SXNzdWUzOTI3NDg5ODc=","number":2695,"title":"Docker Plex Ombi media library not being indexed. Test connections work but logs and ombi interface show it does not","user":{"login":"vulcanjedi","id":2159292,"node_id":"MDQ6VXNlcjIxNTkyOTI=","avatar_url":"https://avatars1.githubusercontent.com/u/2159292?v=4","gravatar_id":"","url":"https://api.github.com/users/vulcanjedi","html_url":"https://github.com/vulcanjedi","followers_url":"https://api.github.com/users/vulcanjedi/followers","following_url":"https://api.github.com/users/vulcanjedi/following{/other_user}","gists_url":"https://api.github.com/users/vulcanjedi/gists{/gist_id}","starred_url":"https://api.github.com/users/vulcanjedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vulcanjedi/subscriptions","organizations_url":"https://api.github.com/users/vulcanjedi/orgs","repos_url":"https://api.github.com/users/vulcanjedi/repos","events_url":"https://api.github.com/users/vulcanjedi/events{/privacy}","received_events_url":"https://api.github.com/users/vulcanjedi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":41,"created_at":"2018-12-19T19:38:59Z","updated_at":"2019-01-01T16:40:21Z","closed_at":"2019-01-01T16:40:21Z","author_association":"NONE","body":"<!--- \r\n\r\n!! Please use the Support / bug report template, otherwise we will close the Github issue !!\r\n\r\nVersion 2.X is not supported anymore. Please don't open a issue for the 2.x version.\r\nSee https://github.com/tidusjar/Ombi/issues/1455 for more information.\r\n\r\n(Pleas submit a feature request over here: http://feathub.com/tidusjar/Ombi) \r\n\r\n\r\n--->\r\n\r\n#### Ombi build Version:\r\n\r\n3.0.4036\r\n\r\n#### Update Branch:\r\n\r\nmaster\r\n\r\n#### Media Sever:\r\n\r\nPlex\r\n\r\n#### Media Server Version:\r\n\r\nVersion 1.14.1.5488\r\n\r\n#### Operating System:\r\n\r\n\r\nHost Ubuntu 16.04.5 LTS\r\nlinuxserver docker container for both Plex / Ombi\r\n\r\n\r\n#### Ombi Applicable Logs (from `/logs/` directory or the Admin page):\r\n\r\n```\r\n\r\n(Logs go here. Don't remove the ' tags for showing your logs correctly. Please make sure you remove any personal information from the logs)\r\n\r\n```\r\n\r\n#### Problem Description:\r\n\r\nNot getting media library inventory. Some show up others (most don't)\r\nHave tried to disable Secure Connections to Preferred instead of Required.\r\nTest connections to the PMS are successful and SOME stuff shows up.\r\n\r\n\r\n> \r\n> fail: Ombi.Api.Api[1000]\r\n>       StatusCode: NotFound, Reason: Not Found, RequestUri: http://###-###-#-###.asdfasfasfasdfasdfasdfas.plex.direct:32400/library/metadata/365831\r\n> warn: Ombi.Schedule.Jobs.Plex.PlexContentSync[2008]\r\n>       Exception thrown when attempting to cache the Plex Content in server thePlexServer\r\n> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.\r\n>    at Newtonsoft.Json.JsonTextReader.ParseValue()\r\n>    at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)\r\n>    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)\r\n>    at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)\r\n>    at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)\r\n>    at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)\r\n>    at Ombi.Api.Api.Request[T](Request request) in C:\\projects\\requestplex\\src\\Ombi.Api\\Api.cs:line 77\r\n>    at Ombi.Api.Plex.PlexApi.GetMetadata(String authToken, String plexFullHost, Int32 itemId) in C:\\projects\\requestplex\\src\\Ombi.Api.Plex\\PlexApi.cs:line 159\r\n>    at Ombi.Schedule.Jobs.Plex.PlexContentSync.ProcessTvShow(PlexServers servers, Metadata show, HashSet`1 contentToAdd, Dictionary`2 contentProcessed) in C:\\projects\\requestplex\\src\\Ombi.Schedule\\Jobs\\Plex\\PlexContentSync.cs:line 390\r\n>    at Ombi.Schedule.Jobs.Plex.PlexContentSync.ProcessServer(PlexServers servers, Boolean recentlyAddedSearch) in C:\\projects\\requestplex\\src\\Ombi.Schedule\\Jobs\\Plex\\PlexContentSync.cs:line 218\r\n>    at Ombi.Schedule.Jobs.Plex.PlexContentSync.StartTheCache(PlexSettings plexSettings, Boolean recentlyAddedSearch) in C:\\projects\\requestplex\\src\\Ombi.Schedule\\Jobs\\Plex\\PlexContentSync.cs:line 136\r\n> \r\n\r\n> fail: Ombi.ErrorHandlingMiddleware[0]\r\n>       Something bad happened, ErrorMiddleware caught this\r\n> System.Exception: Invalid URI: The hostname could not be parsed. ---> System.UriFormatException: Invalid URI: The hostname could not be parsed.\r\n>    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)\r\n>    at System.Uri..ctor(String uriString)\r\n>    at System.UriBuilder.get_Uri()\r\n>    at Ombi.Helpers.UriHelper.ReturnUri(String val, Int32 port, Boolean ssl) in C:\\projects\\requestplex\\src\\Ombi.Helpers\\UriHelper.cs:line 89\r\n>    --- End of inner exception stack trace ---\r\n>    at Ombi.Helpers.UriHelper.ReturnUri(String val, Int32 port, Boolean ssl) in C:\\projects\\requestplex\\src\\Ombi.Helpers\\UriHelper.cs:line 96\r\n>    at Ombi.Settings.Settings.Models.External.ExternalSettings.get_FullUri() in C:\\projects\\requestplex\\src\\Ombi.Settings\\Settings\\Models\\External\\ExternalSettings.cs:line 18\r\n>    at Microsoft.Extensions.Internal.PropertyHelper.CallNullSafePropertyGetter[TDeclaringType,TValue](Func`2 getter, Object target)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry.get_Model()\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.VisitChildren(IValidationStrategy strategy)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.VisitComplexType(IValidationStrategy defaultStrategy)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.Visit(ModelMetadata metadata, String key, Object model)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.VisitChildren(IValidationStrategy strategy)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.VisitComplexType(IValidationStrategy defaultStrategy)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.Visit(ModelMetadata metadata, String key, Object model)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.VisitChildren(IValidationStrategy strategy)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.VisitComplexType(IValidationStrategy defaultStrategy)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor.Visit(ModelMetadata metadata, String key, Object model)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.ObjectModelValidator.Validate(ActionContext actionContext, ValidationStateDictionary validationState, String prefix, Object model)\r\n>    at Microsoft.AspNetCore.Mvc.ModelBinding.ParameterBinder.BindModelAsync(ActionContext actionContext, IModelBinder modelBinder, IValueProvider valueProvider, ParameterDescriptor parameter, ModelMetadata metadata, Object value)\r\n>    at Microsoft.AspNetCore.Mvc.Internal.ControllerBinderDelegateProvider.<>c__DisplayClass0_0.<<CreateBinderDelegate>g__Bind|0>d.MoveNext()\r\n> --- End of stack trace from previous location where exception was thrown ---\r\n>    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n>    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()\r\n>    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)\r\n>    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n>    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()\r\n>    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()\r\n>    at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)\r\n>    at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)\r\n>    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware.Invoke(HttpContext httpContext)\r\n>    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext)\r\n>    at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context)\r\n>    at Ombi.ApiKeyMiddlewear.Invoke(HttpContext context) in C:\\projects\\requestplex\\src\\Ombi\\ApiKeyMiddlewear.cs:line 50\r\n>    at Ombi.ErrorHandlingMiddleware.Invoke(HttpContext context) in C:\\projects\\requestplex\\src\\Ombi\\ErrorHandlingMiddlewear.cs:line 24\r\n> \r\n\r\n#### Reproduction Steps:\r\n\r\nPlease include any steps to reproduce the issue, this the request that is causing the problem etc.\r\n"},"comment":{"url":"https://api.github.com/repos/tidusjar/Ombi/issues/comments/450742199","html_url":"https://github.com/tidusjar/Ombi/issues/2695#issuecomment-450742199","issue_url":"https://api.github.com/repos/tidusjar/Ombi/issues/2695","id":450742199,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDc0MjE5OQ==","user":{"login":"tidusjar","id":6642220,"node_id":"MDQ6VXNlcjY2NDIyMjA=","avatar_url":"https://avatars0.githubusercontent.com/u/6642220?v=4","gravatar_id":"","url":"https://api.github.com/users/tidusjar","html_url":"https://github.com/tidusjar","followers_url":"https://api.github.com/users/tidusjar/followers","following_url":"https://api.github.com/users/tidusjar/following{/other_user}","gists_url":"https://api.github.com/users/tidusjar/gists{/gist_id}","starred_url":"https://api.github.com/users/tidusjar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tidusjar/subscriptions","organizations_url":"https://api.github.com/users/tidusjar/orgs","repos_url":"https://api.github.com/users/tidusjar/repos","events_url":"https://api.github.com/users/tidusjar/events{/privacy}","received_events_url":"https://api.github.com/users/tidusjar/received_events","type":"User","site_admin":false},"created_at":"2019-01-01T16:40:21Z","updated_at":"2019-01-01T16:40:21Z","author_association":"OWNER","body":"Ok the fix I have committed to the develop branch should fix this for you then!\r\n\r\nHappy new year! 🎉🎊\r\n\r\nI am going to close this issue to prevent further confusion. \r\n\r\nIf anyone else has an issue please try develop and if that does not work then please raise an issue. "}}
{"actor":{"display_login":"tidusjar"}}