2020-05-14, 08:53 PM
I have hdhomerun-config installed; according to apt, it's the latest version.
Ubuntu v20.04, NextPVR Version: 5.0.4.200428 installed using the .deb package.
When adding my local OTA to the "B31" device below, I get a 404 error.
The 404 error made me think that the issue was with Schedules Direct, but since I run Schedules Direct, I needed to look deeper.
Looking at the logs, I see:
2020-05-14 15:33:05.416 [DEBUG][46] Got request [::ffff:192.168.10.179]: /services/service (setting.scan.start)
2020-05-14 15:33:05.416 [DEBUG][46] method=setting.scan.start
2020-05-14 15:33:05.416 [DEBUG][46] parameters:
2020-05-14 15:33:05.416 [DEBUG][46] method: setting.scan.start
2020-05-14 15:33:05.416 [DEBUG][46] format: json
2020-05-14 15:33:05.416 [DEBUG][46] source_id: 21
2020-05-14 15:33:05.416 [DEBUG][46] epg: schedulesdirect-USA-OTA-60030
2020-05-14 15:33:05.416 [DEBUG][46] sid: 1df75fb7-b9c1-424f-b707-3081b4a99923
2020-05-14 15:33:05.416 [DEBUG][46] client_ip: ::ffff:192.168.10.179
2020-05-14 15:33:05.416 [DEBUG][46] user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
2020-05-14 15:33:05.416 [DEBUG][46] host_callback: 192.168.10.231:8866
2020-05-14 15:33:05.416 [DEBUG][46] setting.scan.start
2020-05-14 15:33:05.416 [DEBUG][46] CaptureSource.LoadAll()
2020-05-14 15:33:05.416 [DEBUG][46] ...Looking for line up at http://192.168.10.168/lineup.xml?tuning
2020-05-14 15:33:05.591 [DEBUG][46] [
{
"DeviceID": "10160B31",
"LocalIP": "192.168.10.168",
"Legacy": 1,
"BaseURL": "http://192.168.10.168",
"DiscoverURL": "http://192.168.10.168/discover.json"
},
{
"DeviceID": "1310B768",
"LocalIP": "192.168.10.180",
"ConditionalAccess": 1,
"BaseURL": "http://192.168.10.180",
"DiscoverURL": "http://192.168.10.180/discover.json",
"LineupURL": "http://192.168.10.180/lineup.json"
}
]
2020-05-14 15:33:05.599 [DEBUG][46] Found HDHomeRun: 10160B31 (2 tuners)
2020-05-14 15:33:05.602 [DEBUG][46] got discovery response
2020-05-14 15:33:05.602 [DEBUG][46] ...
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_DEVICE_TYPE: 1
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_DEVICE_ID: 1310B768
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_DEVICE_AUTH_STR
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_BASE_URL: http://192.168.10.180:80
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_TUNER_COUNT: 3
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_LINEUP_URL: http://192.168.10.180:80/lineup.json
2020-05-14 15:33:05.604 [DEBUG][46] got discovery response
2020-05-14 15:33:05.604 [DEBUG][46] ...
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_DEVICE_TYPE: 1
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_DEVICE_ID: 10160B31
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_DEVICE_AUTH_STR
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_TUNER_COUNT: 2
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_BASE_URL: http://192.168.10.168:80
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_LINEUP_URL: http://ipv4-api.hdhomerun.com/api/lineup...tXGJ9zYd-Y
2020-05-14 15:33:05.806 [DEBUG][46] Unable to download lineup.xml: System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at NShared.Recorders.HDHomeRunScanner.StartScan(Dictionary`2 parameters, String& reason)
2020-05-14 15:33:05.806 [DEBUG][46] {"stat":"Failed","code":11,"msg":"Unable to download channel lineup: The remote server returned an error: (404) Not Found."}
The device in question:
HDHomeRun DUAL
Model: HDHR-US
Device ID: 10160B31
Firmware: 20200225
I saw that there was another thread with the same 404 error message, but I didn't see that the issue was resolved.
Ubuntu v20.04, NextPVR Version: 5.0.4.200428 installed using the .deb package.
When adding my local OTA to the "B31" device below, I get a 404 error.
The 404 error made me think that the issue was with Schedules Direct, but since I run Schedules Direct, I needed to look deeper.
Looking at the logs, I see:
2020-05-14 15:33:05.416 [DEBUG][46] Got request [::ffff:192.168.10.179]: /services/service (setting.scan.start)
2020-05-14 15:33:05.416 [DEBUG][46] method=setting.scan.start
2020-05-14 15:33:05.416 [DEBUG][46] parameters:
2020-05-14 15:33:05.416 [DEBUG][46] method: setting.scan.start
2020-05-14 15:33:05.416 [DEBUG][46] format: json
2020-05-14 15:33:05.416 [DEBUG][46] source_id: 21
2020-05-14 15:33:05.416 [DEBUG][46] epg: schedulesdirect-USA-OTA-60030
2020-05-14 15:33:05.416 [DEBUG][46] sid: 1df75fb7-b9c1-424f-b707-3081b4a99923
2020-05-14 15:33:05.416 [DEBUG][46] client_ip: ::ffff:192.168.10.179
2020-05-14 15:33:05.416 [DEBUG][46] user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
2020-05-14 15:33:05.416 [DEBUG][46] host_callback: 192.168.10.231:8866
2020-05-14 15:33:05.416 [DEBUG][46] setting.scan.start
2020-05-14 15:33:05.416 [DEBUG][46] CaptureSource.LoadAll()
2020-05-14 15:33:05.416 [DEBUG][46] ...Looking for line up at http://192.168.10.168/lineup.xml?tuning
2020-05-14 15:33:05.591 [DEBUG][46] [
{
"DeviceID": "10160B31",
"LocalIP": "192.168.10.168",
"Legacy": 1,
"BaseURL": "http://192.168.10.168",
"DiscoverURL": "http://192.168.10.168/discover.json"
},
{
"DeviceID": "1310B768",
"LocalIP": "192.168.10.180",
"ConditionalAccess": 1,
"BaseURL": "http://192.168.10.180",
"DiscoverURL": "http://192.168.10.180/discover.json",
"LineupURL": "http://192.168.10.180/lineup.json"
}
]
2020-05-14 15:33:05.599 [DEBUG][46] Found HDHomeRun: 10160B31 (2 tuners)
2020-05-14 15:33:05.602 [DEBUG][46] got discovery response
2020-05-14 15:33:05.602 [DEBUG][46] ...
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_DEVICE_TYPE: 1
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_DEVICE_ID: 1310B768
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_DEVICE_AUTH_STR
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_BASE_URL: http://192.168.10.180:80
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_TUNER_COUNT: 3
2020-05-14 15:33:05.602 [DEBUG][46] HDHOMERUN_TAG_LINEUP_URL: http://192.168.10.180:80/lineup.json
2020-05-14 15:33:05.604 [DEBUG][46] got discovery response
2020-05-14 15:33:05.604 [DEBUG][46] ...
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_DEVICE_TYPE: 1
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_DEVICE_ID: 10160B31
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_DEVICE_AUTH_STR
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_TUNER_COUNT: 2
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_BASE_URL: http://192.168.10.168:80
2020-05-14 15:33:05.604 [DEBUG][46] HDHOMERUN_TAG_LINEUP_URL: http://ipv4-api.hdhomerun.com/api/lineup...tXGJ9zYd-Y
2020-05-14 15:33:05.806 [DEBUG][46] Unable to download lineup.xml: System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at NShared.Recorders.HDHomeRunScanner.StartScan(Dictionary`2 parameters, String& reason)
2020-05-14 15:33:05.806 [DEBUG][46] {"stat":"Failed","code":11,"msg":"Unable to download channel lineup: The remote server returned an error: (404) Not Found."}
The device in question:
HDHomeRun DUAL
Model: HDHR-US
Device ID: 10160B31
Firmware: 20200225
I saw that there was another thread with the same 404 error message, but I didn't see that the issue was resolved.