No EPG data found from Web XmlTv

Started by Paul55, July 30, 2015, 08:35:19 AM

Previous topic - Next topic

Paul55

I am getting the above message in JustEPG - and no EPG data showing.
My account details show that XML fetches have been made.
It has been working properly for years.
TRF-2400.

JPP

Seems to be working fine for me in Sydney Paul. Just did a reload of the EPG (JustEPG) and it went fine on both my TRF2400s.
Phil.
Beyonwiz T2, DVDO Duo Video Processor

Paul55

It was working again when I got home tonight.

Paul55

Problem is there again this morning.
IceTV reps - any ideas? Illegal character in title/description??

Dave at IceTV

Quote from: Paul55 on July 31, 2015, 07:51:45 AM
Problem is there again this morning.
IceTV reps - any ideas? Illegal character in title/description??

Sounds like a config issue with JustEPG.

Just to be sure your account is okay and your region's xmltv feed has data available can you download the xml file and open it in a text editor to confirm it does have data.

Full instructions (and the webget.exe download link- if you have a Windows PC) are available here:
http://support.icetv.com.au/entries/20205958-how-do-i-download-the-icetv-xml-data
cheers

Dave
Customer Service

dfindlay

Hi IceTV, sorry if it is the wrong thing to do to reopen an old thread, but I have started getting this exact same error as of today (3 July 2016). The error "No EPG data found from Web XmlTv in the JustEPG app on Topfield. This has worked okay for years until today.

When I try opening the XML address from my computer manually as per the posted link mentioned in this thread, it looks to be a text file rather than XML. Is that what is expected? Could something have gone wrong at the IceTV server end?

Dave at IceTV

Quote from: dfindlay on July 03, 2016, 06:27:26 PM
Hi IceTV, sorry if it is the wrong thing to do to reopen an old thread, but I have started getting this exact same error as of today (3 July 2016). The error "No EPG data found from Web XmlTv in the JustEPG app on Topfield. This has worked okay for years until today.

Are you sure JustEPG didn't stop working last week and you just noticed today when the guide became blank? Another JustEPG user noticed the same problem last week but I couldn't work out what the problem was. It looks like the URL JustEPG is using is no longer working and it needs to be changed in JustEPG. Parts of the URL are editable in JustEPG's configuration file but I couldn't see what the whole URL was (though I didn't look at the source code).

It could be as simple as JustEPG is not expecting the server to using https instead of http. This probably something that the author of JustEPG TMS needs to have a look at.

As you noticed, downloading the xml file still works so it is not an issue with server or the log in.

Quote from: dfindlay on July 03, 2016, 06:27:26 PM
When I try opening the XML address from my computer manually as per the posted link mentioned in this thread, it looks to be a text file rather than XML. Is that what is expected? Could something have gone wrong at the IceTV server end?

Yes. An xmltv file is basically just a text file with an .xml file extension (though the "text" is an arrangement of text strings enclosed between pairs of tags and sub-tags all arranged in a specific order).
cheers

Dave
Customer Service

dfindlay

Quote from: Dave at IceTV on July 03, 2016, 09:58:12 PM
Are you sure JustEPG didn't stop working last week and you just noticed today when the guide became blank?
It's very possible, yes. Has anything changed at the IceTV end in the last week that could have affected it? In fact, I am looking into the log files on the Topfield itself, and as far as I can tell the last successful fetch was 22 June ...

Log on failure (today):
3773107991
ToppyDateTime=2016-07-04 15:23:06
Length=185
LengthExpected=185
UncompressedLength=185
Ret=0
GotTvTag=0
GotTvEndTag=0
ToppyTicksTaken=29
Host=remote-topfield.icetv.com.au
Path=/cgi-bin/epg/iceguide.cgi?op=xmlguide&desc_length=1500


Log on success (22 June):
3772321554
ToppyDateTime=2016-06-22 15:18:28
Length=719241
LengthExpected=0
UncompressedLength=3955141
Ret=0
GotTvTag=1
GotTvEndTag=1
ToppyTicksTaken=346
Host=remote-topfield.icetv.com.au
Path=/cgi-bin/epg/iceguide.cgi?op=xmlguide&desc_length=1500


QuoteYes. An xmltv file is basically just a text file with an .xml file extension (though the "text" is an arrangement of text strings enclosed between pairs of tags and sub-tags all arranged in a specific order).
Sorry, yes you're right, it is a valid XML file. When I initially tried to view it, it wasn't showing the tags so didn't look like a valid XML file, but I think it was just the viewer I was using  :-[

Looking the the JustEPG config files, I think the address it is using to fetch the guide data is:
remote-topfield.icetv.com.au/cgi-bin/epg/iceguide.cgi?op=xmlguide&desc_length=1500
But I can't see a config option for http vs https. Does the server expect one or the other? Both methods seem to work when I go to the address manually via a browser.

dfindlay

Note also that the last time this happened, back in 2013, it was the result of a server move at IceTV. Refer to this thread for the problem and solution back then: http://forum.icetv.com.au/iceforum/index.php/topic,3799.15.html.

Have any similar server changes been done at IceTV around 22/23 June at all? If so then it is likely related I imagine??


Dave at IceTV

#9
We moved to new servers on the 22nd and fixed a few PVR login issues on the 23rd.

That thread you pointed to only said to change the Host url in JustEPG's ini file. Nothing was changed at this end to get JustEPG working again.

From my limited conversations with a customer last week I thought that "Host=remote-topfield.icetv.com.au" may now be incorrect.
UPDATE I was wrong. The Host must still be set to remote-topfield.icetv.com.au

I also wondered how JustEPG is including the user/password login details in the URL. You would need to have a look at the JustEPG source code (if it is available) to see how it combines the following into the download URL:

Host=remote-topfield.icetv.com.au
Path=/cgi-bin/epg/iceguide.cgi?op=xmlguide&desc_length=1500
Username=xxxxxx
Password=xxxxxx

Putting the user/password login details at the start of the URL does not work anymore from a web browser.
http://<user>:<password>@remote-topfield.icetv.com.au/cgi-bin/epg/iceguide.cgi?op=xmlguide&desc_length=1500

Putting the user/password login details at the end of the URL does work from a web browser.
http://remote-topfield.icetv.com.au/cgi-bin/epg/iceguide.cgi?op=xmlguide&desc_length=1500&user=<user>&pass=<password>

The customer never replied to say if he got it working or not...

Another possibility is that it needs to use https:// now which would require JustEPG to login securely - which it may not be able to do.

Dan would be needed for more answers... as may be the author of the current JustEPG TAP.
cheers

Dave
Customer Service

Daniel Hall at IceTV

I do have some ideas, let me check it out now.
Regards,

Daniel.
CTO.

Daniel Hall at IceTV

Ok, I have made some changes to the server config, please try again and let me know if it worked...
Regards,

Daniel.
CTO.

Daniel Hall at IceTV

I should also point out that you should still use "remote-topfield.icetv.com.au" as the host name.
Regards,

Daniel.
CTO.

dfindlay

QuoteOk, I have made some changes to the server config, please try again and let me know if it worked...
Yes! It's working now :)
Server still set to remote-topfield.icetv.com.au as before.

Thanks Daniel!

Daniel Hall at IceTV

Quote from: dfindlay on July 04, 2016, 05:31:41 PM
QuoteOk, I have made some changes to the server config, please try again and let me know if it worked...
Yes! It's working now :)
Server still set to remote-topfield.icetv.com.au as before.

Thanks Daniel!

Excellent.
Regards,

Daniel.
CTO.