Skip to content

Error: unknown variant smtp, expected one of... #188

Description

@fermino

Hi!

When I try to login with the CLI I get the following error. I haven't had the time yet to dive into the code but I'm guessing the SMTP monitor hasn't been implemented yet? I found #159 but I'm still having this error using the latest git commit.

$ kuma login --url URL USERNAME
ERROR [kuma_client::util] Failed to deserialize MonitorList

thread 'tokio-rt-worker' (301325) panicked at kuma-client/src/client.rs:254:26:
called `Result::unwrap()` on an `Err` value: Error("unknown variant `smtp`, expected one of `group`, `http`, `port`, `ping`, `keyword`, `json-query`, `grpc-keyword`, `dns`, `docker`, `real-browser`, `push`, `steam`, `gamedig`, `globalping`, `mqtt`, `kafka-producer`, `sqlserver`, `postgres`, `mysql`, `mongodb`, `radius`, `redis`, `tailscale-ping`", line: 0, column: 0)
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
kuma-cli v2.1.0-rc.2
branch: makepkg
commit_hash: 1cba1f0 
build_time: 2026-06-25 20:10:51 +00:00
build_env: rustc 1.95.0 (59807616e 2026-04-14), stable-x86_64-unknown-linux-gnu

Thanks! :)

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions