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 … 10 11 12 13 14 … 34 Next »
IPTV Stream 404 from NextPVR unless user-agent is changed

 
  • 0 Vote(s) - 0 Average
IPTV Stream 404 from NextPVR unless user-agent is changed
bphillips09
Offline

Junior Member

US
Posts: 9
Threads: 2
Joined: Oct 2022
#1
2022-10-11, 11:52 PM
Hi, I have set up a NextPVR instance in a VPS.

Everything is set up and works great except for actually playing back or recording a stream. The error is:

Code:
[56] ConnectToURL: http://IPTVURL:80/.../File.ts?....
[56] WebException: System.Net.WebException: The remote server returned an error: (404) Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at NShared.IPTVRecorder.ConnectToURL(String url, Int32 depth)

This only happens in NextPVR though, and only with the direct URL.

If I use Xteve or similar to restream it, it loads perfectly fine in NextPVR.

I think my provider is blocking the User-Agent. Is there a workaround? Thanks!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,918
Threads: 956
Joined: May 2006
#2
2022-10-12, 12:05 AM
What user agent does xteve use? NextPVR does uses a rather arcane user-agent the last I looked but you can override it with the m3u user-agent= parameter or a #EXTVLCOPT line.

Martin
bphillips09
Offline

Junior Member

US
Posts: 9
Threads: 2
Joined: Oct 2022
#3
2022-10-12, 12:09 AM
Thanks for the quick reply!

The default user-agent in xteve is "xTeVe".

I will try editing the M3U by hand, although it is currently being dynamically updated once per day by my provider so I'd likely need to find a way to do it automatically if possible.

It might be possible that my VPS is IP-banned, although I'll try to narrow that down.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,918
Threads: 956
Joined: May 2006
#4
2022-10-12, 12:23 AM
I would be surprised they are restricting an old version of vlc then. I suspect the problem is the provider changing the m3u everyday. NextPVR does allow a way of updating that daily but there is not way of filtering the unnecessary channel.

You can have an m3u on disk too and change it with sed. You could build that into UpdateEPG.sh

Martin
bphillips09
Offline

Junior Member

US
Posts: 9
Threads: 2
Joined: Oct 2022
#5
2022-10-12, 05:19 AM
Martin,

Thanks for the info - it turns out my second suspicion was correct. The box was IP-rate-limited from the provider as the previous PVR service I was using (TVHeadend) had a configuration error that sent new requests every few seconds.

I have finally gotten everything working and am loving NextPVR!

Thanks again.

Brandon
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  IPTV stops often SysAdminZ 17 752 2025-04-08, 01:04 AM
Last Post: mvallevand
  NextPVR can't open RAI (Italian main TV channels) links f2fg 17 3,164 2025-03-29, 10:15 AM
Last Post: alice_anto
  Guide data issue using NextPVR in a Proxmox LXC njc 10 943 2025-03-23, 01:40 PM
Last Post: njc
  NextPVR oddly limited to 7 tuners DaVinylSmith 4 492 2025-02-12, 02:49 PM
Last Post: DaVinylSmith
  NextPVR webserver not starting, prevents client from starting homemaisonbaile 28 1,349 2025-02-04, 05:23 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 904 2024-12-20, 03:23 AM
Last Post: ballfam
  Colossus 2 and nextpvr Iriman 53 4,797 2024-12-16, 02:32 AM
Last Post: ehfortin
  NextPVR user1232 1 316 2024-11-09, 11:21 AM
Last Post: mvallevand
  How does NextPVR separate TV from VOD ? FrankBKK 8 848 2024-10-30, 06:17 AM
Last Post: sub
  NextPVR i.mjh.nz [Failed: Recording interrupted] Nzbaxterman 6 736 2024-10-29, 11:44 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode