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

14.119* Posted at: 2 hours ago 👁6

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.26100-SP0
version:v3.89
frozen:True
language:zh
root_dir:D:/videotrans

1 Replies

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

请按以下步骤排查:

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

    • 如果您在中国大陆,使用微软、Google、OpenAI等服务必须配置代理。
    • 在软件主界面第5行找到“网络代理”输入框。
    • 填入您的代理地址,格式为 http://127.0.0.1:端口号socks5://127.0.0.1:端口号(请替换为您的实际代理端口,如 7890)。
    • 点击“保存配置”按钮。
  3. 更换翻译渠道

    • 如果代理配置后问题依旧,可能是微软翻译服务暂时不稳定或您的网络到其服务器链路不佳。
    • 建议暂时切换到其他翻译渠道,例如 Google翻译(同样需要代理)或 DeepLX(免费本地部署)。
  4. 检查微软翻译Key

    • 确保在“翻译设置”中填入的微软翻译API密钥是有效且未过期的。

完成上述步骤后,重新尝试翻译任务。

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