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

183.187* Posted at: 22 hours ago 👁16

HTTPSConnectionPool(host='api-edge.cognitive.microsofttranslator.com', port=443): Max retries exceeded with url: /translate?from=&to=id&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.90
frozen:True
language:zh
root_dir:D:/ps

1 Replies

这个错误表明软件无法连接到微软翻译API服务器 api-edge.cognitive.microsofttranslator.com,导致连接超时。这通常是由于网络连接问题或代理设置不正确引起的。

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

  1. 检查网络连接:确保您的电脑可以正常访问互联网。尝试在浏览器中打开 https://api-edge.cognitive.microsofttranslator.com,看是否能正常访问(可能会返回错误页面,但至少应能连接)。
  2. 配置网络代理(如果您在中国大陆或使用代理上网):

    • 在软件主界面 第5行 找到 网络代理 输入框。
    • 填入您的代理地址和端口,格式为 http://127.0.0.1:端口号socks5://127.0.0.1:端口号
    • 如果您没有代理,此问题可能无法解决,建议更换翻译渠道
  3. 更换翻译渠道(推荐):

    • 微软翻译在国内网络环境下连接不稳定。
    • 返回主界面 第3行翻译渠道,选择其他可用的渠道,例如:

      • Google翻译(同样需要代理,但可能更稳定)。
      • DeepLX(免费、无需API Key、连接稳定)。
      • 如果您有相关API Key,可以使用 百度翻译腾讯翻译阿里翻译
      • 或者使用 AI大模型翻译,如 DeepSeekGemini 等(需配置API Key)。
  4. 检查防火墙/杀毒软件:暂时禁用防火墙或杀毒软件,看是否是其阻止了软件的网络连接。

如果以上步骤均无效,且您必须使用微软翻译,请检查您的网络环境或联系网络管理员。

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