NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 26 27 28 29 30 … 34 Next »
404 error when retrieving lineup information

 
  • 0 Vote(s) - 0 Average
404 error when retrieving lineup information
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#1
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.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2020-05-14, 09:02 PM
Quote: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
When you use a browser to hit the URL specified in the HDHOMERUN_TAG_LINEUP_URL, does it show you a list of channels?
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#3
2020-05-14, 09:17 PM
(2020-05-14, 09:02 PM)sub Wrote:
Quote: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
When you use a browser to hit the URL specified in the HDHOMERUN_TAG_LINEUP_URL, does it show you a list of channels?

Yes.

http://ipv4-api.hdhomerun.com/api/lineup...SFl9WUk-a2mptXGJ9zYd-Y
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,134
Threads: 957
Joined: May 2006
#4
2020-05-14, 09:17 PM
I think something may have changed with legacy HDHR the logs look weird and so I tried with mine and get the same error. I don't even know what this call http://ip/lineup.xml?tuning on legacy is supposed to do.

Also I don't see any option to use ATSC or QAM either for HDHR but I don't know if that is supported.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#5
2020-05-14, 09:30 PM
(2020-05-14, 09:17 PM)rkulagow Wrote:
(2020-05-14, 09:02 PM)sub Wrote:
Quote: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
When you use a browser to hit the URL specified in the HDHOMERUN_TAG_LINEUP_URL, does it show you a list of channels?

Yes.

http://ipv4-api.hdhomerun.com/api/lineup...SFl9WUk-a2mptXGJ9zYd-Y
I'll take a look at the code in a minute, to see if I can work out what is happening.

Out of curiosity though, was the other device working (ie, the non-legacy one)? 1310B768
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#6
2020-05-14, 09:33 PM
(2020-05-14, 09:17 PM)rkulagow Wrote:
(2020-05-14, 09:02 PM)sub Wrote:
Quote: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
When you use a browser to hit the URL specified in the HDHOMERUN_TAG_LINEUP_URL, does it show you a list of channels?

Yes.

http://ipv4-api.hdhomerun.com/api/lineup...SFl9WUk-a2mptXGJ9zYd-Y
When I tried that URL earlier, it wasn't working. It just returned some "null" text. That link now seems to return a channel list for me.

I wonder if SiliconDust had some temporary problem on their legacy lineup server? Can you try again in NextPVR just in case...
rkulagow
Offline

Member

Posts: 176
Threads: 12
Joined: Dec 2014
#7
2020-05-14, 09:41 PM
(2020-05-14, 09:33 PM)sub Wrote:
(2020-05-14, 09:17 PM)rkulagow Wrote:
(2020-05-14, 09:02 PM)sub Wrote:
Quote: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
When you use a browser to hit the URL specified in the HDHOMERUN_TAG_LINEUP_URL, does it show you a list of channels?

Yes.

http://ipv4-api.hdhomerun.com/api/lineup...SFl9WUk-a2mptXGJ9zYd-Y
When I tried that URL earlier, it wasn't working. It just returned some "null" text. That link now seems to return a channel list for me.

I wonder if SiliconDust had some temporary problem on their legacy lineup server? Can you try again in NextPVR just in case...

The non-legacy device works.

The legacy device is still returning a 404.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,134
Threads: 957
Joined: May 2006
#8
2020-05-14, 09:50 PM
My link has been is working all along and I still get 404

What I think is weird in both our logs is it is going into a discovery scan and then it doesn't stop on the valid device.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#9
2020-05-14, 09:55 PM
You could see if this updated NShared.dll helps.

I think I might have broken legacy HDHR scanning recently when I made a change to work better with the Ceton HDHR simulator software


Attached Files
.zip   NShared.zip (Size: 302.01 KB / Downloads: 4)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,134
Threads: 957
Joined: May 2006
#10
2020-05-14, 09:59 PM
That breaks everything for me.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to add a DirecTV Stream lineup in the guide? TheRealRoland 1 125 2025-06-24, 07:44 AM
Last Post: mvallevand
  No device listed -- error saving capture source: SQLite Error 1: 'no such column: −1' skrottapple 46 5,139 2024-04-13, 10:27 PM
Last Post: skrottapple
  Different Errors depending on channel (no tuner found/transcoding Error) idefixrc 3 896 2023-11-21, 12:45 PM
Last Post: mvallevand
  Nextpvr unaccessable from Jellyfin with 401 error Simonzzzz 5 1,429 2023-11-20, 10:28 AM
Last Post: Simonzzzz
  EPG Information truncated Marty56 33 6,004 2023-11-13, 03:19 AM
Last Post: mvallevand
  Recording length error VCR58 20 2,456 2023-11-12, 11:46 PM
Last Post: mvallevand
  "Unexpected error scanning for other devices" BlackJack 2 832 2023-07-15, 03:03 PM
Last Post: BlackJack
Photo Copy Channel Lineup in Linux boukmandutty 11 1,852 2023-06-15, 06:53 PM
Last Post: mvallevand
  HTTP ERROR 500 PJosses 17 2,198 2023-02-16, 05:17 PM
Last Post: PJosses
  [SOLVED] Schedules Direct won't populate my lineup NinthWave 5 978 2023-01-25, 04:03 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode