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

113.84* Posted at: 7 days ago 👁29

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 ConnectTimeoutError(, 'Connection to api-edge.cognitive.microsofttranslator.com timed out. (connect timeout=300)'))


=
Windows-10-10.0.22631-SP0
version:v3.80
frozen:True
language:zh

1 Replies

这个错误表明软件在连接微软翻译API (api-edge.cognitive.microsofttranslator.com) 时发生了网络超时。

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

  1. 检查网络连接:确认您的电脑可以正常访问互联网,并且没有防火墙或安全软件阻止 pyVideoTrans 联网。
  2. 切换翻译渠道:作为临时解决方案,您可以先切换到其他可用的翻译渠道,例如 Google翻译DeepL翻译

    • 在软件主界面或菜单栏的 翻译设置 中,将“翻译渠道”更换为其他选项。
  3. 配置网络代理(如果适用):如果您身处网络访问受限的地区,或者需要使用代理才能访问国际服务,请在软件的 翻译设置 中,找到您所使用的翻译渠道(如Microsoft),并填写正确的代理地址。
  4. 重试操作:有时可能是微软服务的临时性问题。等待几分钟后,直接重试翻译任务。

如果以上步骤无法解决问题,请提供 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