#1355 recognition request failed: Bad Gateway

5.45* Posted at: 2 days ago 👁14

recognition request failed: Bad Gateway


=
system:Windows-10-10.0.26100-SP0
version:v3.84
frozen:True
language:zh
root_dir:D:/shipingruanjian

1 Replies

这个 "Bad Gateway" 错误通常是由于网络连接问题导致的,特别是当使用需要联网的语音识别渠道时。

请按以下步骤排查:

  1. 检查网络连接:确保您的网络连接稳定,没有防火墙或代理软件阻止 pyVideoTrans 访问外部服务。
  2. 确认语音识别渠道

    • 如果您使用的是 Google语音识别OpenAI-Whisper-API字节火山 等在线渠道,这些服务需要稳定的网络连接和正确的 API 配置。
    • 建议:尝试切换到本地的 faster-whisper 渠道,它不依赖网络,速度和稳定性都更好。
  3. 配置网络代理(如需要)

    • 如果您身处网络受限环境,需要在 菜单-翻译设置 或对应语音识别渠道的设置中填写正确的代理地址(例如 http://127.0.0.1:10808)。
  4. 服务端问题

    • "Bad Gateway" 有时也意味着您所使用的在线语音识别服务其服务器端暂时出现了问题。可以等待一段时间再试,或更换其他识别渠道。

首选解决方案:在软件主界面的“语音识别渠道”下拉菜单中,选择 faster-whisper,并确保已勾选“CUDA加速”(如果您有 NVIDIA 显卡),这通常能解决因网络导致的各种问题。

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