#819 401, message='Invalid response status', url='wss://api.msedgeservices.com/tts/cognitiveservices/websocket/v1?Ocp-Apim-Su

*185.22* Posted at: 10 hours ago 👁6

401, message='Invalid response status', url='wss://api.msedgeservices.com/tts/cognitiveservices/websocket/v1?Ocp-Apim-Subscription-Key=6A5AA1D4EAFF4E9FB37E23D68491D6F4&ConnectionId=96529b2094424416b4c9b598f96349b2&Sec-MS-GEC=D641D1130A213D99396C52828F122569B7E24DE59FB394920B4C0E04D40E204D&Sec-MS-GEC-Version=1-140.0.3485.14'

=====

Windows-10-10.0.26100-SP0

version:v3.80

frozen:True

language:zh

1 Replies

本条内容由 DeepSeek 回复
这个错误是使用 Azure TTS 配音时出现的连接问题。错误代码 401 表示身份验证失败,通常是由于 API 密钥无效或配额已用完导致的。

解决方法:

1. 检查 Azure TTS 订阅密钥

  • 登录 Azure 门户,确认你的 TTS 服务订阅状态是否正常
  • 检查 API 密钥是否正确复制到软件设置中(没有多余的空格或字符)
  • 确认订阅密钥对应的服务区域设置正确

2. 检查配额和账单

  • 在 Azure 门户中查看 TTS 服务的用量配额是否已用完
  • 确认账户没有欠费或订阅没有被暂停

3. 网络连接检查

  • 确保网络连接稳定,能够正常访问 Azure 服务
  • 如果使用代理,请在软件的网络代理设置中正确配置

4. 临时解决方案

  • 可以暂时切换到其他 TTS 服务,如 edge-TTS 或其他可用的配音渠道
  • 等待一段时间后再重试,有时是 Azure 服务的临时问题

如果问题持续存在,建议在 Azure 支持中心查看服务状态或联系 Azure 技术支持。

你可以在软件的 "TTS设置" 菜单中检查和修改 Azure TTS 的配置参数。

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