Skip to content

bug: jade stuck on its pin pad after cancelling the pin wait #2145

Backlog

Description

@ovitrif

Behaviour

Cancelling while the Jade shows its PIN pad (Back, or dragging the sheet down) closes the app's connection, but the Jade stays on its PIN pad. The next Sign With Jade or Verify on Device sends a request while the Jade still expects the PIN. The app then shows Error / errorDetails=Unexpected message, expecting 'pin', and the Jade shows "Network or server error". Pressing Continue on the Jade recovers it.

This also happens when cancelling a normal locked connect, with no logout involved.

Repro (Android emulator, bitkit-docker Jade emulator, JADE_MODE=interactive)

  1. Log out on the Jade, then tap Sign With Jade. The PIN pad shows on the Jade.
  2. Press Back.
  3. Tap Sign With Jade again and enter the PIN.
21:30:13.571 INFO  [JadeEmulatorTransport.kt:74] Closed Jade emulator 'tcp:10.0.2.2:30121'
21:30:46.059 ERROR [JadeRepo.kt:277] Jade reconnect failed [AppError='errorDetails=Unexpected message, expecting 'pin'']

Possible fix

Map this error to a "finish or cancel the PIN on your Jade" message, or reset the Jade's pending request on reconnect (JadeRepo.kt:277).

Found by @jvsena42 while testing #2140: #2140 (comment)

Activity

  1. added this to the 3.3.0 milestone on Nov 26, 2026
  2. added theissue type on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions