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

122.238* Posted at: 3 hours ago 👁6

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 NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))


=
system:Windows-10-10.0.19045-SP0
version:v3.84
frozen:True
language:zh
root_dir:E:/Pyvideotrans

1 Replies

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

请按以下步骤排查:

  1. 检查网络代理设置

    • 如果您在中国大陆,使用微软、Google、OpenAI等国外服务通常需要配置网络代理。
    • 在软件主界面的“翻译渠道”区域,找到并填写您的网络代理地址(例如:http://127.0.0.1:10808)。
    • 填写后,再次尝试翻译。
  2. 检查防火墙/杀毒软件

    • 暂时禁用Windows防火墙或您安装的第三方杀毒软件,然后重试,以排除它们阻止了软件的网络连接。
  3. 尝试其他翻译渠道

    • 如果问题持续存在,可以暂时切换到其他不需要特殊网络环境的翻译渠道,例如百度翻译腾讯翻译(这些渠道需要您在其官网申请API Key并在软件的“菜单-翻译设置”中配置)。

如果以上方法均无效,请提供 E:/Pyvideotrans/videotrans/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