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

183.187* Posted at: 1 day ago 👁21

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:/软件/配音

1 Replies

这个错误表明软件在连接微软翻译API (api-edge.cognitive.microsofttranslator.com) 时超时。这通常是网络连接问题,尤其是当您位于中国大陆地区时。微软翻译服务在该地区访问不稳定或受限。

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

  1. 启用网络代理(最可能的原因)

    • 在软件主界面第5行,找到“网络代理”输入框。
    • 填入您可用的代理地址,格式如:http://127.0.0.1:7890socks5://127.0.0.1:7890
    • 确保代理服务已开启并能正常访问国际网络。
  2. 更换翻译渠道(推荐方案)

    • 微软翻译API在国内访问困难。建议改用其他更稳定的免费渠道。
    • 在主界面第3行“翻译渠道”中,尝试选择:

      • Google翻译:同样需要代理,但可能比微软更稳定。
      • DeepLX:一个开源的DeepL代理,速度较快,无需API密钥。
      • 百度/腾讯/阿里翻译:如果您有相应的API密钥,这些渠道在国内访问速度最佳。
  3. 检查防火墙/安全软件

    • 暂时禁用Windows防火墙或第三方安全软件(如360、腾讯电脑管家),测试是否被拦截。
  4. 如果问题持续

    • 请提供完整的日志文件以便进一步分析。日志位于您的软件根目录下的 logs 文件夹中(例如 D:/软件/配音/logs/),请发送最新的日志文件内容。

注意:根据您的软件路径 D:/软件/配音,其中包含中文字符“软件”。虽然预打包版对此有一定容忍度,但为彻底避免潜在问题,强烈建议将整个软件文件夹移动到纯英文路径下,例如 D:/videotrans,然后重新尝试。

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