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
 
 
                    
                     
                    
                 
                    
                
 
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号