Skip to content
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

SSL error prevents downloading files in certain cases #144

Open
brmather opened this issue Nov 15, 2023 · 6 comments
Open

SSL error prevents downloading files in certain cases #144

brmather opened this issue Nov 15, 2023 · 6 comments
Labels
bug Something isn't working on ice put the issue on ice for now pending

Comments

@brmather
Copy link
Collaborator

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 brmather added the bug Something isn't working label Nov 15, 2023
@brmather
Copy link
Collaborator Author

image001

@michaelchin
Copy link
Contributor

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

@michaelchin
Copy link
Contributor

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
Copy link
Contributor

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()

@michaelchin
Copy link
Contributor

waiting for customer's response

@michaelchin
Copy link
Contributor

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.

@michaelchin michaelchin added the on ice put the issue on ice for now label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working on ice put the issue on ice for now pending
Projects
None yet
Development

No branches or pull requests

2 participants