We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executing stalwart-cli server delete-config server.blocked-ip. ends in 400 JSON deserialization failed.
stalwart-cli server delete-config server.blocked-ip.
400
JSON deserialization failed
I can reproduce the problem by doing the following steps:Check the blocked ip:
#> stalwart-mail --version 0.11.0 #> stalwart-cli --version stalwart-cli 0.11.0 #> stalwart-cli server list-config server.blocked-ip. +----------------+-------+ | Key | Value | +----------------+-------+ | 192.168.178.34 | | +----------------+-------+
Try to unblock all ips:
#> stalwart-cli server delete-config server.blocked-ip. Request failed: {"type":"about:blank","status":400,"title":"Invalid parameters","detail":"JSON deserialization failed"}
The reason can be found in stalwart-log:
[...] reason = "unknown variant `Delete`, expected one of `delete`, `clear`, `insert` at line 1 column 17", details = JSON deserialization failed
As you can see: stalwart-cli's delete-config becomes internally Delete, that does not matches any of the expected lower-case-variants.
v0.11.x
RocksDB
Internal
Linux
2025-01-11T07:34:21Z ERROR Bad resource parameters (resource.bad-parameters) listenerId = "https", localPort = 8083, remoteIp = 127.0.0.1, remotePort = 41890, reason = "unknown variant `Delete`, expected one of `delete`, `clear`, `insert` at line 1 column 17", details = JSON deserialization failed
The text was updated successfully, but these errors were encountered:
c9d7db0
No branches or pull requests
What happened?
Executing
stalwart-cli server delete-config server.blocked-ip.
ends in400
JSON deserialization failed
.How can we reproduce the problem?
I can reproduce the problem by doing the following steps:Check the blocked ip:
Try to unblock all ips:
The reason can be found in stalwart-log:
As you can see: stalwart-cli's delete-config becomes internally Delete, that does not matches any of the expected lower-case-variants.
Version
v0.11.x
What database are you using?
RocksDB
What blob storage are you using?
RocksDB
Where is your directory located?
Internal
What operating system are you using?
Linux
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: