Answer the question
In order to leave comments, you need to log in
Does Yandex.Disk have a non-HTTPS api?
The bottom line is there is some system where HTTP works, but HTTPS does not want to work at all:
Python 2.3 integrated scripting language (python23.dll), the _ssl.pyd library hangs and crashes the system.
From the bare environment works with the same libraries.
For those who are interested, this is what he writes:
source/python/pythonwrapper.cpp(3269) : TRACE_PYTHON_ERR: exception in RunStringEx("urllib.urlopen("https://postman-echo.com/get?foo1=bar1&foo2=bar2").read()")
>>> ###############################################################################
>>> Traceback (most recent call last):
>>> File "<string>", line 1, in ?
>>> File "C:\projects\lang\Python23\Lib\urllib.py", line 76, in urlopen
>>> File "C:\projects\lang\Python23\Lib\urllib.py", line 181, in open
>>> File "C:\projects\lang\Python23\Lib\urllib.py", line 375, in open_https
>>> File "C:\Python23\lib\httplib.py", line 712, in endheaders
>>> self._send_output()
>>> File "C:\Python23\lib\httplib.py", line 597, in _send_output
>>> self.send(msg)
>>> File "C:\Python23\lib\httplib.py", line 564, in send
>>> self.connect()
>>> File "C:\Python23\lib\httplib.py", line 985, in connect
>>> ssl = socket.ssl(sock, self.key_file, self.cert_file)
>>> File "C:\Python23\lib\socket.py", line 73, in ssl
>>> return _realssl(sock, keyfile, certfile)
>>> File "source/python/pythonwrapper.cpp", line 3270, in ?
>>> sslerror: (8, 'EOF occurred in violation of protocol')
>>> ###############################################################################
urllib.urlopen("http://postman-echo.com/get?foo1=bar1&foo2=bar2").read()
https://cloud-api.yandex.net/v1/disk/public/resources?public_key=...
https://downloader.disk.yandex.ru/disk/...
Answer the question
In order to leave comments, you need to log in
Isn't there a normal python? Most likely, "this" simply does not support "new versions" of ssl.
I doubt that Yandex will open such a hole - http
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question