jackwener / jackwener/OpenCLI

[Bug]: Doubao blocked the request with a verification challenge

Open
#1,894 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
29.3k
Forks
2.9k
Avg merge
15h 36m
Merged PRs (30d)
70

Description

### Description

doubao网页版可以正常使用,但opencli提示:
ok: false
error:
code: COMMAND_EXEC
message: Doubao blocked the request with a verification challenge
help: 'Detected challenge signal: iframe[src*="captcha"]'
exitCode: 1

### Steps to Reproduce

opencli doubao ask "xxx" --timeout 90

### Expected Behavior

正常返回结果

### OpenCLI Version

1.8.3

### Node.js Version

Other

### Operating System

macOS

### Logs / Screenshots

```shell
opencli doubao ask "今天天气怎么样?" --timeout 90 -v
ok: false
error:
code: COMMAND_EXEC
message: Doubao blocked the request with a verification challenge
help: 'Detected challenge signal: iframe[src*="captcha"]'
exitCode: 1
stack: |-
CommandExecutionError: Doubao blocked the request with a verification challenge
at sendDoubaoMessage (file:///Users/xxx/.nvm/versions/node/v24.14.1/lib/node_modules/@jackwener/opencli/clis/doubao/utils.js:712:15)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Object.func (file:///Users/xxx/.nvm/versions/node/v24.14.1/lib/node_modules/@jackwener/opencli/clis/doubao/ask.js:27:9)
```

Contributor guide

Open the contributing guide

Research direction

Start with clis/doubao/utils.js around sendDoubaoMessage at the reported failure point, then inspect clis/doubao/ask.js and reproduce with `opencli doubao ask "今天天气怎么样?" --timeout 90 -v`. Determine how the reported captcha iframe challenge is handled; done means the command returns the expected result when the Doubao webpage is otherwise usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.