Poly-Haven / Public-API

The public API used by polyhaven.com itself, as well as any third party applications.
GNU Affero General Public License v3.0
49 stars 7 forks source link

Certificate expired #2

Open ddesmond opened 2 years ago

ddesmond commented 2 years ago

Seems you guys need to check your certificate. If you use letsencrypt you need to get fresh ones. requests.exceptions.SSLError: HTTPSConnectionPool(host='dl.polyhaven.org', port=443): Max retries exceeded with url: /file/ph-assets/HDRIs/exr/1k/skukuza_golf_1k.exr (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED]

gregzaal commented 2 years ago

Works fine for me :) This cert is not managed by us, dl.polyhaven.org is a cname alias to Backblaze's B2 servers. If there is an actual cert issue I'm sure they'd resolve it quickly, as we're not the only client on their domain.

ddesmond commented 2 years ago

Im not sure then why would requests throw such an error (need to force verify=False to make it work): SSLError(MaxRetryError("HTTPSConnectionPool(host='dl.polyhaven.org', port=443): Max retries exceeded with url: /file/ph-assets/HDRIs/exr/1k/anniversary_lounge_1k.exr (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)