用python脚本自动发送钉钉消息出现服务器异常的报错: HTTPSConnectionPool(host='oapi.dingtalk.com', port=443): Max retries exceeded with url: /robot/send?....
一、问题描述
执行python脚本发送钉钉消息,出现报错:HTTPSConnectionPool(host='oapi.dingtalk.com', port=443): Max retries exceeded with url: /robot/send?access_token=43df999582e899dc6815c9d6346c9d253060259625c92e4f166e25ea58e5bdb5×tamp=1708242748918&sign=4A17yypsy3Ib3gU2CUXONBFSk2HQfi1gnea5cqOLCYs%3D (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1002)'))
二、解决方案
关闭电脑代理问题解决(我是因为打开抓包工具出现的问题,关闭掉抓包工具就可以正常执行了)。