SSL error prevents downloading files in certain cases
From a colleague:
I got the same SSL error with the code you suggested as the gplate.download.DataServer. I did not get the error on Friday when I was working from home. So, it must be a firewall issue and I’ll reach out to our IT folks here.
Maybe this is because WebDAV doesn’t use SSL and is blocked by some IT systems? This should go away when we migrate plate models to Zenodo, but will probably persist for the age and spreading rate grids on NCI.
have you tried pip install certifi and sudo "Install Certificates.command"?
Can you try openssl s_client -connect earthbyte.org:443 -servername earthbyte.org?
And also run these python code
from requests.utils import DEFAULT_CA_BUNDLE_PATH
print(DEFAULT_CA_BUNDLE_PATH)
Thanks
There possible causes I can think of
- CA certificates not available on client
- Server sent incomplete SSL certificate chain
- Proxy/firewall messed up with certain servers(due to their configuration)
Possible solution: set verify=false in requests.get()
waiting for customer's response
No response from the client for a few months. Nothing can be done for now. Put this issue on ice until we get the client's response.