Jump to content

HDHomerun HDHR4 not being recognized


Go to solution Solved by thesilmarilion,

Recommended Posts

thesilmarilion
Posted (edited)

I'm trying to connect to my HDHR4 after migrating my emby server; let me emphasize that with my old installation the HDHR4 worked fine with Emby. However now, when I try to enable it in Live TV configuration I get the error "Alert There was an error saving the TV provider. Please ensure it is accessible and try again". I get this error with both stable and beta docker images.

 

I'm using updated Ubuntu

16.04 with Docker 1.11.2 and either stable or beta Emby docker image from Docker Hub.

 

 

Appreciate suggestions on how to resolve. Thanks for your help.

 

 

This error in the log seems relevant:

 

 

2016-07-07 12:05:09.1875 Info HttpClient: HttpClientManager GET: http://192.168.1.108/discover.json

2016-07-07 12:05:09.2110 Error HttpClient: Error getting response from http://192.168.1.108/discover.json

*** Error Report ***

Version: 3.1.56.0

Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh

Operating system: Unix 4.4.0.28

Processor count: 3

64-Bit OS: True

64-Bit Process: True

Program data path: /config

Mono: 4.2.2 (Stable 4.2.2.30/996df3c Tue Apr 26 12:45:48 UTC 2016)

Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe

One or more errors occurred.

System.AggregateException

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x415f3990 + 0x0002b> in :0

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x415f3770 + 0x000c7> in :0

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x415f36e0 + 0x0006b> in :0

at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x41176bc0 + 0x0003b> in :0

at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x411ab1a0 + 0x00017> in :0

at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+c__async4.MoveNext () <0x413f7000 + 0x00f7f> in :0

InnerException: System.Net.WebException

The remote server returned an error: (404) Not Found.

at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x41435d50 + 0x0018f> in :0

at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (IAsyncResult iar, System.Func`2 endFunction, System.Action`1 endAction, System.Threading.Tasks.Task`1 promise, Boolean requiresSynchronization) <0x414359a0 + 0x00093> in :0

 

2016-07-07 12:05:09.2117 Error ServiceStackHost: ServiceBase::Service Exception

*** Error Report ***

Version: 3.1.56.0

Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh

Operating system: Unix 4.4.0.28

Processor count: 3

64-Bit OS: True

64-Bit Process: True

Program data path: /config

Mono: 4.2.2 (Stable 4.2.2.30/996df3c Tue Apr 26 12:45:48 UTC 2016)

Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe

One or more errors occurred.

System.AggregateException

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x415f3990 + 0x0002b> in :0

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x415f3770 + 0x000c7> in :0

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x415f36e0 + 0x0006b> in :0

at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x41176bc0 + 0x0003b> in :0

at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x411ab1a0 + 0x00017> in :0

at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+c__async4.MoveNext () <0x413f7000 + 0x00f7f> in :0

InnerException: System.Net.WebException

The remote server returned an error: (404) Not Found.

at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x41435d50 + 0x0018f> in :0

at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (IAsyncResult iar, System.Func`2 endFunction, System.Action`1 endAction, System.Threading.Tasks.Task`1 promise, Boolean requiresSynchronization) <0x414359a0 + 0x00093> in :0

 

2016-07-07 12:05:09.2117 Error HttpServer: Error processing request for /LiveTv/TunerHosts

*** Error Report ***

Version: 3.1.56.0

Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /config -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh

Operating system: Unix 4.4.0.28

Processor count: 3

64-Bit OS: True

64-Bit Process: True

Program data path: /config

Mono: 4.2.2 (Stable 4.2.2.30/996df3c Tue Apr 26 12:45:48 UTC 2016)

Application Path: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe

One or more errors occurred.

ServiceStack.HttpError

No Stack Trace Available

InnerException: System.AggregateException

One or more errors occurred.

at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x415f3990 + 0x0002b> in :0

at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x415f3770 + 0x000c7> in :0

at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x415f36e0 + 0x0006b> in :0

at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x41176bc0 + 0x0003b> in :0

at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () <0x411ab1a0 + 0x00017> in :0

at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager+c__async4.MoveNext () <0x413f7000 + 0x00f7f> in :0

InnerException: System.Net.WebException

The remote server returned an error: (404) Not Found.

at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) <0x41435d50 + 0x0018f> in :0

at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (IAsyncResult iar, System.Func`2 endFunction, System.Action`1 endAction, System.Threading.Tasks.Task`1 promise, Boolean requiresSynchronization) <0x414359a0 + 0x00093> in :0

 

2016-07-07 12:05:09.2133 Info HttpServer: HTTP Response 500 to 192.168.1.107. Time: 35ms. http://emby.home.blueskyjunkie.ca:8096/LiveTv/TunerHosts

Edited by thesilmarilion
Posted

Looks like your model doesn't support an HDHR api that we're using. We'll have to work around that. Thanks.

thesilmarilion
Posted

Ok. These are the specific hardware details, if they are useful:

 

Hardware Model HDHR4-2US Firmware Version 20141124

 

I would like to reiterate that the device worked fine with an older version of Emby docker. Unfortunately I can't tell you which exact version because I wasn't paying attention then; it would have been latest stable about 6 months ago, perhaps as long as 8 months ago.

 

I guess the API you are using has changed relatively recently?

  • Solution
thesilmarilion
Posted

I just downloaded 20150826 firmware update from Silicon Dust and it now works.

 

Installation instructions https://goo.gl/Z6ZrDJ (reddit.com)

Firmware download https://goo.gl/hofXl4 (silicondust.com)

Posted

Well done. Thanks for reporting  back.

thesilmarilion
Posted

Happy to help (and thanks for yours).

 

I should add, because the instructions aren't very clear, that to get the hdhomerun_config command referred to in the instructions I built the libhdhomerun package from source for Linux (download from the URL above); not sure if you get this in the Windows package.

Posted

What command referred to do you mean?

thesilmarilion
Posted

In the Silicon Dust firmware upgrade instructions linked above they refer to "hdhomerun_config" command to use to upload firmware upgrade to HDHomerun. I downloaded source and compiled for Linux to get the command; it didn't occur to me until just now that the same command might already be part of the emby distribution if you use libhdhomerun as part of your hdhomerun driver in emby.

Posted

Ah good info, 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...