NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 97 98 99 100 101 … 113 Next »
301 redirect not being handled for IPTV

 
  • 0 Vote(s) - 0 Average
301 redirect not being handled for IPTV
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#1
2020-04-25, 07:48 PM
It looks like the backend isn't handling 301 redirects, which a provider is now using. I see this in the logs:

Code:
2020-04-25 12:33:18.565 [DEBUG][115] IPTV StartStream@about to check stream 2020-04-25 12:33:18.565 [DEBUG][115] CheckTSUrl: http://removed/.../8812?....  [ZD3AqXHi8LIFx+JPrqCw2ivBp8PS4ktczyh0bx6IX+hX/Ja747lPxH90nIViXGzrVpoKlVelnq+aQzAE13TsDdP2Kl/IPC2+ZZbP7TDtVVAnIR/4MHeoP/XCo+ADyqtzWHT1tyE7kuA4wAlr6e8ZhDG23/TFYfovUeYarCm3STQM0QQYwb1uoHkmceRuKqrS2do6C02p8IUK2FN1HHLiJ4ZYHcIjT9zBLP1NBcRvf9kDOHNdyuWhzZrAYeofOs8NVJD/X0v0ZiT6hOQ1+eltAJC0FUFlE7rhmgneLNPRRHIK/iWDep4YSUCgKBlp+8qM4YeokApOGSRmkh+TTgZeCov9HUnJqdxQFFye7+O8XkYfY4jY5w9SPfOUKsEMjqxHURSX56sCAoCi/5T2ky1k/o4s+eH8vsT/AZMCNAzGR8caf8/eB11OXGPJEKuwtsa0] 2020-04-25 12:33:18.738 [DEBUG][115] WebException: System.Net.WebException: The remote server returned an error: (301) Moved Permanently.   at System.Net.HttpWebRequest.GetResponse()   at NShared.IPTVRecorder.CheckTSUrl(String url, String& reason, String& location) 2020-04-25 12:33:18.738 [DEBUG][115] CheckTSUrl done 2020-04-25 12:33:18.738 [DEBUG][115] IPTV StartStream@about to check stream #2 2020-04-25 12:33:18.738 [DEBUG][115] Failed to connect to http://removed/.../8812?....  [Egg2oOSth+bqgslS61psYOmiKFkPmxU1shUXMjh1I272wCzD1AAqljn2MqkNHdZk1yYBKqCZ33Vw50aYZxgkeuxMvmf3G29LSgkKnj1wV0X4ZKk0p8pnJSKQuCz/W1GMkLvMNdHfCY5fz9G9eSpfDLB3K0AYXjZCfJWaGTZ+nAsIqXRcJeaEh1LWYHu5pvpTcqVkLQjLH7J4URf9qWwsZSjkdzztIqnaL7e8q6ArdcimC3FrUXd2Qo2XtyJsFwL6axWnClbubkfy0rXOooOIHRzm+X1r6/vkxhsO9NIqc2S9jkXtkY3AqjFEOTErRYfXK7XjxFp8GiX32ei75pVedcGDQ0jj/GzfgyezugYPpVeAVAz8gIKqNrCMvpb/qS+8095VyOTwkxIMprL17XCZ70Ettme1E5+cFA6h1k8Vqr3PQhJMMfbdoEay1AMcvmk5] The remote server returned an error: (301) Moved Permanently. 2020-04-25 12:33:18.739 [ERROR][115] Unable to StartStream(): The remote server returned an error: (301) Moved Permanently.

Using wget I can see that the link from the m3u is a 301 to another link, which then returns a 302 to the stream.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 108,479
Threads: 784
Joined: Nov 2003
#2
2020-04-25, 08:23 PM
Can you tell me if this updated NShared.dll helps? It looked like it was handing 301/302 for hls, but only 302 for ts.


Attached Files
.zip   NShared.zip (Size: 297.94 KB / Downloads: 7)
sgilani
Offline

Senior Member

Posts: 730
Threads: 72
Joined: Jan 2006
#3
2020-04-25, 08:47 PM
That fixed it, thanks! Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Channel numbering from IPTV sources clemon79 7 161 2026-07-31, 10:37 PM
Last Post: mvallevand
  IPTV Import Using XC Issue Metroid 8 521 2026-06-25, 05:26 PM
Last Post: Metroid
  Failing to load IPTV channels rafael3 11 861 2026-06-21, 10:14 PM
Last Post: mvallevand
  is there a way to force iptv input streams through ffmpeg? sharkbite 5 502 2026-05-25, 02:07 AM
Last Post: mvallevand
  Help. IPTV audio. 1ch works. 1ch doesn't. w/examples+logs snard 11 2,791 2026-02-16, 05:48 PM
Last Post: mvallevand
  NextPVR IPTV recording - Parts are duplicated in the recording. Buckaragua 8 1,134 2026-01-20, 01:41 PM
Last Post: Buckaragua
  iptv playlist channel refresh sharkbite 5 3,897 2025-11-24, 02:04 AM
Last Post: mvallevand
  tuner reconized as IPTV Device unknown how to scan for channels? Steve123X 37 7,147 2025-09-10, 08:59 PM
Last Post: Steve123X
  Legal IPTV? Joram 28 5,805 2025-08-07, 04:54 PM
Last Post: Joram
  No Audio Stream on most IPTV Channels pascholnahui 15 5,154 2025-05-24, 09:35 PM
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