-
Notifications
You must be signed in to change notification settings - Fork 43
Delegate Q&A
First please check if node height is still increasing or not, if so please jump to here, if not please jump to here.
First make sure, you are selected in current epoch as block producers. You can check through ioctl node delegate
If you are elected as block producers, please check if your node is keeping up to current chain tip height. If not you can downlowd latest snapshot to speed up the catch up process. If you are elected and your node is keeping up to chain tip height, probably your operator private key you set in config is not the same one you set in member.iotex.io delegate configuration. You should set it in config.yaml and restart your node:
chain:
producerPrivKey: <SET YOUR PRIVATE KEY HERE>
# If you are a delegate, make sure producerPrivKey is the key for the operator address you have registered.
If you don't have your operator key no more, you can set it to a new one in member.iotex.io with your owner key. If you lost your owner key, there is nothing your can do, so please make sure you keep your owner key safe.
Please make sure you already upgraded the node into latest version with correct configuration first.
If everything is up to date as iotex-bootstrap, please check your log in this case. You can dump log from docker by using command:
docker logs [container_name] --tail [num of line, e.g. 3000] > output.log
# for example, sudo docker logs iotex --tail 3000 > output.log
Please check log against following error digests, if your issues still cannot be addressed, please contact us directly and send us your log.
Failed to new config.
{error 25 0 failed to unmarshal YAML config to struct: yaml: unmarshal errors:...}
Your config.yaml or genesis.yaml is not formatted correctly. Please check these files if you have a typo or an indent error. Easy way is download again from iotex-bootstrap and change private key and external ip to yours, then restart node.
Failed to new config.
{error 25 0 error when constructing a xxx in yaml: error applying options: read /etc/iotex/xxx.yaml: ...}
open /var/data/XXXX.db: no such file or directory: DB I/O operation error
Make sure you set your env var $IOTEX_HOME correctly.
Make sure your mount all the files and paths correctly when you run docker($IOTEX_HOME/data, $IOTEX_HOME/etc/config.yaml, $IOTEX_HOME/etc/genesis.yaml).
In data folder, you should have these db files: candidate.index.db chain.db consensus.db index.db poll.db trie.db
. If you miss any of them, please download the latest snapshot.
"Finished indexing blocks up to"
This is because node is blocked on indexing blocks. You can either wait the indexing catch up to your node's height or download the latest snapshot with index(download here) to start your node which could be faster.
"project ID request rate exceeded"
"see":"https://infura.io/docs/ethereum/json-rpc/ratelimits"
This is because infura API got ratelimit, you need to change infura key in config.yaml and restart node:
committee:
gravityChainAPIs:
# please change the infura key to your key (e.g., https://mainnet.infura.io/v3/YOUR_KEY)
Please contact us if you don't have an infura key.
"Failed to commit the block."
Please make sure your node is running the latest version and use correct configurations. If in that case, you still have this issue, please contact us directly.
"msg":"Error when serving performance profiling data.", "error":"http: Server closed"}
"msg":"Error when subscribing a broadcast message.", "error":"subscription cancelled by calling sub.Cancel()"
This is a Normal log message you shall see, when node stop/restart. There is nothing special about this log itself. It is more important what cause the node to stop/restart. It could be your maintenance engineer restart it. So please check the logs Before this log to get better understanding