Using v20.11.7
I have 8081 because that is the port I am running slurmrestd on.
How are you starting slurmrestd? If you are using systemd and have the
service file, look inside it.
Brian Andrus
On 6/14/2021 9:48 AM, Heitor wrote:
On Mon, 14 Jun 2021 08:30:51 -0700
Brian Andrus <toomuc...@gmail.com> wrote:
You don't use the prefix.
This works for me on the node running slurmrestd on port 8081:
user=someuser
curl --header "X-SLURM-USER-NAME: ${user}" --header
"X-SLURM-USER-TOKEN: $(sudo scontrol toker username=${user}|cut
-d='=' -f2-)" http://localhost:8081/slurm/v0.0.36/ping
Brian Andrus
I tried changing the port to 8081 and I still get the same errors.
What version of Slurm are you running?
How could I debug this further?
Cheers,
Heitor