GPlates / gplately

GPlately is a Python package to interrogate tectonic plate reconstructions.
https://gplates.github.io/gplately/
GNU General Public License v2.0
56 stars 13 forks source link

SSL error prevents downloading files in certain cases #144

Open brmather opened 10 months ago

brmather commented 10 months ago

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.

brmather commented 9 months ago

image001

michaelchin commented 9 months ago

have you tried pip install certifi and sudo "Install Certificates.command"?

michaelchin commented 9 months ago

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

michaelchin commented 9 months ago

There possible causes I can think of

Possible solution: set verify=false in requests.get()

michaelchin commented 4 months ago

waiting for customer's response

michaelchin commented 2 months ago

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.