[BUG] Invalid solution error when Difficulty=1 and connection is slow
Describe the bug There is an open issue where users receive an "Invalid solution" error when the Difficulty is set to 1 and the connection is slow. This can be reproduced using Invisible mode, the @cap.js/widget package (v0.1.29), and the tiago2/cap docker image (v2.0.9) with network throttling set to 3G.
Affects:
- [ ] Standalone mode
- [x] Widget
- [ ] Server
- [ ] WASM
- [ ] Solver
- [ ] Solver CLI
To Reproduce Steps to reproduce the behavior:
- Enable Invisible mode
- Use
@cap.js/widgetv0.1.29 - Run
tiago2/capdocker image v2.0.9 - Set Difficulty=1 in Cap Dashboard
- Throttle network to 3G in browser devtools
- Attempt to solve the captcha
Expected behavior The "Invalid solution" error should not occur when Difficulty=1 is used, even under slow network conditions. If this is not supported, Difficulty=1 should be disabled in the Cap Dashboard.
Screenshots N/A
Desktop (please complete the following information):
- OS: Linux Mint 22.1
- Browser: Yandex
- Version: 25.8.1.890 stable (64-bit)
Smartphone (please complete the following information):
- Device: N/A
- OS: N/A
- Browser: N/A
- Version: N/A
Additional context This bug is reported based on open issues and user reports. See: https://github.com/tiagozip/cap/issues/109
Virality
stop it