Service receives following error "INTERNAL ERROR, it's zero ID in account"

After starting service, everything looks good, but I receive following errors whenever I check the status of the service:

nknd[662]: 2019/07/08 15:06:56.818089 [INFO ] GID 1, GetID got resp: {"error":{"code":-45023,"data":null,"message":"INTERNAL ERROR, it's zero ID in account"},"id":"1","jsonrpc":"2.0"} from http://mainnet-seed-0024.nkn.org:30003
nknd[662]: 2019/07/08 15:06:56.984661 [INFO ] GID 1, GetID got resp: {"error":{"code":-45023,"data":null,"message":"INTERNAL ERROR, it's zero ID in account"},"id":"1","jsonrpc":"2.0"} from http://mainnet-seed-0015.nkn.org:30003
nknd[662]: 2019/07/08 15:06:57.132658 [INFO ] GID 1, GetID got resp: {"error":{"code":-45023,"data":null,"message":"INTERNAL ERROR, it's zero ID in account"},"id":"1","jsonrpc":"2.0"} from http://mainnet-seed-0018.nkn.org:30003

Although explorer shows it online and mining, I’d like to know why these errors are coming.
Is this problem on my side? Am I missing any critical setting?

Thanks.

1 Like
  • When a node with a new wallet joins the network for the first time, it takes a few minutes to generate a node ID (automatically). After the first time, it will be as fast as before.

So in the first few minutes, you will see such error message because the freshly started node do not have a NKN ID yet. No worries there as long as it is properly in mining status after a few minutes.

1 Like

Alright, thank you…

Hello! One of my node can’t generate ID after update to the 1.1b version of nknd, trying with “RegisterIDTxnFee”: 1, and without - same result. In the log generated many errors:

2019/09/10 15:20:47.202314 ←[0;32m[INFO ]←[m GID 1, CreateID got resp: {"error":{"code":-45021,"data":"[VerifyTransaction] txn hash is greater than MaxGenerateIDTxnHash","message":"INTERNAL ERROR, can not append tx to txpool"},"id":"1","jsonrpc":"2.0"} from http://mainnet-seed-0016.nkn.org:30003
2019/09/10 15:20:47.202314 ←[0;33m[WARN ]←[m GID 1, create ID from http://mainnet-seed-0016.nkn.org:30003 met error: CreateID(http://mainnet-seed-0016.nkn.org:30003) resp error: {"error":{"code":-45021,"data":"[VerifyTransaction] txn hash is greater than MaxGenerateIDTxnHash","message":"INTERNAL ERROR, can not append tx to txpool"},"id":"1","jsonrpc":"2.0"}

This is normal. It will take between 15min - 1 hour to generate ID, since we introduced a small crypto puzzle to solved before new mining nodes join the network.

Ok, but process working about 10-15 sec and then terminated with message:
[ERROR]←[m GID 1, Panic: Get or create id error: create ID failed