Skip to content

Stale sessions from failed runs block new sessions with no DKG escape hatch #183

@jCabala

Description

@jCabala

When a DKG or signing session fails, the session remains active on the server. A subsequent DKG attempt fails with:

user has more than one FROST session active; use mina-frost-client sessions to list them and specify the session ID with -S

But the dkg subcommand does not accept a -S session ID flag — only participant does. The error message is misleading. The only recovery is sessions --close-all.

  • src/dkg/comms/http.rs:143-144 — error thrown, suggests -S which doesn't exist on dkg
  • src/participant/comms/http.rs:176-177 — same error
  • src/cli/args.rs:102-123dkg subcommand args, no session flag
  • src/cli/args.rs:209-210participant subcommand, has -S session flag

Originally created in: https://github.com/Nori-zk/mina-multi-sig-example/blob/main/FEEDBACK.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions