You are here

Error - The authentication or decryption has failed

34 posts / 0 new
Last post
doglover
Offline
Joined: 11 years
Last seen: 2 years
Error - The authentication or decryption has failed

I am using Windows as well as Linux to grab data.

On windows tv.nu works without a problem.  Same grab on Linux and I get this:

[Warning ] error downloading page: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
[Warning ] pausing 1 of 3 times for 5 seconds before re-try.

Eventually the grab fails.

Anybody any idea how to fix this?

 

Willy

doglover
Offline
Joined: 11 years
Last seen: 2 years

So PHP script method to be apllied.

 

Willy

doglover
Offline
Joined: 11 years
Last seen: 2 years

I did not inspect it all that closely.

Saw it still worked on windows.  And not on Linux.  So I jumped to the conclusion.

Added the php files.  But they probably need to be adapted if the site has been changed.

I think you understand what to change to the siteini to use these.

Willy

 

Attachments: 
doglover
Offline
Joined: 11 years
Last seen: 2 years

Indeed changed a bit;

 

Channels:  https://www.tv.nu/api/user/channels

And the individual channel as you already pointed out.

Do you make a SiteIni, or do I do it.  (No need to do it both) 

 

Willy

doglover
Offline
Joined: 11 years
Last seen: 2 years

Thanks.

 

Willy

 

outkastm
Offline
Joined: 7 years
Last seen: 6 years

How can exactly php script can be used ? I have the same error on linux using horizon.tv

doglover
Offline
Joined: 11 years
Last seen: 2 years

Install Xampp on yout linux machine.  (Search for XAMPP in Google and choose the linux version)

Read the documentation on how to start XAMPP

 

Copy the PHP files in the htdocs folder of XAMPP.

Use the modified Siteini's.

 

Now run as usual.

PS:  I have not modifies the channels file creation yet.  This does not work yet on Linux

 

Willy

 

 

Attachments: 
outkastm
Offline
Joined: 7 years
Last seen: 6 years

Thx, it works

pajtaz
Offline
Donator
Joined: 7 years
Last seen: 1 year

I can't install or run xampp on Odroid XU4 - it is an ARM processor. Is there another way to fix this?

pajtaz
Offline
Donator
Joined: 7 years
Last seen: 1 year

But then I can just use my Windows machine to run WebGrab (which I already did). I am looking for a solution where I can run WebGrab on the same machine that runs my tvheadend, which is Odroid XU4. This way Odroid can automatically run WebGrab daily and tvheadend can import it daily.

So do you have any other suggestions or do I just wait until horizon.tv changes again so it works with mono?

 

doglover
Offline
Joined: 11 years
Last seen: 2 years

I took a look at Odroid XU4.

This runs just Linux is it not.  Changes you can install Xampp on this as well.  The install file is a .run file.  So the package is compiled on your system.

Or see if the supplier of the software for the Odroid offers somewhere a webserver (with Apache).  In fact any webserver can be used.

( browsing in Google I came accross Cloudshell, Lamp)

And found this guideline:  http://fluuux.de/2014/03/webserver-auf-dem-odroid-installieren/

Willy

pajtaz
Offline
Donator
Joined: 7 years
Last seen: 1 year
doglover wrote:

I took a look at Odroid XU4.

This runs just Linux is it not.  Changes you can install Xampp on this as well.  The install file is a .run file.  So the package is compiled on your system.

Or see if the supplier of the software for the Odroid offers somewhere a webserver (with Apache).  In fact any webserver can be used.

( browsing in Google I came accross Cloudshell, Lamp)

And found this guideline:  http://fluuux.de/2014/03/webserver-auf-dem-odroid-installieren/

Willy

There is no Xampp for ARM processors. Also the .run file is the already compiled file for the x86 processors only. So I cannot install Xampp and I am not going to waste time trying to build it either.

However, your other suggestion is better. Any other webserver that is actually compiled for ARM would work and I will also check out the link you posted.

Is webserver really needed? Can the PHP scrips be run on my Odroid (running Debian Jessie) any other way?

doglover
Offline
Joined: 11 years
Last seen: 2 years

Is webserver really needed? Can the PHP scrips be run on my Odroid (running Debian Jessie) any other way?

It is probably possible.

Never tried it.  On Windows (yes there are websites which need this method on windows too) it was so complicated, and the alternative install a webserver via Xampp was so easy, I did not pursue this any further.

When faced with the problem on linux, I used the method I came accustomed to.  Install Xampp.

When this is not possible (install Xampp), another webserver would be the easiests. 

 

