current position:Home>Error reported by Python + requests + pytest: httpsconnectionpool (x): Max retries (caused by sslerror)

Error reported by Python + requests + pytest: httpsconnectionpool (x): Max retries (caused by sslerror)

2022-02-02 15:05:07 adorable_

In the use of pytest Error when running interface automation script :

post Request error :HTTPSConnectionPool(host=‘family.quickcan.cn’, port=443 ): Max retries exceeded with url: /login?server_name=kk_family&sso_token=OPIsPes3wC7cHxoe34abfJm2 xIx6KE2WFe96V7hw&resource_url=https://family.quickcan.cn (Caused by SSLError(SSLError(1, ‘[SSL: C ERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777)’),))
 Insert picture description here

Appear this kind of SSL Error Description: there is a problem with the certificate , The solution is to close Charles Wait for bag grabbing tools

copyright notice
author[adorable_],Please bring the original link to reprint, thank you.
https://en.pythonmana.com/2022/02/202202021505046386.html

Random recommended