I am getting the following error while trying to connect to the automation node using the python api client
requests.exceptions.SSLError: HTTPSConnectionPool(host='dataiku-auto.fg.rbc.com', port=443): Max retries exceeded with url: /dip/publicapi/projects/card_engagement_class/scenarios/scheduled_partition/run (Ca\
used by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),))
How can I fix this, can I tell the api client not to perform and ssl check?
I submitted your issue to other members of the team and here is the proper answer:
- to use the dataikuapi package outside of DSS you need to add the root authority that signed the DSS SSL certificate to your local trust store.
- you can also disable checking the SSL certificate by setting
client._session.verify = False