Willy

pajtaz
Offline
Donator
Joined: 7 years
Last seen: 1 year

Thanks. (Yes I know Debian Jessie is Linux, of course - unless that information was for another user).

I found that there is a LAMP addon for LibreELEC, which is the machine I use to watch live TV. This machine was the one originally running WebGrab until this issue with horizon.tv this week. So seems like I might be able to install the LAMP addon then do the fix you suggested with PHP.

If this does not work, I will install some webserver on the Odroid then run the fix. Thank you all for the help.

doglover
Offline
Joined: 11 years
Last seen: 2 years

Lampp is actually the Linux vesion of Xampp

If you cared about looking at the documentation of Xampp, you would have noticed the following:

To start XAMPP simply call this command:

sudo /opt/lampp/lampp start

 

Willy

pajtaz
Offline
Donator
Joined: 7 years
Last seen: 1 year

Gents, I installed Apache web server, MySQL and PHP. I set it up.

I copied the two PHP files into /var/www/html folder. I copied the modified horizon.tv.ini into the WebGrab folder. I checked the horizon.tv.channels.xml file and it was the same as the one I was using before. Therefore it did not seem I had to make any changes to WebGrab++.config.xml.

So I run WebGrab and it fails with this message for every channel:

Unable to update channel CHANNEL

Generic syntax exception:

message:

no index page data received from CHANNEL

unable to update channel, try again later

 

So what am I doing wrong?

pajtaz
Offline
Donator
Joined: 7 years
Last seen: 1 year
pajtaz wrote:

So what am I doing wrong?

Sorry for bothering everyone, I had to install php5-curl for it to work. However now I have a different problem. The download of EPG seems to start for each channel but then it fails with this message:

Exception.Message: Could not load file or assembly or one of its dependencies.

Exception.StackTrace: at WGconsole.Scrub.ScrubShowDetails (System.String show, WGconsole.SiteIni scrubstrings) ..

