Closed jmschabdach closed 7 months ago
Since you are not downloading to a personal s3 bucket, you do not need to setup any special s3 configuration.
Users report this error when they are running the download within a network that is configured to reject self-signed certs by default. From the stack trace, it looks like your institutions network config is rejecting a request to amazon's s3 server.
The post you linked to would require a code change, so you could do that if you are comfortable enough with Python. Alternatively you could request that your organization's IT team help you fix the issue for you. They might be able to fix this for you by adding the offending cert-chain to the certifi module. Instructions are posted in one of the answers here - https://superuser.com/questions/1426277/ssl-sslcertverificationerror-ssl-certificate-verify-failed-certificate-verif
You could also run the download from a different computer, specifically one that is outside your institutions network. If you run the command on your home computer, it should work.
Closing - no code changes in nda-tools will be made since this stems from the network configuration in which nda-tools is running.
Running NDATools Version 0.2.25 with Python version 3.9 and numpy version 1.22.14 on Mac OS Ventura 13.5.2. I've set up my keyring username and password for nda-tools. When I try to run a basic command to download a packaged dataset to my local computer, I get garbled strings starting with
and ending with the following error messages
My interpretation is that a problem with SSL certificate validation is preventing the
package_file_metadata.txt.gz
file from being downloaded, which causes the final error.Since I'm trying to download to my local machine, do I need to set up any of the s3 configuration? Is there another way to resolve the SSL certificate error aside from setting
verify=False
as suggested in this post? Has anyone else run into this error?