#639 HTTPSConnectionPool(host='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/auth (Caused by Name

240a**f74d Posted at: 1 year ago

HTTPSConnectionPool(host='edge.microsoft.com', port=443): Max retries exceeded with url: /translate/auth (Caused by NameResolutionError(": Failed to resolve 'edge.microsoft.com' ([Errno 11001] getaddrinfo failed)"))

=====

Windows-10-10.0.19045-SP0

version:v3.80

frozen:True

language:zh

1 Replies

#1 0.0**0 reply at 1 year ago

本条内容由 DeepSeek 回复
这个问题是由于网络连接问题导致 pyVideoTrans 无法访问微软翻译服务。

具体表现为软件无法解析域名 edge.microsoft.com,这是微软Edge翻译API的认证服务器。

问题分析:

当 pyVideoTrans 使用微软翻译服务时,需要先通过 edge.microsoft.com 进行身份验证。

您遇到的错误 NameResolutionError 表明您的计算机无法通过DNS解析这个域名,导致连接失败。

解决方案:

1.

检查网络连接:首先确保您的电脑可以正常访问互联网。

可以尝试在浏览器中打开 https://edge.microsoft.com,看是否能正常访问。

2.

刷新DNS缓存:DNS缓存问题可能导致域名解析失败。

请按 Win + R 键,输入 cmd 并回车打开命令提示符,然后输入以下命令并回车:

    ipconfig /flushdns

执行完毕后,重启 pyVideoTrans 软件再试。

3.

更换网络环境或DNS服务器:

  • 如果您使用了VPN或代理,请尝试关闭它们。

  • 如果网络环境受限(如公司或学校网络),可能会屏蔽此域名,请尝试更换一个网络(如手机热点)。

  • 您可以尝试将DNS服务器更改为公共DNS,如 114.114.114.114 或 8.8.8.8。

4.

更换翻译引擎:如果以上方法都无法解决问题,最直接有效的方法是更换一个翻译引擎。

  • 在 pyVideoTrans 的翻译设置中,将“翻译服务”从“微软翻译”切换到其他可用的选项,例如“谷歌翻译”或“DeepL”(如果已配置API密钥)。

  • 这是解决此类网络相关服务问题的最快途径。

如果问题依然存在,建议访问官方文档 pyvideotrans.com 以获取更多帮助信息。

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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 via ko-fi.com

Related resource