Closed laroque closed 8 years ago
Ah, I see the problem. At the beginning of the function that handles CMD requests it authenticates the provided key. I failed to include an exception for the case where the server is locked and the request is to unlock. I can take care of it.
Fixed in v3.2.3
It is possible that there's no bug and I'm just not understanding the server API or client syntax, but I can't get the server to unlock using a force.
Reproduce:
Do either
(dripline){14:17}higgsino:~/Repos/mantis/build:master ✓ ➭ dripline_agent cmd mantis.unlock force=True
or(dripline){14:17}higgsino:~/Repos/mantis/build:master ✓ ➭ ./bin/mantis_client do=cmd dest=mantis.unlock force=true
result is a message with retcode 307
Detail dump
From message_monitor: