Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

tmkms should print error message if there aren't any configured chains/validators #350

Open
gaia opened this issue Aug 13, 2019 · 3 comments

Comments

@gaia
Copy link

gaia commented Aug 13, 2019

Is this all I should see? it shuts down immediately (v0.6.3)

[[providers.yubihsm]]
adapter = { type = "usb" }
auth = { key = 2, password = "kms-operator-password-xxxxxxxxxxxxxxxxx" }
connector_server = { laddr = "tcp://127.0.0.1:12345", cli = { auth_key = 2 } }
# tmkms start -v
21:25:11 [debug] registered component: abscissa_core::terminal::component::Terminal (v0.3.0)
21:25:11 [debug] registered component: abscissa_core::logging::component::Logging (v0.3.0)
21:25:11 [info] tmkms 0.6.3 starting up...
21:25:11 [debug] Main thread waiting on clients...
21:25:11 [info] Shutdown completed successfully
@tarcieri tarcieri changed the title What to expect from tmkms start? tmkms should print error message if there aren't any configured chains/validators Aug 13, 2019
@tarcieri
Copy link
Contributor

That is definitely confusing! The problem is you don't have any chains/validators configured, so it has nothing to do. It should probably print an error message in this case.

Have a look at the validator configuration section in the example config file:

https://github.com/tendermint/kms/blob/master/tmkms.toml.example#L25

@gaia
Copy link
Author

gaia commented Aug 13, 2019

Thanks Tony

@gaia gaia closed this as completed Aug 13, 2019
@tarcieri
Copy link
Contributor

@gaia gonna reopen this and use it to track adding a better error message in this case

@tarcieri tarcieri reopened this Aug 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants