-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with cert verification #3275
Comments
@guerinclement , a work around would be to disable analytics: https://dvc.org/doc/user-guide/analytics#opting-out |
@guerinclement Btw, could you please post |
@efiop here you go:
|
@guerinclement , can you try doing a Could you try with one of the followings? $ wget https://remote.dvc.org/dataset-registry/a3/04afb96060aad90176268345e10355
$ curl -L https://remote.dvc.org/dataset-registry/a3/04afb96060aad90176268345e10355 > file.xml |
Also, @guerinclement , could you explain a bit more what do you usually do to solve this problem? (where do you put the |
@MrOutis both wget and curl commands works fine. In the current case, I created a new conda env, named dvc, and this file is located here: |
@guerinclement , I would take a look, thanks for the info! Just checking, what version of What is the output of running Also, by any means, do you have a Could you try with executing the $ CURL_CA_BUNDLE=/home/78176d/.conda/envs/dvc/lib/python3.6/site-packages/certifi/cacert.pem curl -L https://remote.dvc.org/dataset-registry/a3/04afb96060aad90176268345e10355 > file.xml |
@MrOutis Here is the installed version of certifi: No env variable named REQUESTS_CA_BUNDLE is set. |
@MrOutis /home/78176d/.conda/envs/dvc/lib/python3.6/site-packages/urllib3/util/ssl_.py gives: /home/78176d/.conda/envs/dvc/lib/python3.6/site-packages/certifi/cacert.pem which does contain my company ROOT_CA. |
@guerinclement , thanks for the info! I'm quite lost right here, I thought that there was a missing cert on your Mine: Yours: So I tried to look up the context where the error was raised: https://github.com/python/cpython/blob/3.6/Modules/_ssl.c#L3716-L3737 And it looks like
I thought that there was a problem with verifying At this point, I don't know how to proceed 😥 @guerinclement , could you try using the system certificates
(cc: @efiop , any suggestions? 😞) |
@guerinclement , didn't ask before, but did you try the Looks like |
Closing as stale. Please feel free to reopen. |
Just tried out the Get Started DVC Tutorial and got stuck quite quickly...
I ran the following command:
$ dvc get https://github.com/iterative/dataset-registry get-started/data.xml -o data/data.xml
and got this error:
ERROR: failed to get 'get-started/data.xml' from 'https://github.com/iterative/dataset-registry' - could not perform a HEAD request
ERROR: unexpected error - HTTPSConnectionPool(host='analytics.dvc.org', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLError(185090057, '[X509] PEM lib (_ssl.c:3732)'),))
I am behind my company proxy that rewrites SSL certificates on the fly.
I installed DVC through pip in a conda env.
I added my company ROOT_CA in any certifi/pem files that I could find in my virtualenv as it usually solves this kind of issue with requests powered Internet interactions.
It did not fix anything here though...
The command below works fine:
$ git clone https://github.com/iterative/dataset-registry
Here is the output of dvc version:
DVC version: 0.82.5
Python version: 3.6.10
Platform: Linux-3.10.0-957.5.1.el7.x86_64-x86_64-with-centos-7.6.1810-Core
Binary: False
Package: pip
Any help would be much appreciated!
Thanks!
The text was updated successfully, but these errors were encountered: