Repository navigation
Closed
Description
Summary
On Linux, OpenLess volcengine ASR with api_key auth consistently fails with 45000010 AuthenticationError, even when the same Ark API key is valid and actively used.
Environment
- OS: Linux
- OpenLess: current desktop build
- ASR provider:
volcengine(bigasr) - Auth mode:
api_key - Resource ID tested:
volc.seedasr.sauc.duration(default)volc.bigasr.sauc.duration(A/B test)
Observed behavior
Each dictation attempt reaches:
- recorder started
- ASR connected
- session started
Then fails immediately with:
error frame code=45000010AuthenticationError- message:
The API key or AK/SK in the request is missing or invalid.
Reproduction
- Configure ASR provider as
volcengine. - Set auth mode to
api_key. - Fill API key and Resource ID (
volc.seedasr.sauc.duration). - Trigger dictation (
Right Altoropenless --toggle-dictation). - Session starts then fails with 45000010.
Source-level findings
I verified current source paths:
- API-key mode endpoint:
src-tauri/src/asr/volcengine.rsENDPOINT_API_KEY = wss://openspeech.bytedance.com/api/v3/plan/sauc/bigmodel_async
- API-key header wiring:
X-Api-Keyinbuild_connect_requestforVolcengineAuthMode::ApiKey
- Default resource ID:
volc.seedasr.sauc.duration
- Settings UI mapping looks correct:
volcengine.auth_mode,volcengine.api_key,volcengine.resource_id
A/B test result
Changing only resourceId from volc.seedasr.sauc.duration to volc.bigasr.sauc.duration still returns the same 45000010 AuthenticationError (not a different resource-grant error).
Important checks already done
- API key was regenerated under target project and actively used.
- Project switch and key recreation repeated.
- Free authorization flow in Volc speech console completed.
- OpenLess keyring credentials were reset/restored; issue persists.
- CLI trigger path (
openless --toggle-dictation) reproduces same failure.
Latest request IDs (for backend trace)
021786027527040c03100eb43b2c5f2b8bc80f...0217860275287052776333f3b283eee8f5b1f8...0217860275299011fabb13063b3e354601db29...
Request
Please help confirm whether current volcengine + api_key path is still valid for bigasr on Linux, and whether endpoint/header/resource expectations have changed.
If possible, please provide a known-good matrix for:
- auth_mode
- websocket endpoint
- required auth headers
- resource_id format
Metadata
Metadata
Assignees
Labels
No labels
Activity
H-Chris233 commentedon Aug 9, 2026
我来解决
fix(asr): 火山 ApiKey 模式改用官方端点,修复 45000010 (#931) (#936)
linonetwo commentedon Aug 21, 2026
Follow-up after re-checking local config/logs and creating a fresh key in Volc console.
Current local config snapshot
volcenginearkCurrent runtime Volcengine credential snapshot (from keyring payload)
api_keyvolc.seedasr.sauc.durationark-791ad3de, suffix62-a94b3, length46Latest failure logs
Recent startup + dictation attempts still fail at ASR session open:
open ASR session failed: 凭据被拒(401)Representative lines (latest period in current log):
2026-08-21T11:45:55... recorder started (asr=volcengine, phase=Starting)2026-08-21T11:45:55... open ASR session failed: 凭据被拒(401)2026-08-21T11:45:56... recorder started (asr=volcengine, phase=Starting)2026-08-21T11:45:56... open ASR session failed: 凭据被拒(401)Volc console status update
I created a fresh key under project
volcengine_standalone_project_2000006170_platform_:api-key-20260822024730apikey-20260822024738-7rpp6At the time of this note, local runtime snapshot still shows the old key fingerprint above, so app-side key switching/persistence may also be part of the user-visible confusion.
Please advise expected
resourceIdsemantics for thevolcengine + api_keypath in OpenLess (service-levelvolc.seedasr...vs key-rowapikey-...) and whether 401 should be mapped with additional diagnostics to reduce ambiguity.linonetwo commentedon Aug 23, 2026
补充一个可复现的正确用法(中文),供后续排查者快速定位:
结论(先看)
volcengine的api_key模式,建议使用豆包语音新版控制台里的 API Key,而不是方舟(Ark)控制台的通用大模型 API Key。
正确页面
https://console.volcengine.com/speech/apphttps://console.volcengine.com/speech/new/setting/apikeys?projectName=default在控制台里的点击路径(中文)
从
https://console.volcengine.com/speech/app进入后:APP ID(例如与当前业务对应的应用)OpenLess 配置建议
authMode:api_keyresourceId: 继续使用volc.seedasr.sauc.duration(除非官方文档另有要求)volcengineApiKey: 填写上面“豆包语音新版控制台 API Key 管理”页中的 key额外提示
该页有提示:在“全部资源”视图下默认只展示 Default 项目的 API Key;
若目标 key 不在列表中,需要先切换到对应项目再查看。
H-Chris233 commentedon Aug 23, 2026
卧槽这字节
整这么多新版新版
崩溃了要
linonetwo commentedon Aug 23, 2026
你可能误会了,我只是分享一下到哪里能找到这个控制台,没说它更新。反正我找是找了老半天,所以放在这边,供别人或者以后的 AI 搜到能够直接用。