PDA

View Full Version : XMLTV EPG Import error



Donut
01-04-22, 05:15
Greetings,
I am after some help with a xmltv download error 'sslv3 alert handshake failure'.
Some NZ Freeview channels recently changed and my current download site has not yet updated their files.
So I went to get my EPG data from a couple of alternative sites. But I get an error and the download stops.
The log file is listed below. The first site completes, the next two sites fail.
Is there anything that I can do on my side to fix these errors?
Is this a site certificate issue?

I have managed to manually download each xml source file.
There is a message, for the two fail sites, that says there appears to not have any style information associated with the mxl file.
But the file does come down ok. And the contents then display correctly.
Would the missing style info have any effect on the download?

I have a VU+ Duo2 machine with 3 x DVB-T tuners. Running OpenVix 5.3.013
Would updating to a new release (6.0.008) help by updating any python scripts?


[XMLTVImport] Selected sources: ['nzxmltv.com source', 'epg.org source', 'mjh.nz -Matt Huisman source']
sourcesDone(): True ['nzxmltv.com source', 'epg.org source', 'mjh.nz -Matt Huisman source']
[EPGImport] nextImport, source= epg.org source
[EPGImport] Downloading: http://epg.org.nz/freeview.xml.gz to local path: /tmp/epgimport.gz
[EPGImport] Trying IPv6 first: http://[2606:4700:3033::6815:3741]/freeview.xml.gz
[EPGImport] IPv6 download failed, falling back to IPv4: http://epg.org.nz/freeview.xml.gz
[EPGImport] afterDownload /tmp/epgimport.gz
[EPGImport] unlink /tmp/epgimport.gz
[EPGImport] afterChannelDownload None
[EPGImport] Using twisted thread
[XMLTVConverter] Enumerating event information
[EPGImport] ### thread is ready ### Events: 3419
[EPGImport] nextImport, source= mjh.nz -Matt Huisman source
[EPGImport] Downloading: http://i.mjh.nz/nz/epg.xml.gz to local path: /tmp/epgimport.gz
[EPGImport] Trying IPv6 first: http://[2606:4700:3038::6815:eaf5]/nz/epg.xml.gz
[EPGImport] IPv6 download failed, falling back to IPv4: http://i.mjh.nz/nz/epg.xml.gz
[EPGImport] download failed: [Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('SSL routines', 'SSL23_GET_SERVER_HELLO', 'sslv3 alert handshake failure')]
/usr/lib/enigma2/python/e2reactor.py:184:_doReadOrWrite
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:205:doRead
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:211:_dataReceived
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:315:dataReceived
--- <exception caught here> ---
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:235:_checkHandshakeStatus
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1907:do_handshake
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1639:_raise_ssl_error
/usr/lib/python2.7/site-packages/OpenSSL/_util.py:54:exception_from_error_queue
]
[EPGImport] nextImport, source= nzxmltv.com source
[EPGImport] Downloading: http://nzxmltv.github.io/xmltv/guide.xml to local path: /tmp/epgimport.xml
[EPGImport] Trying IPv6 first: http://[2606:50c0:8001::153]/xmltv/guide.xml
[EPGImport] IPv6 download failed, falling back to IPv4: http://nzxmltv.github.io/xmltv/guide.xml
[EPGImport] download failed: [Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('SSL routines', 'SSL23_GET_SERVER_HELLO', 'sslv3 alert handshake failure')]
/usr/lib/enigma2/python/e2reactor.py:184:_doReadOrWrite
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:205:doRead
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:211:_dataReceived
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:315:dataReceived
--- <exception caught here> ---
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:235:_checkHandshakeStatus
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1907:do_handshake
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1639:_raise_ssl_error
/usr/lib/python2.7/site-packages/OpenSSL/_util.py:54:exception_from_error_queue
]
[EPGImport] imported 3419 events
[XMLTVImport] Save last import date and count event
[XMLTVImport] Run check deep standby after import
[EPGImport] #### Finished ####

twol
01-04-22, 07:36
thought I would try this, but this is probably me being dumb, but I cannot find the scripts for NZ in either epgimport or Crossepg ....... but I am running on python3 , although surprised if thats the issue.....

dsayers
01-04-22, 07:53
Are you using an old version of epg importer? They look like https issues that was fixed a while ago.

What image are you using?

Donut
01-04-22, 12:41
Are you using an old version of epg importer? They look like https issues that was fixed a while ago.

What image are you using?

I am using
Image 5.3.013
Drivers 2019-04-29
Python 2.7.15

So you think an image upgrade will fix this issue?
Should I go for a small step up to ver 5.4 or up to the new version 6.0 ?

dsayers
01-04-22, 13:06
Yes image update should fix the issue.


Depending on what plugins you use openvix 6.1 should be fine. Old no longer maintained plugins may no longer work due to python 3 compatibility.