Skip to content

Not able to check Valkey on unixsocket #999

Done

Description

@Morethanevil

What happened?

I created a check for Valkey (Redis fork from Linux foundation). I wanted to check the unixsocket like I do for PostgreSQL. For PostgreSQL I use host /var/run/postgresql and it works fine. If I try the same for Valkey, Solidping can not connect it seems.

valkey.conf has permissions 777 for the socketfile, like Postgres.

I tried the following hosts in Solidping:

/run/valkey/valkey.sock
/run/valkey/
/run/valkey
/var/run/valkey/

With Port 0 and without any port. I tried the same on my agents with a mounted socket inside the docker container, like I do with other services. Same behaviour there.

If I use localhost:6379 it works

Steps to reproduce

  1. Create a new check (Redis)
  2. Use /run/valkey/ as host
  3. See error (down)

SolidPing version

0.54

Deployment

Self-hosted (binary)

Database

PostgreSQL

Check type involved (if any)

Redis

Relevant logs

-

Activity

  1. added
    bug
    on Nov 23, 2026
  2. fclairamb commented on Nov 23, 2026

    @fclairamb
    Owner

    It's very similar to #1000 right ?

  3. Morethanevil commented on Nov 23, 2026

    @Morethanevil
    Author

    It's very similar to #1000 right ?

    Yes it is, but PostgreSQL works

  4. added
    fix-pending
    on Nov 24, 2026
  5. fclairamb commented on Nov 24, 2026

    @fclairamb
    Owner

    Fixed in cde806ea on branch wt/feat/todos-2026-11-24-2. Since v0.54.1 the redis check gained a separate socket field (dashboard: the host / socket switch on the Redis form, or a redis+unix:///run/valkey/valkey.sock URL). The server only dials paths listed in checkers.unix_socket_paths (env SP_CHECKERS_UNIX_SOCKET_PATHS, e.g. /run/valkey/). Before this, a path in host got dialed as <path>:6379 and failed without saying why. Now it is refused on save, with a message pointing at the socket field. Not merged or released yet: closing because the fix exists, the branch's PR carries it live.

  6. fclairamb commented on Nov 24, 2026

    @fclairamb
    Owner

    autopilot: in #1017

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

    autopilotbugfix-pending

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions