cap icon indicating copy to clipboard operation
cap copied to clipboard

[BUG] Invalid solution error when Difficulty=1 and connection is slow

Open ghost opened this issue 1 year ago • 2 comments

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:

  1. Enable Invisible mode
  2. Use @cap.js/widget v0.1.29
  3. Run tiago2/cap docker image v2.0.9
  4. Set Difficulty=1 in Cap Dashboard
  5. Throttle network to 3G in browser devtools
  6. 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

ghost avatar Oct 05 '25 10:10 ghost

Virality

opuadm avatar Oct 05 '25 10:10 opuadm

stop it

ghost avatar Oct 05 '25 10:10 ghost