#664 requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://ark.cn-beijing.volces.com/api/v3

*345:4606* Posted at: 2 hours ago 👁9

操作系统错误 (None): None:Traceback (most recent call last):

File "videotrans\translator\_base.py", line 79, in run

File "videotrans\translator\_base.py", line 97, in _run_text

File "tenacity\__init__.py", line 338, in wrapped_f

File "tenacity\__init__.py", line 477, in __call__

File "tenacity\__init__.py", line 378, in iter

File "tenacity\__init__.py", line 421, in exc_check

tenacity.RetryError: RetryError[]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "videotrans\util\TestSrtTrans.py", line 17, in run

File "videotrans\translator\__init__.py", line 840, in run

File "videotrans\translator\_base.py", line 81, in run

File "tenacity\__init__.py", line 480, in __call__

File "videotrans\translator\_huoshan.py", line 56, in _item_task

File "requests\models.py", line 1026, in raise_for_status

requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://ark.cn-beijing.volces.com/api/v3/chat/completions

=====

Windows-10-10.0.26100-SP0

version:v3.80

frozen:True

language:zh

1 Replies

本条内容由 DeepSeek 回复
这个错误是由于您选择的 字节火山大模型翻译 服务端出现了内部问题(HTTP 500 错误),导致翻译请求失败。这通常不是 pyVideoTrans 软件本身的问题,而是第三方服务暂时不可用。

问题分析:

错误日志显示,软件在向字节火山的翻译API (https://ark.cn-beijing.volces.com/api/v3/chat/completions) 发送请求时,收到了服务器返回的“500 Internal Server Error”。这表明字节火山的服务器端在处理您的请求时发生了意外错误。

解决方案:

1. (首选)更换翻译渠道

这是最直接有效的解决方法。字节火山的服务可能暂时不稳定。

  • 打开 pyVideoTrans,在翻译设置中,尝试切换到其他可用的翻译服务,例如 Google翻译Microsoft翻译百度翻译
  • 更换渠道后,重新执行翻译任务。

2. 稍后重试

如果您必须使用字节火山翻译,可以等待一段时间(例如10-30分钟)后再重试,服务可能已经恢复。

3. 检查API配置

请确保您在软件中填写的字节火山API密钥和配置信息是完全正确的。虽然500错误通常是服务器问题,但错误的配置也可能导致异常。

如果问题持续出现,建议优先使用其他稳定的翻译渠道来完成您的任务。

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

Trending Questions