#5511 openai.InternalServerError: Error code: 500 - {'error': '处理过程中发生内部错误。'}

15.235* Posted at: 1 hour ago

Error code: 500 - {'error': '处理过程中发生内部错误。'}:
Traceback (most recent call last):
File "videotrans\util\TestSTT.py", line 18, in run
File "videotrans\recognition\__init__.py", line 191, in run
File "videotrans\recognition\_base.py", line 90, in run
File "videotrans\recognition\_whisperx.py", line 32, in _exec
File "openai\_utils\_utils.py", line 298, in wrapper
File "openai\resources\audio\transcriptions.py", line 485, in create
File "openai\_base_client.py", line 1332, in post
File "openai\_base_client.py", line 1105, in request
openai.InternalServerError: Error code: 500 - {'error': '处理过程中发生内部错误。'}


=
system:Windows-10-10.0.26200-SP0
version:v4.03
frozen:True
language:zh
root_dir:D:/Tool/win-pyvideotrans-v4.03-0622

3 Replies

该错误源自 OpenAI 语音识别 API 服务器内部错误(HTTP 500),并非软件本身 Bug。

  1. 检查 API 密钥:确认 菜单 → 语音识别设置 → OpenAI 识别 API 中的 SK 密钥无误、账户余额充足。
  2. 检查网络与代理:若在国内使用,需正确配置代理(格式如 http://127.0.0.1:端口);可尝试将代理文本框清空并保存后重试。
  3. 临时重试:OpenAI 服务器偶发不稳定的 500 错误,稍后重新执行即可恢复。
  4. 更换备选渠道:若反复出现,请切换至本地识别渠道(如 faster-whisper(本地) + large-v3 模型),不受 API 服务器限制。

请查阅相关文档:

,l

暂无法确定您具体想咨询什么内容。如果您在尝试之前推荐的方法(检查密钥、代理、切换本地渠道)后仍有问题,请提供以下信息以便进一步分析:

  1. 日志文件:软件目录下 logs/ 文件夹中最新的 .log 文件内容(复制底部约30行)。
  2. 当前使用的语音识别渠道和配置(如是否已切换至 faster-whisper 本地渠道)。

我会尽快为您定位原因。

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