python + post请求报错:requests.exceptions.SSLError: HTTPSConnectionPool(host='www.tapd.cn', port=443): Max retries exceeded with url: /.....

一、问题描述

    执行post请求出现如下报错:requests.exceptions.SSLError: HTTPSConnectionPool(host='www.xxx.cn', port=443): Max retries exceeded with url: /38268919/bugtrace/buglists/query/1/created/desc?query_token=20220706291334df28c613a85aa589f04376d034 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')))

 

二、解决方案

 post请求加参数verify=False

 

posted @ 2022-07-06 11:48  梅梅不想踩坑  阅读(650)  评论(0编辑  收藏  举报