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

113.84* Posted at: 12 hours ago 👁16

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


=
Windows-10-10.0.22631-SP0
version:v3.80
frozen:True
language:zh

1 Replies

这个错误表明软件在连接微软翻译API (api-edge.cognitive.microsofttranslator.com) 时超时。这通常是由于网络连接问题或代理设置不正确导致的。

请按以下步骤排查和解决:

  1. 检查网络连接:首先确认您的电脑可以正常访问互联网,并且没有被防火墙或安全软件阻止 pyVideoTrans 的网络访问。
  2. 配置网络代理(关键步骤)

    • 如果您在中国大陆,使用微软翻译服务通常需要配置代理。
    • 在软件主界面 第5行 找到 网络代理 输入框。
    • 填入您的代理地址和端口,格式为:http://127.0.0.1:7890socks5://127.0.0.1:7890(请根据您实际使用的代理协议和端口修改)。
    • 如果不知道代理地址,请咨询您的网络管理员或查看您使用的代理软件(如Clash、V2RayN等)的设置。
  3. 更换翻译渠道

    • 如果配置代理后问题依旧,或者您没有代理,建议暂时更换为其他翻译渠道
    • 第3行翻译渠道 下拉菜单中,选择其他可用的选项,例如:

      • Google(同样可能需要代理)
      • DeepLX(免费、无需Key,但需在设置中填写服务器地址)
      • 百度/腾讯/阿里(需申请Key)
      • 或任何您已配置好API Key的AI翻译渠道(如DeepSeek、Gemini等)。
  4. 验证微软服务状态

    • 访问 https://status.azure.com/ 查看 Azure 翻译服务是否出现区域性中断。

如果以上步骤均无法解决问题,请提供更完整的日志文件(位于软件目录下的 logs 文件夹内),以便进行更深入的分析。

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