mytonctrl
mytonctrl copied to clipboard
MyTonCtrl does not initialise validator config at start occasionally
We run multiply nodes and perform migration/changes quite frequently. We noticed that MyTonCtrl utility doesn't configure validator settings occasionally after the initial installation. It is happening quite often after the TON network throttling due to the utilisation spike.
In this case:
- No information about validator part in output of
status
command - Local wallet is in
unknown
type inwl
command - We discovered that
mytoncore.db
missed related parameters:
"validatorWalletName": "validator_wallet_001",
"adnlAddr": "xxxx"
We have tried to add the missing parameters manually, but observed validator process instability and warning about adnl errors:
[ 1][t 7][2024-01-22 11:51:30.538971216][manager.cpp:2380][!manager] STATUS: last_masterchain_block_ago=328.5s last_known_key_block_ago=1976.5s shard_client_ago=344.5s
[ 0][t 7][2024-01-22 11:51:39.783803855][adnl-peer-table.cpp:234][!PeerTable][&it != local_ids_.end()] dst=Y1pSAcU0Mv/hqOJUp9sSuD8/T7qEi84/q3IC9jYrD9w=
[ 0][t 7][2024-01-22 11:53:14.834421801][adnl-peer-table.cpp:234][!PeerTable][&it != local_ids_.end()] dst=Y1pSAcU0Mv/hqOJUp9sSuD8/T7qEi84/q3IC9jYrD9w=
This happens when you skip the last installation step python3 /usr/src/mytonctrl/mytoncore.py -e enableVC
If this error occurs again, please send the installation logs that are displayed in the console.
We follow the standard installation procedure without any changes, so it is due to mytocntrl installation internal flow. We will provide the log details once it will happen again