jac0b-w / AlbumPaper

An app for Windows that will change your desktop wallpaper to the album art of the song you are listening to.
GNU General Public License v3.0
164 stars 8 forks source link

Issue with SSL Cert #40

Open Zeppyartaxes opened 11 months ago

Zeppyartaxes commented 11 months ago

App runs for a song or two and then will fail to find a new image and crash.

2023-11-07 15:40:38,704 Worker Error Traceback (most recent call last): File "urllib3\connectionpool.py", line 703, in urlopen File "urllib3\connectionpool.py", line 386, in _make_request File "urllib3\connectionpool.py", line 1042, in _validateconn File "urllib3\connection.py", line 419, in connect File "urllib3\util\ssl.py", line 449, in ssl_wrapsocket File "urllib3\util\ssl.py", line 493, in _ssl_wrap_socket_impl File "ssl.py", line 500, in wrap_socket File "ssl.py", line 1040, in _create File "ssl.py", line 1309, in do_handshake ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "requests\adapters.py", line 489, in send File "urllib3\connectionpool.py", line 787, in urlopen File "urllib3\util\retry.py", line 592, in increment urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='i.scdn.co', port=443): Max retries exceeded with url: /image/ab67616d0000b27352f194d02c39909d1b284799 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "albumpaper.py", line 202, in run File "albumpaper.py", line 138, in get_current_art File "misc.py", line 8, in wrapper File "albumpaper.py", line 106, in get_image File "misc.py", line 8, in wrapper File "misc.py", line 19, in download_image File "requests\api.py", line 73, in get File "requests\api.py", line 59, in request File "requests\sessions.py", line 587, in request File "requests\sessions.py", line 701, in send File "requests\adapters.py", line 563, in send requests.exceptions.SSLError: HTTPSConnectionPool(host='i.scdn.co', port=443): Max retries exceeded with url: /image/ab67616d0000b27352f194d02c39909d1b284799 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))