I was trying to integrate convertapi for converting my ppt to pdf,
Till some point of time it was working fine. Then suddenly i started receiving below SSL error message,
HTTPSConnectionPool(host='v2.convertapi.com', port=443): Max retries exceeded with url: /convert/ppt/to/pdf?Secret=uikSzf1fd7jBfddn (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)'),))
i was using having set code written in python 2.7
`import os
import requests
import base64
import json
I was trying to integrate convertapi for converting my ppt to pdf, Till some point of time it was working fine. Then suddenly i started receiving below SSL error message,
HTTPSConnectionPool(host='v2.convertapi.com', port=443): Max retries exceeded with url: /convert/ppt/to/pdf?Secret=uikSzf1fd7jBfddn (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:726)'),))
i was using having set code written in python 2.7 `import os import requests import base64 import json
input_filename = "C:/Users/xyz/Desktop/Test_PPT2.ppt" url = "https://v2.convertapi.com/convert/ppt/to/pdf?Secret=my_secrete_key"
try: response = requests.post(url, files={'file':open(input_filename, "rb")}) print "response = ", response.status_code except Exception as e: print "Broken here", e`