小程序后台调用session_key接口报错

发布于 7 年前作者 yangfan18955 次浏览最后编辑 7 年前来自 ask

HTTPSConnectionPool(host=‘api.weixin.qq.com’, port=443): Max retries exceeded with url: /sns/jscode2session?appid=***&secret=***&js_code=***&grant_type=authorization_code (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”,))

测试环境能正常调用,线上环境就会报错。有解决办法么

0 回复
暂无回复