chatgpt-on-wechat
chatgpt-on-wechat copied to clipboard
运行报错,raise SSLError(e, request=request) You can't get access to internet or wechat domain, so exit.
前置确认
- 运行于国内网络环境,未开代理
- 在已有 issue 中未搜索到类似问题
- FAQS 中无类似问题
问题描述
简要说明、截图、复现步骤等,也可以是需求或想法
终端日志 (如有报错)
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='login.weixin.qq.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: EE certificate key too weak (_ssl.c:992)')))
You can't get access to internet or wechat domain, so exit.
环境
- 操作系统类型 (Mac/Windows/Linux):
- Python版本 ( 执行
python3 -V): - pip版本 ( 依赖问题此项必填,执行
pip3 -V):
是不是开代理了,要关掉
ubuntu 没有开代理,服务器在青岛,无法连接
@zhayujie
@hechengzhang 可以ping通微信后台吗 ping wx.qq.com
@zhayujie 同问,微信能ping通,用的clash,也遇到这个问题了,我在网上没找到合适的解法,求大神指点一下。 raise SSLError(e, request=request) requests.exceptions.SSLError: HTTPSConnectionPool(host='login.weixin.qq.com', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLEOFError(8, 'EOF occurred in violation of protocol (_ssl.c:1131)'))) You can't get access to internet or wechat domain, so exit.

我是本地使用V2RAYN开了代理,也是报这个错。 WX可以ping通,试着改配置都没成功。
已经解决了,https://github.com/zhayujie/chatgpt-on-wechat/issues/351#issuecomment-1454780827参考这个
@bksheng 使用规则模式