Closed JingyiJia closed 6 months ago
Hi Jingyi,
I'm so sorry you're having this problem. Perhaps you can try to upgrade requests
, or refer to the following gpt4 generated solutions, if you have other problems also welcome to contact us!
gpt4 solutions for your reference:
The SSLError usually occurs due to a failed verification of the SSL certificate of the server you're connecting to. Here are a few ways to handle this:
verify
parameter to False
. However, this is not recommended for production code as it makes your request vulnerable to man-in-the-middle attacks. response = requests.get(url, stream=True, verify=False)
response = requests.get(url, stream=True, verify='/path/to/certfile')
requests
library, updating it might solve the problem. You can update it using pip: pip install --upgrade requests
/Applications/Python\ 3.x/Install\ Certificates.command
Replace 3.x
with your Python version.
Please use these suggestions with caution and ensure you understand the security implications before bypassing SSL verification.
Hi ,
I've encountered an SSL certificate verification error while trying to use the BatteryML tool to download the CALCE dataset. It appears the certificate for the CALCE website has expired. Has anyone else faced this issue, and could there be a recommended approach to safely download the dataset?
Thanks for your help!