Skip to content

CLI: cli error: client error. connection setup error: handshake error code 5 always occurs #334

@TogiFerretFerret

Description

@TogiFerretFerret

Description of bug
Every time I run ./skysh (not added to path), after entering the password, it returns
cli error: client error. connection setup error: handshake error code 5
The server log says
[2024-03-21T22:25:58Z ERROR skyd::engine::net] failed to handshake with client

If I put in no password, however, the server log says

thread 'server' panicked at server/src/engine/core/system_db.rs:84:58:
called `Result::unwrap()` on an `Err` value: BadPassword

And the client error is
cli error: client error. io error: failed to fill whole buffer

Steps to reproduce
Steps to reproduce the behavior:

Expected behavior
I expected that skysh would successfully connect.

Meta

  • Release tag:
    sky-bundle-v0.8.0-x86_64-macos.zip
  • Branch:
    Release?
  • Commit ID:
    ?
  • Operating system:
    MacOS 14.1 Beta (23B5067a) (Sonoma)
    Additional context
    I am very confused - the benchmark, sky-bench works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugSomething isn't workingD-cli

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions