Skip to content

Handle an older Solenta desktop occupying the remote server port during SSH setup #1979

Open

Description

@currentbits

The remote-computer setup recording reaches Prepare external process, then Connect fails with 'The remote computer returned an invalid Solenta identity.' Read-only SSH inspection confirms port 4620 is owned by an Electron solenta-nightly process while the new standalone nightly server archive is installed separately. /.well-known/solenta returns the older desktop HTML shell rather than a descriptor.

Plan: identify the desktop runtime and its data/service ownership; repair the connection using the standalone runtime without disrupting existing work or opening concurrent writers; improve shared setup/error handling only where evidence requires it; verify identity and authenticated readiness. Do not bypass bound-computer identity validation.

Activity

  1. added
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Nov 9, 2026
  2. currentbits commented on Nov 9, 2026

    @currentbits
    OwnerAuthor

    Root cause verified on the affected Linux host: an existing 0.28.0 Electron nightly system service occupies 4620. The staged 0.29.0 standalone runtime logs EADDRINUSE on that port. Its data directory is separate and was empty; no active writer lock exists there. Started that exact checksum-verified runtime explicitly in external mode on unused port 4621. Built-in readiness checks authenticated the expected computer and full build identity. Existing service and its one project/thread were left untouched. Client connection verification is next; no source changes made yet.

  3. currentbits commented on Nov 9, 2026

    @currentbits
    OwnerAuthor

    Verified the installed macOS client's actual invokeRemote/openHostTunnel code over SSH to the new remote port 4621. Public computer identity, WebSocket authentication and app:status all match runtimeKind=server, version=0.29.0, nightly-202611091234-c75f4601 and full c75f460 SHA. Closing the diagnostic SSH tunnel leaves the external server running. Old 0.28 desktop service/data remain untouched; no projects/history were migrated. Native UI automation repeatedly refused actions with its 'user changed app; re-query state' guard even immediately after fresh snapshots, so the saved UI port was not changed. User needs to set Solenta port 4621 and connect. Keeping this issue open for the shared occupied-port/setup diagnosis improvement; no product source edits were made.

  4. currentbits commented on Nov 9, 2026

    @currentbits
    OwnerAuthor

    Follow-up screenshot shows DID_NOT_START with legacy desktop handoff messages, but crops out the requested port. Rechecked the installed nightly client's real SSH prepare/auth/app:status path with published release discovery enabled: port 4621 still succeeds and reports the exact c75f460 standalone build. Both listeners remain running. Native UI inspection shows Settings closed; keyboard shortcut is also refused by the computer-use 'user changed app' guard, so no input changed. Asked for the actual port shown in the failed form before changing startup logic based on an unverified assumption. No new source edits or remote restarts.

  5. currentbits commented on Nov 9, 2026

    @currentbits
    OwnerAuthor

    User confirms failed UI attempt was port 4621. Explicitly ruled out wrong-port assumption in hypothesis ledger. Installed helper also succeeds with a real askpass relay and interactive SSH options; six direct remote readiness probes return HTTP 200 in 1.5–2.2 ms, so neither condition reproduces the failure. A short-lived local process monitor now captures only the app's SSH target/port (never command bodies, tokens or environment secrets) for one requested fresh Connect. No product edits or further remote changes.

  6. currentbits commented on Nov 9, 2026

    @currentbits
    OwnerAuthor

    User now reports a tailnet-policy error. Rechecked both SSH command execution and the installed client's SSH forward plus authenticated app:status to 4621: both succeed from this Mac. The three-minute app-child trace ended without capturing a Connect process, so it cannot explain the reported denial. Current native app inspection shows the conversation, not the Connections dialog. Requested the exact policy error; no ACL, SSH permission or remote-process changes made.

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

    plan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions