getting error
#1
couldsome one explain this\
Code:
T:11280   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IOError'>
                                            Error Contents: [Errno socket error] [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
                                            Traceback (most recent call last):
                                              File "C:\Users\Pipcan\AppData\Roaming\Kodi\addons\plugin.video.megasearch\default.py", line 210, in <module>
                                                MEDIAITEMS(url)
                                              File "C:\Users\Pipcan\AppData\Roaming\Kodi\addons\plugin.video.megasearch\default.py", line 53, in MEDIAITEMS
                                                f = opener.open("https://megasearch.unblocked.pw/?q=&h=0&c=0&s=1&a=&m1=&m2=")
                                              File "C:\Program Files\Kodi2\system\python\Lib\urllib.py", line 208, in open
                                                return getattr(self, name)(url)
                                              File "C:\Program Files\Kodi2\system\python\Lib\urllib.py", line 437, in open_https
                                                h.endheaders(data)
                                              File "C:\Program Files\Kodi2\system\python\Lib\httplib.py", line 991, in endheaders
                                                self._send_output(message_body)
                                              File "C:\Program Files\Kodi2\system\python\Lib\httplib.py", line 844, in _send_output
                                                self.send(msg)
                                              File "C:\Program Files\Kodi2\system\python\Lib\httplib.py", line 806, in send
                                                self.connect()
                                              File "C:\Program Files\Kodi2\system\python\Lib\httplib.py", line 1198, in connect
                                                self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
                                              File "C:\Program Files\Kodi2\system\python\Lib\ssl.py", line 392, in wrap_socket
                                                ciphers=ciphers)
                                              File "C:\Program Files\Kodi2\system\python\Lib\ssl.py", line 148, in __init__
                                                self.do_handshake()
                                              File "C:\Program Files\Kodi2\system\python\Lib\ssl.py", line 310, in do_handshake
                                                self._sslobj.do_handshake()
                                            IOError: [Errno socket error] [Errno 1] _ssl.c:510: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error
Reply
#2
http://freespace.sourceforge.net/errno/linux.html

What does google tell you?
Reply
#3
try to use python 2.7.9+
Reply
#4
no luck i was trying to open https://megasearch.unblocked.pw/?h=0&c=0...&m1=&m2=&q=
Reply
#5
You are getting a ECDH handshake error when trying to set up a TLS connection.

you would probably also see that when connecting with openssl, and can bypass it with openssl by doing
Code:
openssl s_client -connect <address> -cipher 'DEFAULT:!ECDH'
which disables trying to use ECDH and the connection would fall back to the next (little bit less secure) connection the server supports.

I can't help you in how to pass that setting to openssl from within python, I'm really not knowledgeable about python.

just as a refresher: we do not support or condone discussions of add-ons that violate our piracy policy (wiki), so whatever you are building can't be discussed on this forum.
Reply

Logout Mark Read Team Forum Stats Members Help
getting error0