that error is expected with a Slurm 24.11 client talking to a 22.05 controller — the RPC/protocol versions are simply too far apart. SchedMD generally recommends keeping Slurm components reasonably close in version, and upgrading the controller + client
commands together (or controller first).
If upgrading the cluster isn’t an option yet, the most practical workaround is to run matching 22.05.x client tools on the Debian 13 submit node (e.g., build/package Slurm 22.05.8 from source for Trixie, or use a small Bookworm chroot/container with slurm-client).
In general, I’d expect you’ll need client commands that match the controller’s major version as long as slurmctld stays on 22.05.
Best regards,
Rikka Göring (GenericRikka)
Maintainer, sysutils/slurm-wlm
FreeBSD HPC Modernization Project (unofficial)
https://kavocado.net