HTTPSConnectionPool(host='api.weixin.qq.com', port=443): Max retries exceeded with url: /cgi-bin/token?appid=wx74a8627810cfa308&grant_ type=client_credential&secret=e40a02f9d79a8097df497e6aaf93ab80 (Caused by ProxyError('Your proxy appears to only use HTTP and not HTTPS, try changing your proxy URL to be HTTP. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#https-proxy-error-http-proxy', SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong versio n number (_ssl.c:1076)'))))
时间: 2024-04-07 16:28:19 浏览: 147
浅谈pytorch中torch.max和F.softmax函数的维度解释
这个错误是由于在使用 HTTPS 连接时,代理服务器只支持 HTTP 连接而不支持 HTTPS 连接引起的。你需要更改你的代理服务器 URL 为 HTTP,以便正确地连接到 API。你可以参考以下链接中的文档了解更多信息:https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#https-proxy-error-http-proxy。
阅读全文