developersharif / bgremover-app

🖼️ Free Offline Image Background Remover for Linux,Windows.
http://bgremover.realbrain.cc/
MIT License
203 stars 14 forks source link

Unable to download model #7

Closed prurigro closed 1 year ago

prurigro commented 1 year ago

Describe the bug

When starting the app or selecting the download model option, a popup appears with the following error:

 An error occurred while downloading the model file: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>

To Reproduce

  1. Download the 2.0 release for Linux
  2. Start the app

Expected behavior

The app starts and the model downloads correctly, or directs the user to where the model is and has them manually download it.

Screenshots

error

Desktop (please complete the following information):

developersharif commented 1 year ago

Update your SSL certificates: You can try updating your SSL certificates to ensure that they are up-to-date and valid. This can typically be done by running the following command in your terminal:

sudo update-ca-certificates --fresh

Set the SSL_CERT_DIR environment variable: You can try setting the SSL_CERT_DIR environment variable to the path where your SSL certificates are located. This can typically be done by running the following command in your terminal:

export SSL_CERT_DIR=/etc/ssl/certs