Hello forums,
I am unable to grab EPG from TV program site, since it moved from http to https. Webgrab+ throws error:
Error downloading page: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
Site is https://www.tv24.lt
I use mono tu run Webgrab+.
Mono version:
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-10)
Is there any chance to solve this problem? Thank you.
http://www.webgrabplus.com/content/https-and-mono
It's a known problem. We can only hope that Mono will be updated soon. (Man taip pat nuo šios savaitės nepavyksta atnaujinti https://www.tv24.lt EPG su Raspberry Pi 2, kuriame instaliuota naujausia Ubuntu Mate 16.04 ir Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)).
Installed apache and php:
sudo apt-get install apache2 -y
sudo apt-get install php libapache2-mod-php php-curl php5-gd -y
I can access default Apache html file and I have tested php with an info.php (<?php phpinfo(); ?>) in the /var/www/html. At first I was getting 500 Internal server error, but after Raspberry Pi reboot Webgrab stops with this error:
file /home/pi2/wg++/guide.xml not found, creating a new one ..
update requested for - 97 - out of - 97 - channels for 8 day(s)
update mode - full - for all channels
i=index .=same c=change g=gab r=replace n=new
channel (xmltv_id=LRT Televizija) site -- TV24.LT -- mode full
iiiiiiiitime parsing error : String was not recognized as a valid DateTime.
stoptime time scrubbed : 1463866500
computer date/time format: 5/22/2016 7:17:44 PM
Log.
Copied a line with an "url_index" from your newest tv24.lt_.ini to an initial tv24.lt.ini and removed original url_index{url|http://www.tv24.lt/programme/listing/none/|urldate|?filter=channel&subslug=|channel}. Finally it works with https! I will test latest webgrab beta later. Thank you very much Blackbear199.
Thanks! Works also for kava.ee. Just replace tv24.lt with kava.ee.
This should now work out of the box (so no php needed)
see http://www.webgrabplus.com/content/why-https-fails-mono
How is the procedure if using other ini files? Like for example tv.zam.it?
I have a few websites which are giving me this error, so I would like to correct the problem using your php method, as I have nginx server running with php on my Freenas (Freebsd)
Like I said I am running mono on a Freenas server (Freebsd) but it is recommended by the Mono project to stick with the versions included with freebsd ports, as they may include specific patches and stuff specifically for the freenas system.
So I tried to modify slightly the ini file and the php script just to see if I could make it work, but I get syntax errors that no index can be found.
Included is my two files.
Thank you in advance.
Hi,
The reason why it wasn't working was due to some channels from tv.zam.it were giving me the following error: "The authentication or decryption has failed".
Then searching through the forums I stumbled across this post, but as you correctly pointed out this website doesn't use HTTPS, which also confused me.
Anyways I am happy to know that there was a updated ini file, even though when I installed Webgrab v2 it downloaded automatically a updated site.ini pack...
Thank you for the quick answer!
By the way, where is the best place to stay up to date with the ini files? I found the github page for the site.ini pack, but I noticed that those files are not up to date. This updated tv.zam file for example still has the old version in github and also if you download the updated pack using the program.
Would be nice if all updates goes to github instead of having to search through the forums for it.
Thank you again for the great work much appreciated.
I have came across 2 websites which are working OK in my windows 10 laptop, but are giving error on my Ubuntu 14.04 server using mono. So the only thing I can think of, was checking and installing latest mono and enable BTLS to have TLS1.2 encryption handled by it. It seemed OK but WebGrab still gave errors for those 2 websites (tv.nu and m.tvprofil.net). The first one gives "index was outside the bounds of the array" and I don't remember the error for m.tvprofil.net.
So I decided to change my approach with a PHP script as BlackBear has wrote. I installed apache2, php and wrote a similar tv_nu.php as the tv24_lt.php, and changed my ini accordingly, but WebGrab still gives the same error: "index was outside the bounds of the array"
I have attached my ini and php both in the attachments.
On "legacy" I got secure connection error on webgrab run, with both ini s (mine and yours), but with "btls" your ini worked for me! Thanks for the file.