-
-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jellyfin "We could not connect to the Emby server Jellyfin!" #3245
Comments
Hi! |
What's happening is that the hostname or IP and port you have provided, we cannot talk to the API for some reason. Have you double checked your settings? |
Currently having the same issue. This is the stack trace:
|
Can someone please modify the appsettings.json and change the logging
levels to debug. Then restart ombi and then try again and post the logs?
…On Mon, 11 Nov 2019, 5:54 pm Stephan Renggli, ***@***.***> wrote:
Currently having the same issue.
I run both Jellyfin and Ombi in docker so I have it configured via
internal DNS (which works for Plex, Sonarr, Radarr, etc.) as well.
This is my configuration:
[image: image]
<https://user-images.githubusercontent.com/5135902/68609029-96de5900-04b4-11ea-83ff-d7e82467ad82.png>
This is the stack trace:
Could not test Emby
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Ombi.Api.Api.Request[T](Request request) in C:\projects\requestplex\src\Ombi.Api\Api.cs:line 78
at Ombi.Api.Emby.EmbyApi.GetUsers(String baseUri, String apiKey) in C:\projects\requestplex\src\Ombi.Api.Emby\EmbyApi.cs:line 33
at Ombi.Controllers.External.TesterController.Emby(EmbyServers settings) in C:\projects\requestplex\src\Ombi\Controllers\External\TesterController.cs:line 293
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3245>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMKTVF6MD5LB33BSG4G5LX3QTGL4DANCNFSM4JLUMEYQ>
.
|
Here you go, I hope this helps. I changed all the settings to "Debug".
|
Looks like we are just getting the main Emby page back, you sure the API
key is correct?
…On Mon, 11 Nov 2019, 7:38 pm Stephan Renggli, ***@***.***> wrote:
Here you go, I hope this helps. I changed all the settings to "Debug".
2019-11-11 20:31:01.455 +01:00 [Information] Default Quartz.NET properties loaded from embedded resource file
2019-11-11 20:31:01.506 +01:00 [Debug] TaskSchedulingThreadPool configured with max concurrency of 10 and TaskScheduler ThreadPoolTaskScheduler.
2019-11-11 20:31:01.512 +01:00 [Information] Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl
2019-11-11 20:31:01.513 +01:00 [Information] Quartz Scheduler v."3.0.7.0" created.
2019-11-11 20:31:01.515 +01:00 [Information] RAMJobStore initialized.
2019-11-11 20:31:01.520 +01:00 [Information] Scheduler meta-data: Quartz Scheduler (v3.0.7.0) 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'Quartz.Core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'Quartz.Simpl.DefaultThreadPool' - with 10 threads.
Using job-store 'Quartz.Simpl.RAMJobStore' - which does not support persistence. and is not clustered.
2019-11-11 20:31:01.520 +01:00 [Information] Quartz scheduler 'DefaultQuartzScheduler' initialized
2019-11-11 20:31:01.520 +01:00 [Information] Quartz scheduler version: 3.0.7.0
2019-11-11 20:31:01.521 +01:00 [Information] JobFactory set to: Ombi.Schedule.IoCJobFactory
2019-11-11 20:31:01.609 +01:00 [Information] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
2019-11-11 20:31:01.615 +01:00 [Debug] Batch acquisition of 0 triggers
2019-11-11 20:31:01.881 +01:00 [Information] Starting Hangfire Server
2019-11-11 20:31:01.882 +01:00 [Information] Using job storage: 'Hangfire.MemoryStorage.MemoryStorage'
2019-11-11 20:31:01.882 +01:00 [Information] Using the following options for Hangfire Server:
2019-11-11 20:31:01.882 +01:00 [Information] Worker count: 1
2019-11-11 20:31:01.883 +01:00 [Information] Listening queues: 'default'
2019-11-11 20:31:01.883 +01:00 [Information] Shutdown timeout: 1.00:00:00
2019-11-11 20:31:01.883 +01:00 [Information] Schedule polling interval: 00:00:15
2019-11-11 20:31:01.889 +01:00 [Debug] Background process 'BackgroundProcessingServer' started.
2019-11-11 20:31:01.913 +01:00 [Debug] Background process 'ServerWatchdog' started.
2019-11-11 20:31:01.913 +01:00 [Debug] Background process 'ServerHeartbeat' started.
2019-11-11 20:31:01.913 +01:00 [Debug] Background process 'Composite C1 Records Expiration Manager' started.
2019-11-11 20:31:01.913 +01:00 [Debug] Background process 'Counter Table Aggregator' started.
2019-11-11 20:31:01.914 +01:00 [Debug] Background process 'DelayedJobScheduler' started.
2019-11-11 20:31:01.914 +01:00 [Debug] Background process 'Worker #1d72f9a0' started.
2019-11-11 20:31:01.914 +01:00 [Debug] Background process 'RecurringJobScheduler' started.
2019-11-11 20:31:02.087 +01:00 [Debug] Compatibility switch "AllowInputFormatterExceptionMessages" in type "MvcJsonOptions" is using default value False
2019-11-11 20:31:02.112 +01:00 [Debug] Compatibility switch "AllowCombiningAuthorizeFilters" in type "MvcOptions" is using default value False
2019-11-11 20:31:02.112 +01:00 [Debug] Compatibility switch "AllowBindingHeaderValuesToNonStringModelTypes" in type "MvcOptions" is using default value False
2019-11-11 20:31:02.112 +01:00 [Debug] Compatibility switch "AllowValidatingTopLevelNodes" in type "MvcOptions" is using default value False
2019-11-11 20:31:02.113 +01:00 [Debug] Compatibility switch "InputFormatterExceptionPolicy" in type "MvcOptions" is using default value AllExceptions
2019-11-11 20:31:02.113 +01:00 [Debug] Compatibility switch "SuppressBindingUndefinedValueToEnumType" in type "MvcOptions" is using default value False
2019-11-11 20:31:02.113 +01:00 [Debug] Compatibility switch "EnableEndpointRouting" in type "MvcOptions" is using default value False
2019-11-11 20:31:02.113 +01:00 [Debug] Compatibility switch "MaxValidationDepth" in type "MvcOptions" is using default value "(null)"
2019-11-11 20:31:02.113 +01:00 [Debug] Compatibility switch "AllowShortCircuitingValidationWhenNoValidatorsArePresent" in type "MvcOptions" is using default value False
2019-11-11 20:31:02.129 +01:00 [Debug] Compatibility switch "SuppressMapClientErrors" in type "ApiBehaviorOptions" is using compatibility value True for version Version_2_0
2019-11-11 20:31:02.129 +01:00 [Debug] Compatibility switch "SuppressUseValidationProblemDetailsForInvalidModelStateResponses" in type "ApiBehaviorOptions" is using compatibility value True for version Version_2_0
2019-11-11 20:31:02.129 +01:00 [Debug] Compatibility switch "AllowInferringBindingSourceForCollectionTypesAsFromQuery" in type "ApiBehaviorOptions" is using compatibility value True for version Version_2_0
2019-11-11 20:31:02.137 +01:00 [Debug] Compatibility switch "AllowAreas" in type "RazorPagesOptions" is using default value False
2019-11-11 20:31:02.137 +01:00 [Debug] Compatibility switch "AllowMappingHeadRequestsToGetHandler" in type "RazorPagesOptions" is using default value False
2019-11-11 20:31:02.137 +01:00 [Debug] Compatibility switch "AllowDefaultHandlingForOptionsRequests" in type "RazorPagesOptions" is using default value False
2019-11-11 20:31:02.141 +01:00 [Debug] Compatibility switch "AllowRecompilingViewsOnFileChange" in type "RazorViewEngineOptions" is using compatibility value True for version Version_2_0
2019-11-11 20:31:02.183 +01:00 [Debug] Compatibility switch "SuppressTempDataAttributePrefix" in type "MvcViewOptions" is using default value False
2019-11-11 20:31:02.183 +01:00 [Debug] Compatibility switch "AllowRenderingMaxLengthAttribute" in type "MvcViewOptions" is using default value False
2019-11-11 20:31:02.222 +01:00 [Debug] Registered model binder providers, in the following order: ["Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BinderTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ServicesModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.BodyModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.HeaderModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FloatingPointTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.EnumTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.SimpleTypeModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CancellationTokenModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ByteArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormFileModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.FormCollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.KeyValuePairModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.DictionaryModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ArrayModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.CollectionModelBinderProvider", "Microsoft.AspNetCore.Mvc.ModelBinding.Binders.ComplexTypeModelBinderProvider"]
2019-11-11 20:31:02.332 +01:00 [Debug] Failed to locate the development https certificate at 'null'.
2019-11-11 20:31:02.369 +01:00 [Debug] Hosting started
2019-11-11 20:31:02.370 +01:00 [Debug] Loaded hosting startup assembly "Ombi"
2019-11-11 20:31:06.260 +01:00 [Debug] Connection id ""0HLR6RMP5RNRJ"" started.
2019-11-11 20:31:06.396 +01:00 [Information] Request starting HTTP/1.1 POST http://plex.example.com/request/api/v1/tester/emby application/json 186
2019-11-11 20:31:06.401 +01:00 [Debug] Wildcard detected, all requests with hosts will be allowed.
2019-11-11 20:31:06.416 +01:00 [Debug] Unknown proxy: "[::ffff:172.18.0.9]:43038"
2019-11-11 20:31:06.430 +01:00 [Debug] "POST" requests are not supported
2019-11-11 20:31:06.516 +01:00 [Information] Successfully validated the token.
2019-11-11 20:31:06.520 +01:00 [Debug] AuthenticationScheme: "Bearer" was successfully authenticated.
2019-11-11 20:31:06.543 +01:00 [Debug] The request has an origin header: '"https://plex.example.com"'.
2019-11-11 20:31:06.543 +01:00 [Information] CORS policy execution successful.
2019-11-11 20:31:06.552 +01:00 [Debug] "POST" requests are not supported
2019-11-11 20:31:06.785 +01:00 [Debug] Request successfully matched the route with name 'null' and template '"api/v1/Tester/emby"'
2019-11-11 20:31:06.854 +01:00 [Information] Route matched with "{action = \"Emby\", controller = \"Tester\"}". Executing controller action with signature "System.Threading.Tasks.Task`1[System.Boolean] Emby(Ombi.Core.Settings.Models.External.EmbyServers)" on controller "Ombi.Controllers.External.TesterController" ("Ombi").
2019-11-11 20:31:06.855 +01:00 [Debug] Execution plan of "authorization" filters (in the following order): ["Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter"]
2019-11-11 20:31:06.856 +01:00 [Debug] Execution plan of "resource" filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter"]
2019-11-11 20:31:06.856 +01:00 [Debug] Execution plan of "action" filters (in the following order): ["Microsoft.AspNetCore.Mvc.Internal.ControllerActionFilter (Order: -2147483648)", "Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)"]
2019-11-11 20:31:06.857 +01:00 [Debug] Execution plan of "exception" filters (in the following order): ["None"]
2019-11-11 20:31:06.857 +01:00 [Debug] Execution plan of "result" filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter", "Microsoft.AspNetCore.Mvc.ProducesAttribute (Order: 0)"]
2019-11-11 20:31:06.884 +01:00 [Information] Authorization was successful.
2019-11-11 20:31:06.934 +01:00 [Debug] Attempting to bind parameter '"settings"' of type '"Ombi.Core.Settings.Models.External.EmbyServers"' ...
2019-11-11 20:31:06.943 +01:00 [Debug] Attempting to bind model of type '"Ombi.Core.Settings.Models.External.EmbyServers"' using the name '""' in request data ...
2019-11-11 20:31:06.944 +01:00 [Debug] Rejected input formatter '"Microsoft.AspNetCore.Mvc.Formatters.JsonPatchInputFormatter"' for content type '"application/json"'.
2019-11-11 20:31:06.948 +01:00 [Debug] Selected input formatter '"Microsoft.AspNetCore.Mvc.Formatters.JsonInputFormatter"' for content type '"application/json"'.
2019-11-11 20:31:06.973 +01:00 [Debug] Connection id ""0HLR6RMP5RNRJ"", Request id ""0HLR6RMP5RNRJ:00000001"": started reading request body.
2019-11-11 20:31:06.991 +01:00 [Debug] Connection id ""0HLR6RMP5RNRJ"", Request id ""0HLR6RMP5RNRJ:00000001"": done reading request body.
2019-11-11 20:31:07.004 +01:00 [Debug] Done attempting to bind model of type '"Ombi.Core.Settings.Models.External.EmbyServers"' using the name '""'.
2019-11-11 20:31:07.004 +01:00 [Debug] Done attempting to bind parameter '"settings"' of type '"Ombi.Core.Settings.Models.External.EmbyServers"'.
2019-11-11 20:31:07.043 +01:00 [Information] Executing action method "Ombi.Controllers.External.TesterController.Emby (Ombi)" - Validation state: Valid
2019-11-11 20:31:07.184 +01:00 [Debug] <!DOCTYPE html>
<html data-culture="en-US" lang="en" class="preload">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<link rel="manifest" href="manifest.json">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta http-equiv="X-UA-Compatibility" content="IE=Edge">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Jellyfin">
<meta name="robots" content="noindex, nofollow, noarchive">
<meta property="og:title" content="Jellyfin">
<meta property="og:site_name" content="Jellyfin">
<meta property="og:url" content="http://jellyfin.media">
<meta property="og:description" content="The Free Software Media System.">
<meta property="og:type" content="article">
<meta property="fb:app_id" content="1618309211750238">
<link rel="apple-touch-icon" sizes="180x180" href="touchicon.png">
<!-------------------- iPhone 5 ------------------->
<link href="splashscreens/iphone5_splash.png" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphone5_splash_l.png" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------- iPhone 6, 6S, 7 and 8 ------------->
<link href="splashscreens/iphone6_splash.png" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphone6_splash_l.png" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------- iPhone 6+, 7+ and 8+ -------------->
<link href="splashscreens/iphoneplus_splash.png" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphoneplus_splash_l.png" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------- iPhone X -------------------->
<link href="splashscreens/iphonex_splash.png" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphonex_splash_l.png" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------- iPhone Xr ------------------->
<link href="splashscreens/iphonexr_splash.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphonexr_splash_l.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------- iPhone Xs ------------------->
<link href="splashscreens/iphonexsmax_splash.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphonexsmax_splashl.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!--------------------- iPad ---------------------->
<link href="splashscreens/ipad_splash.png" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipad_splash_l.png" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------ iPad Pro 1 ------------------->
<link href="splashscreens/ipadpro1_splash.png" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipadpro1_splash_l.png" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------ iPad Pro 3 ------------------->
<link href="splashscreens/ipadpro3_splash.png" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipadpro3_splash_l.png" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------ iPad Pro 2 ------------------->
<link href="splashscreens/ipadpro2_splash.png" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipadpro2_splash_l.png" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="msapplication-TileImage" content="touchicon144.png">
<meta name="msapplication-TileColor" content="#333333">
<meta name="theme-color" content="#101010">
<title>Jellyfin</title>
<style>
.transparentDocument, .backgroundContainer-transparent:not(.withBackdrop) {
background: none !important;
background-color: transparent !important;
}
.mouseIdle, .mouseIdle button, .mouseIdle select, .mouseIdle input, .mouseIdle textarea, .mouseIdle a, .mouseIdle label {
cursor: none !important;
}
.preload {
background-color: #101010;
}
.hide, .mouseIdle .hide-mouse-idle, .mouseIdle-tv .hide-mouse-idle-tv {
display: none !important;
}
.mainDrawerHandle {
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 1;
width: 10px;
}
</style>
</head>
<body>
<div class="backdropContainer"></div>
<div class="backgroundContainer"></div>
<div class="mainDrawer hide"><div class="mainDrawer-scrollContainer scrollContainer"></div></div>
<div class="skinHeader"></div>
<div class="mainAnimatedPages skinBody"></div>
<div class="mainDrawerHandle"></div>
<script>window.dashboardVersion='10.4.1';</script><script src="scripts/apploader.js?v=10.4.1" defer></script></body>
</html>
2019-11-11 20:31:07.258 +01:00 [Error] Could not test Emby
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Ombi.Api.Api.Request[T](Request request) in C:\projects\requestplex\src\Ombi.Api\Api.cs:line 78
at Ombi.Api.Emby.EmbyApi.GetUsers(String baseUri, String apiKey) in C:\projects\requestplex\src\Ombi.Api.Emby\EmbyApi.cs:line 33
at Ombi.Controllers.External.TesterController.Emby(EmbyServers settings) in C:\projects\requestplex\src\Ombi\Controllers\External\TesterController.cs:line 293
2019-11-11 20:31:07.263 +01:00 [Information] Executed action method "Ombi.Controllers.External.TesterController.Emby (Ombi)", returned result "Microsoft.AspNetCore.Mvc.ObjectResult" in 217.7059ms.
2019-11-11 20:31:07.281 +01:00 [Debug] List of registered output formatters, in the following order: ["Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter", "Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter", "Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter", "Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter"]
2019-11-11 20:31:07.286 +01:00 [Debug] No information found on request to perform content negotiation.
2019-11-11 20:31:07.286 +01:00 [Debug] Attempting to select the first output formatter in the output formatters list which supports a content type from the explicitly specified content types '["application/json"]'.
2019-11-11 20:31:07.290 +01:00 [Debug] Selected output formatter '"Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter"' and content type '"application/json"' to write the response.
2019-11-11 20:31:07.290 +01:00 [Information] Executing ObjectResult, writing value of type '"System.Boolean"'.
2019-11-11 20:31:07.355 +01:00 [Information] Executed action "Ombi.Controllers.External.TesterController.Emby (Ombi)" in 495.805ms
2019-11-11 20:31:07.366 +01:00 [Debug] Connection id ""0HLR6RMP5RNRJ"" completed keep alive response.
2019-11-11 20:31:07.376 +01:00 [Information] Request finished in 981.6775ms 200 application/json; charset=utf-8
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3245>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMKTVF63HZGHHZ2RKSPAX53QTGYEFANCNFSM4JLUMEYQ>
.
|
Just tried with a new API Key (copy/pasted) with the same result. Edit: I remember this working previously, unfortunately I don't know what Jellyfin and Ombi versions I was running. |
Same for me - reassured that API key is correct, also as shown in original report - traffic dump shows that there's connectivity, so hostname/port/proto is correct as there are two requests one after another. My bet is that issue is somewhere around parsing data as per error message:
|
And the debug dump:
|
The reason we are getting that error is because ombi is expecting a JSON
response from the API, but we are getting HTML back. So we cannot parse it.
Maybe Jellyfin has changed the Api
…On Mon, 11 Nov 2019, 8:32 pm bugsyb, ***@***.***> wrote:
And the debug dump:
2019-11-11 21:30:21.658 +01:00 [Debug] Connection id ""0HLR6SMFP5UIO"" started.
2019-11-11 21:30:21.660 +01:00 [Information] Request starting HTTP/1.1 POST http://myhost.localdomain/request/api/v1/tester/emby application/json 230
2019-11-11 21:30:21.661 +01:00 [Debug] "POST" requests are not supported
2019-11-11 21:30:21.662 +01:00 [Information] Successfully validated the token.
2019-11-11 21:30:21.663 +01:00 [Debug] AuthenticationScheme: "Bearer" was successfully authenticated.
2019-11-11 21:30:21.664 +01:00 [Debug] The request has an origin header: '"http://myhost.localdomain"'.
2019-11-11 21:30:21.664 +01:00 [Information] CORS policy execution successful.
2019-11-11 21:30:21.665 +01:00 [Debug] "POST" requests are not supported
2019-11-11 21:30:21.665 +01:00 [Debug] Request successfully matched the route with name 'null' and template '"api/v1/Tester/emby"'
2019-11-11 21:30:21.687 +01:00 [Information] Route matched with "{action = \"Emby\", controller = \"Tester\"}". Executing controller action with signature "System.Threading.Tasks.Task`1[System.Boolean] Emby(Ombi.Core.Settings.Models.External.EmbyServers)" on controller "Ombi.Controllers.External.TesterController" ("Ombi").
2019-11-11 21:30:21.688 +01:00 [Debug] Execution plan of "authorization" filters (in the following order): ["Microsoft.AspNetCore.Mvc.Authorization.AuthorizeFilter"]
2019-11-11 21:30:21.688 +01:00 [Debug] Execution plan of "resource" filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter"]
2019-11-11 21:30:21.688 +01:00 [Debug] Execution plan of "action" filters (in the following order): ["Microsoft.AspNetCore.Mvc.Internal.ControllerActionFilter (Order: -2147483648)", "Microsoft.AspNetCore.Mvc.ModelBinding.UnsupportedContentTypeFilter (Order: -3000)"]
2019-11-11 21:30:21.688 +01:00 [Debug] Execution plan of "exception" filters (in the following order): ["None"]
2019-11-11 21:30:21.689 +01:00 [Debug] Execution plan of "result" filters (in the following order): ["Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.SaveTempDataFilter", "Microsoft.AspNetCore.Mvc.ProducesAttribute (Order: 0)"]
2019-11-11 21:30:21.689 +01:00 [Information] Authorization was successful.
2019-11-11 21:30:21.753 +01:00 [Debug] Attempting to bind parameter '"settings"' of type '"Ombi.Core.Settings.Models.External.EmbyServers"' ...
2019-11-11 21:30:21.753 +01:00 [Debug] Attempting to bind model of type '"Ombi.Core.Settings.Models.External.EmbyServers"' using the name '""' in request data ...
2019-11-11 21:30:21.754 +01:00 [Debug] Rejected input formatter '"Microsoft.AspNetCore.Mvc.Formatters.JsonPatchInputFormatter"' for content type '"application/json"'.
2019-11-11 21:30:21.754 +01:00 [Debug] Selected input formatter '"Microsoft.AspNetCore.Mvc.Formatters.JsonInputFormatter"' for content type '"application/json"'.
2019-11-11 21:30:21.754 +01:00 [Debug] Connection id ""0HLR6SMFP5UIO"", Request id ""0HLR6SMFP5UIO:00000001"": started reading request body.
2019-11-11 21:30:21.755 +01:00 [Debug] Connection id ""0HLR6SMFP5UIO"", Request id ""0HLR6SMFP5UIO:00000001"": done reading request body.
2019-11-11 21:30:21.755 +01:00 [Debug] Done attempting to bind model of type '"Ombi.Core.Settings.Models.External.EmbyServers"' using the name '""'.
2019-11-11 21:30:21.756 +01:00 [Debug] Done attempting to bind parameter '"settings"' of type '"Ombi.Core.Settings.Models.External.EmbyServers"'.
2019-11-11 21:30:21.759 +01:00 [Information] Executing action method "Ombi.Controllers.External.TesterController.Emby (Ombi)" - Validation state: Valid
2019-11-11 21:30:21.790 +01:00 [Debug] <!DOCTYPE html>
<html data-culture="en" lang="en" class="preload">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<link rel="manifest" href="manifest.json">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
<meta http-equiv="X-UA-Compatibility" content="IE=Edge">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Jellyfin">
<meta name="robots" content="noindex, nofollow, noarchive">
<meta property="og:title" content="Jellyfin">
<meta property="og:site_name" content="Jellyfin">
<meta property="og:url" content="http://jellyfin.media">
<meta property="og:description" content="The Free Software Media System.">
<meta property="og:type" content="article">
<meta property="fb:app_id" content="1618309211750238">
<link rel="apple-touch-icon" sizes="180x180" href="touchicon.png">
<!-------------------- iPhone 5 ------------------->
<link href="splashscreens/iphone5_splash.png" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphone5_splash_l.png" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------- iPhone 6, 6S, 7 and 8 ------------->
<link href="splashscreens/iphone6_splash.png" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphone6_splash_l.png" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------- iPhone 6+, 7+ and 8+ -------------->
<link href="splashscreens/iphoneplus_splash.png" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphoneplus_splash_l.png" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------- iPhone X -------------------->
<link href="splashscreens/iphonex_splash.png" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphonex_splash_l.png" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------- iPhone Xr ------------------->
<link href="splashscreens/iphonexr_splash.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphonexr_splash_l.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------- iPhone Xs ------------------->
<link href="splashscreens/iphonexsmax_splash.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphonexsmax_splashl.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!--------------------- iPad ---------------------->
<link href="splashscreens/ipad_splash.png" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipad_splash_l.png" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------ iPad Pro 1 ------------------->
<link href="splashscreens/ipadpro1_splash.png" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipadpro1_splash_l.png" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------ iPad Pro 3 ------------------->
<link href="splashscreens/ipadpro3_splash.png" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipadpro3_splash_l.png" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------ iPad Pro 2 ------------------->
<link href="splashscreens/ipadpro2_splash.png" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipadpro2_splash_l.png" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="msapplication-TileImage" content="touchicon144.png">
<meta name="msapplication-TileColor" content="#333333">
<meta name="theme-color" content="#101010">
<title>Jellyfin</title>
<style>
.transparentDocument, .backgroundContainer-transparent:not(.withBackdrop) {
background: none !important;
background-color: transparent !important;
}
.mouseIdle, .mouseIdle button, .mouseIdle select, .mouseIdle input, .mouseIdle textarea, .mouseIdle a, .mouseIdle label {
cursor: none !important;
}
.preload {
background-color: #101010;
}
.hide, .mouseIdle .hide-mouse-idle, .mouseIdle-tv .hide-mouse-idle-tv {
display: none !important;
}
.mainDrawerHandle {
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 1;
width: 10px;
}
</style>
</head>
<body>
<div class="backdropContainer"></div>
<div class="backgroundContainer"></div>
<div class="mainDrawer hide"><div class="mainDrawer-scrollContainer scrollContainer"></div></div>
<div class="skinHeader"></div>
<div class="mainAnimatedPages skinBody"></div>
<div class="mainDrawerHandle"></div>
<script>window.dashboardVersion='10.4.1';</script><script src="scripts/apploader.js?v=10.4.1" defer></script></body>
</html>
2019-11-11 21:30:21.799 +01:00 [Error] Could not test Emby
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Ombi.Api.Api.Request[T](Request request) in C:\projects\requestplex\src\Ombi.Api\Api.cs:line 78
at Ombi.Api.Emby.EmbyApi.GetUsers(String baseUri, String apiKey) in C:\projects\requestplex\src\Ombi.Api.Emby\EmbyApi.cs:line 33
at Ombi.Controllers.External.TesterController.Emby(EmbyServers settings) in C:\projects\requestplex\src\Ombi\Controllers\External\TesterController.cs:line 293
2019-11-11 21:30:21.808 +01:00 [Information] Executed action method "Ombi.Controllers.External.TesterController.Emby (Ombi)", returned result "Microsoft.AspNetCore.Mvc.ObjectResult" in 43.1613ms.
2019-11-11 21:30:21.839 +01:00 [Debug] List of registered output formatters, in the following order: ["Microsoft.AspNetCore.Mvc.Formatters.HttpNoContentOutputFormatter", "Microsoft.AspNetCore.Mvc.Formatters.StringOutputFormatter", "Microsoft.AspNetCore.Mvc.Formatters.StreamOutputFormatter", "Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter"]
2019-11-11 21:30:21.849 +01:00 [Debug] No information found on request to perform content negotiation.
2019-11-11 21:30:21.850 +01:00 [Debug] Attempting to select the first output formatter in the output formatters list which supports a content type from the explicitly specified content types '["application/json"]'.
2019-11-11 21:30:21.858 +01:00 [Debug] Selected output formatter '"Microsoft.AspNetCore.Mvc.Formatters.JsonOutputFormatter"' and content type '"application/json"' to write the response.
2019-11-11 21:30:21.859 +01:00 [Information] Executing ObjectResult, writing value of type '"System.Boolean"'.
2019-11-11 21:30:21.889 +01:00 [Information] Executed action "Ombi.Controllers.External.TesterController.Emby (Ombi)" in 200.4036ms
2019-11-11 21:30:21.891 +01:00 [Debug] Connection id ""0HLR6SMFP5UIO"" received FIN.
2019-11-11 21:30:21.891 +01:00 [Debug] Connection id ""0HLR6SMFP5UIO"" sending FIN because: ""The client closed the connection.""
2019-11-11 21:30:21.892 +01:00 [Debug] Connection id ""0HLR6SMFP5UIO"" disconnecting.
2019-11-11 21:30:21.893 +01:00 [Information] Request finished in 233.5457ms 200 application/json; charset=utf-8
2019-11-11 21:30:21.893 +01:00 [Debug] Connection id ""0HLR6SMFP5UIO"" stopped.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3245>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABSVULF2FLRHHIP6335ADO3QTG6PNANCNFSM4JLUMEYQ>
.
|
I think I found the cause of the problem. Manually trying to query the Jellyfin API I noticed the base API path is I assume this means there will have to be two distinct configuration options now for Emby and Jellyfin. |
Yeah looks like they have changed that API endpoint recently then. I was afraid of this happening that Emby & Jellyfin's API keep getting further and further apart. |
Is there a guide somewhere on how to setup the dev environment for the current version? |
@stephanrenggli There is not a guide for the current production v3 version. There is for v4 but that's not ready for production yet. Basically clone the repository and then open up the solution in Visual Studio and you can just run it from there. |
Until this is fixed I used the following workaround successfully:
|
any news on this ? |
Hi sorry but there has been no further progress on this yet. Please remember that I have a full time (quite demanding) job, a toddler, a wife and a puppy. Ombi is currently a 1 person development team. So if I have not yet got around to this you now know why 😄 |
@tidusjar don't worry friend it was just a question. I know what it is and I really appreciate you're hard work and dedication for ombi. Really great software . Keep going the good work! |
Workaround for when Jellyfin server is on your subdomain and not subdirectory (i.e. https://jellyfin.example.com and not https://example.com/jellyfin). add the following to the Jellyfin server block : |
Fixed this in v4 |
Hi, I experienced this error in v4. Changing base URL in jellyfin to /jellyfin solves the issue. I thought this should be handled by the BaseURL field in ombi v4, but it seems that it don't do anything at all or nothing really useful. I can create another issue to track this behaviour. Will look for an existing one too. |
Yes I'm aware I have not fully fixed it yet
…On Sat, 2 May 2020, 12:56 pm Timothé, ***@***.***> wrote:
Hi, I experienced this error in v4.
My jellyfin is configured to use / base URL, and so ombi could'nt connect
to it.
Changing base URL in jellyfin to /jellyfin solves the issue.
I thought this should be handled by the BaseURL field in ombi v4, but it
seems that it don't do anything at all or nothing really useful.
Setting it to / should use / to connect to jellyfin and not /jellyfin.
I can create another issue to track this behaviour. Will look for an
existing one too.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3245 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMKTVF7NOTTYXXIYOH5SNMDRPQC5XANCNFSM4JLUMEYQ>
.
|
Describe the bug
Emby/Jellyfin "Test Connectivity" raises message:
"We could not connect to the Emby server Jellyfin!"
Whilst at the same time it generates traffic as seen below (port 8096, default for Jellyfin):
"Discover Server Information" generates following traffic:
To Reproduce
Setup Jellyfin server (no SSL)
Expected behavior
Test connectivity should not raise an error.
Logs
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
Ombi Version:
The text was updated successfully, but these errors were encountered: