touchbar-lyric
touchbar-lyric copied to clipboard
SSLError CERTIFICATE_VERIFY_FAILED
I got the following error when running /usr/local/bin/python3 -m touchbar_lyric --app Spotify
requests.exceptions.SSLError: HTTPSConnectionPool(host='c.y.qq.com', port=443): Max retries exceeded with url: /soso/fcgi-bin/client_search_cp?new_json=1&aggr=1&cr=1&flag_qc=0&p=1&n=20&w=Karma (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1091)')))
any idea how to fix this? Thanks!
This seems like a system issue. I was able to find these relevant results:
- https://stackoverflow.com/questions/42098126/mac-osx-python-ssl-sslerror-ssl-certificate-verify-failed-certificate-verify
- https://github.com/python-poetry/poetry/issues/449#issuecomment-423731811
Let me know if it helps.
no luck trying the mentioned fixes. I'm feeling it might have to do with my network firewall (I'm using under the corporate network). Thanks a lot for prompt reply!