Skip to main content
Seasoned ⭐️⭐️⭐️
Oct 14, 2022 6:28 AM UTC
Solved

Facing SSL while using CDF SDK.

I am trying to read timeseries data from CDF on my local but facing SSL Error also showing cognite.client.exceptions.CogniteConnectionError.

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997) 

 

Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Oct 14, 2022 12:36 PM UTC

@Dhande Rushikesh 

The error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed usually originates as a result of not having up-to date certificates or as a result of some internal firewall interceptions and not as a result of Cognite's SDK/API. 
 
I would suggest initially checking if there are any internal certificates that are blocking external requests and possibly try updating your python certifi package which could also help resolve the issue.

If that doesn’t work can you try using a diffrent network and check? 

5 replies

Anita Hæhre
Expert ⭐️⭐️⭐️⭐️
Head of Community
Oct 14, 2022 12:33 PM UTC

@Mithila Jayalath would you be able to look at this? 

Anita Hæhre
Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
Oct 14, 2022 12:36 PM UTC

@Dhande Rushikesh 

The error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed usually originates as a result of not having up-to date certificates or as a result of some internal firewall interceptions and not as a result of Cognite's SDK/API. 
 
I would suggest initially checking if there are any internal certificates that are blocking external requests and possibly try updating your python certifi package which could also help resolve the issue.

If that doesn’t work can you try using a diffrent network and check? 

Seasoned ⭐️⭐️⭐️
Oct 17, 2022 4:40 AM UTC

Hi @Mithila Jayalath External 

I have already update certifi package and also try with different network but same issue persist.

Expert ⭐️⭐️⭐️⭐️
Oct 18, 2022 12:26 PM UTC

Hi Rushikesh,

As you are aware we are further troubleshooting the issue in the support ticket you created for this. We’ll keep you updated via that and close this thread. 

Best,

Carin

Active ⭐️⭐️⭐️
Dec 6, 2023 5:35 PM UTC

Hi
I am facing same issue today. Does anybody already have solution?