at WGconsole.Program.UpdateChannel (System.String strIndex, WGconsole.ChanntelToUpdate Chan, ...

Anyway, you get the point. What am I doing wrong now?

doglover
Offline
Joined: 11 years
Last seen: 2 years

I do not know.

But lets try to figure it out:

 

Do you have a webbrowser on your thingy?

In this webbrowser try opening this URL:  http://127.0.0.1/horizon_tv.php?date=20170122&subpage=1&country=NL/nld

What answer do you get?

 

Or try the following:

Copy the attached file (unzip first) to your webserver.

Now try to open in a webbrowser: http://127.0.0.1/hello.php

Do you see Hello World?

If yes, the webserver is OK.  If not, you have to debug your webserver setup.

BTW: does the webserver run.  It is not enough that it is installed.  You have to start it.

Willy

 

 

 

 

Attachments: 
pajtaz
Offline
Donator
Joined: 7 years
Last seen: 1 year
doglover wrote:

Do you have a webbrowser on your thingy?

Yes, it's working, I tested it.

doglover wrote:

In this webbrowser try opening this URL:  http://127.0.0.1/horizon_tv.php?date=20170122&subpage=1&country=NL/nld

What answer do you get?

I get a long text page that starts with:

{"entryCount":334,"totalResults":334,"updated":1485069892000, ...

doglover wrote:

Now try to open in a webbrowser: http://127.0.0.1/hello.php

Do you see Hello World?

Yes.

So webserver is ok. I'll check the other suggestion above.

pajtaz
Offline
Donator
Joined: 7 years
Last seen: 1 year

Oops, seems like this was the issue. I was missing xmltv.dll in the WebGrab folder. Seems to be working now, will check after its done.

Thank you all for all your help. You have truly been helpful. Thank you for taking time out of your day to help me.

ziagl_sbg
Offline
Joined: 7 years
Last seen: 7 years

Hi,

i managed to set it up on my Qnap and last week it worked but now i have the same problem with https://
Do you have an idea what i could do on my Qnap to fix it for horizon?

Thanks a lot!
 

fabatka
Offline
Donator
Joined: 7 years
Last seen: 5 months

Hello!

with Ubuntu 16.04 and php7 work?

fabatka
Offline
Donator
Joined: 7 years
Last seen: 5 months

get this error, what is the problem?

 

(   4/197 ) HORIZON.TV -- chan. (xmltv_id=M2/Petőfi HD) -- mode Incremental
iiiiiiiiiiiiiiiicnccccc
Unable to update channel M2/Petőfi HD
See log file for details
Exception.Message: Object reference not set to an instance of an object
Exception.StackTrace:   at WGconsole.Program.UpdateChannel (System.String strIndex, WGconsole.ChannelToUpdate Chan, WGconsole.XmlTarget xTarget) <0x417be000 + 0x049e7> in <filename unknown>:0
  at WGconsole.Program.ConsoleApplication (System.String[] args) <0x416de000 + 0x04fcb> in <filename unknown>:0
Existing guide data restored!
(   4/197 ) HORIZON.TV -- chan. (xmltv_id=RTL Klub HD) -- mode Incremental
iiiiiiiiiiiiiiii
Unable to update channel RTL Klub HD
See log file for details
Exception.Message: Object reference not set to an instance of an object
Exception.StackTrace:   at WGconsole.Program.UpdateChannel (System.String strIndex, WGconsole.ChannelToUpdate Chan, WGconsole.XmlTarget xTarget) <0x417be000 + 0x049e7> in <filename unknown>:0
  at WGconsole.Program.ConsoleApplication (System.String[] args) <0x416de000 + 0x04fcb> in <filename unknown>:0
Existing guide data restored!

fabatka
Offline
Donator
Joined: 7 years
Last seen: 5 months

after removal guide.xml works

thanks!

baxarn
Offline
Joined: 7 years
Last seen: 5 years

Where can I find modified siteini for tv.nu?

fabatka
Offline
Donator
Joined: 7 years
Last seen: 5 months

hello!

something has changed on the site horizon.tv?

http://joxi.ru/4Ak94nOugQJnmq

fabatka
Offline
Donator
Joined: 7 years
Last seen: 5 months

 

(   4/199 ) HORIZON.TV -- chan. (xmltv_id=M2/Petőfi HD) -- mode Incremental
iiiiiiiiiiiiiiiinn
Unable to update channel M2/Petőfi HD
See log file for details
Exception.Message: Could not load file or assembly 'xmltv, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Exception.StackTrace:   at WGconsole.Scrub.ScrubShowDetails (System.String show, WGconsole.SiteIni scrubstrings) [0x00000] in <filename unknown>:0
  at WGconsole.Program.UpdateChannel (System.String strIndex, WGconsole.ChannelToUpdate Chan, WGconsole.XmlTarget xTarget) [0x00000] in <filename unknown>:0
  at WGconsole.Program.ConsoleApplication (System.String[] args) [0x00000] in <filename unknown>:0
Existing guide data restored!
(   4/199 ) HORIZON.TV -- chan. (xmltv_id=RTL Klub HD) -- mode Incremental
iiiiiiiiiiiiiiiin
Unable to update channel RTL Klub HD
See log file for details
Exception.Message: Could not load file or assembly 'xmltv, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Exception.StackTrace:   at WGconsole.Scrub.ScrubShowDetails (System.String show, WGconsole.SiteIni scrubstrings) [0x00000] in <filename unknown>:0
  at WGconsole.Program.UpdateChannel (System.String strIndex, WGconsole.ChannelToUpdate Chan, WGconsole.XmlTarget xTarget) [0x00000] in <filename unknown>:0
  at WGconsole.Program.ConsoleApplication (System.String[] args) [0x00000] in <filename unknown>:0
Existing guide data restored!

fabatka
Offline
Donator
Joined: 7 years
Last seen: 5 months

thanks!

baxarn
Offline
Joined: 7 years
Last seen: 5 years

Trying to get tv.nu.ini to work.. I have 

url_index{url|http://127.0.0.1/tv_nu.php?|channel||urldate}

index_urlshow.modify {addstart|http://127.0.0.1/tv_nu_details.php?'index_temp_1'}

But it just says 

"update requested for - 90 - out of - 90 - channels for 7 day(s)
(   1/90  ) TV.NU -- chan. (xmltv_id=SVT1) -- mode Smart
iiiiiii
no shows in indexpage!"

 

baxarn
Offline
Joined: 7 years
Last seen: 5 years

Oh, so there is no modified tv.nu.ini released? Just the .php files? 

baxarn
Offline
Joined: 7 years
Last seen: 5 years

There is just .php files in that post

baxarn
Offline
Joined: 7 years
Last seen: 5 years

Oh, thanks!

Orbal
Offline
Joined: 7 years
Last seen: 7 years

Hi! I also have problems with getting data from tv.nu, i downloaded the php files and got them hosted.. still getting the header errors so i suppose i need to edit the .ini file aswell, any help? 

Thanks.

Orbal
Offline
Joined: 7 years
Last seen: 7 years

Thanks! laugh

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl