python wechat_sdk SSLError

When developing WeChat public account with wechat_sdk, the following error occurred:

SSLError: HTTPSConnectionPool(host='api.weixin.qq.com', port=443): Max retries exceeded with url

At first, I thought it was a problem with the wrong code. Finally, I remembered that I updated the requests package once before, and I changed the requests package back to the lower version and there was no problem.

Related Links:

SAE Sina Weibo Python SDK CERTIFICATE_VERIFY_FAILED solution

SSL: certificate_verify_failed using Google Assistant SDK

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325909331&siteId=291194637