mytonctrl icon indicating copy to clipboard operation
mytonctrl copied to clipboard

MyTonCtrl does not initialise validator config at start occasionally

Open begetan opened this issue 1 year ago • 2 comments

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:

  1. No information about validator part in output of status command
  2. Local wallet is in unknown type in wl command
  3. 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=

image

begetan avatar Jan 23 '24 13:01 begetan

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.

igroman787 avatar Feb 05 '24 09:02 igroman787

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

begetan avatar Feb 09 '24 10:02 begetan