Quantcast
Channel: [EN] OpenPLi Third-Party Development
Viewing all articles
Browse latest Browse all 1686

Twisted web failed to download https image

$
0
0

I am using box with python 2.7.13 and openssl 1.0.2k and got these errors when downloading https images using twisted web.

I do not have problem in downloading https by other methods but need twisted web because i want to download images simultaneously in background without stopping code execution. 

 

 

image url example   

https://www.almstba.tv/video/uploads/thumbs/718173fd7-1.jpg
/usr/lib/enigma2/python/e2reactor.py:184:_doReadOrWrite
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:208:doRead
/usr/lib/python2.7/site-packages/twisted/internet/tcp.py:214:_dataReceived
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:415:dataReceived
--- <exception caught here> ---
/usr/lib/python2.7/site-packages/twisted/protocols/tls.py:335:_checkHandshakeStatus
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1426:do_handshake
/usr/lib/python2.7/site-packages/OpenSSL/SSL.py:1174:_raise_ssl_error
/usr/lib/python2.7/site-packages/OpenSSL/_util.py:48:exception_from_error_queue


Viewing all articles
Browse latest Browse all 1686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>