#2612 HTTPSConnectionPool(host='api-edge.cognitive.microsofttranslator.com', port=443): Max retries exceeded with url: /transl

123.149* Posted at: 13 hours ago 👁8

HTTPSConnectionPool(host='api-edge.cognitive.microsofttranslator.com', port=443): Max retries exceeded with url: /translate?from=&to=en&api-version=3.0&includeSentenceLength=true (Caused by ConnectTimeoutError(, 'Connection to api-edge.cognitive.microsofttranslator.com timed out. (connect timeout=300)'))


=
system:Windows-10-10.0.19045-SP0
version:v3.91
frozen:True
language:zh
root_dir:D:/1/zhuanhuan

1 Replies

这个错误表明软件在尝试连接微软翻译API时超时。这通常是由于网络连接问题或代理设置不正确导致的。请按以下步骤排查:

  1. 检查网络连接:确保你的电脑可以正常访问外网。微软翻译API服务器位于海外,国内网络环境可能需要代理。
  2. 配置网络代理

    • 如果你需要使用代理,请在主界面第5行“网络代理”处填写正确的代理地址和端口,格式如 http://127.0.0.1:7860socks5://127.0.0.1:1080
    • 如果你不需要代理,请确保“网络代理”一栏留空,不要填写任何内容。
  3. 尝试其他翻译渠道:作为临时解决方案,你可以切换到其他翻译渠道,例如:

    • Google翻译(同样需要代理或网络通畅)
    • DeepLX(免费、本地部署,无需网络)
    • 百度/腾讯/阿里翻译(国内API,需申请Key但网络稳定)
  4. 检查防火墙/杀毒软件:临时关闭防火墙或杀毒软件,看是否是其阻止了网络连接。

如果以上步骤均无效,可能是微软翻译服务暂时不可用或你的IP被限制,请稍后再试或更换网络环境。

请查看更多参考文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Donate: https://ko-fi.com/jianchang512

Similar issues already exist

Trending Questions