#5651 HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /translate (Caused by NewConnectionError

2409:8a4c* Posted at: 16 hours ago

HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /translate (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))


=
system:Windows-10-10.0.26200-SP0
version:v3.83
frozen:True
language:zh
root_dir:C:/Users/admin/Documents/win-videotrans-v3.83

1 Replies

这是由于您选择的翻译渠道需要连接本地的HTTP服务(127.0.0.1:5000),但该服务没有启动或配置不正确,导致连接被拒绝。

解决方案:

  1. 检查翻译渠道设置:打开 菜单 → 翻译设置,确认您选择的翻译渠道是什么。

    • 如果选择了 兼容AI/本地模型DeepLX / LibreTranslate 等需要自行部署的服务,请确保您已启动了对应的本地服务(如 DeepLX 或 LibreTranslate),并且端口号、地址与软件中填写的一致(此处为 127.0.0.1:5000)。
    • 如果选择了免费的 M2M100本地模型,它不需要外部服务,请尝试切换回该渠道。
    • 如果选择了 Google翻译微软翻译,请检查是否错误地配置了自定义 API 地址。
  2. 本地服务验证:如果您确实部署了本地翻译服务,请在浏览器中访问 http://127.0.0.1:5000 或使用 curl 测试,确认服务能正常响应。若无法访问,请重新启动对应的服务程序。
  3. 临时替换渠道:如果您不熟悉本地部署,建议暂时使用内置的 Microsoft翻译Google翻译 等无需配置的渠道,避免此类连接问题。
  4. 升级软件:您当前版本为 v3.83,最新版 v4.04 修复了许多已知问题,建议下载最新完整包替换使用。

请查阅相关文档:

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. Dondate: ko-fi.com/jianchang512

Related resource