cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3107
Views
1
Helpful
1
Replies

Getting Conda error Encountered an SSL error. Most likely a certificat

teegee60510
Level 1
Level 1

Trying to install RADKit but cannot get past this error: CondaSSLError: Encountered an SSL error. Most likely a certificate verification issue. I searched for solutions, the only one being 

conda config --set ssl_verify false 

but it still fails. More complete error message: Exception: HTTPSConnectionPool(host='repo.anaconda.com', port=443): Max retries exceeded with url: /pkgs/main/linux-64/current_repodata.json (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)')))

As far as I know I have full access to the Internet. 

Thanks in advance.

1 Reply 1

Tariq Habibullah
Cisco Employee
Cisco Employee

As per printed error log, the HTTPS connection to host='repo.anaconda.com', port=443 is getting torn down from the far end. This can be due to the incompatibility of SSL/TLS version between the server and the listed host, or the server connection is getting blocked due to firewall or proxy. Since you already tried the flag of  "ssl_verify false", we can say that it is not the certificate validation issue, but rather a connectivity issue of some sort. Try to open https://repo.anaconda.com' from the web browser or issue "curl -v https://repo.anaconda.com" from the server terminal to see if -v option provides any clues.