Closed 0xm8n closed 5 years ago
You need to register your node's pubkey first, and then the admin's email will receive a link to approve it.
Thanks a lot it solved.
You need to register your node's pubkey first, and then the admin's email will receive a link to approve it.
How to register? I have a same error now
Thanks a lot it solved.
How did you solved? How to register node's public key??? I have same error and do not understand how to register....
[2019-02-01 01:00:18,215 INFO log.py:79] {"id": 1, "jsonrpc": "2.0", "method": "zil_requestWork", "params": ["0x031d55508205360983a02f5e785a86e00d5d52b990c932467e5c68a9b4fcd49cfd", "0x5741872eff441878dd8e13ddec6693a656bcaedceb72e63b73d351d569d6f698", "0x0000000000000007", "0x000fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "0x0000003c", "0x32ADF3A2195E965429ADF0C470717F890D6BC8FE2005DCD62B2582EC96E84CFB06490DA1CDB59E119BABF2D80D3282B22AB1738A9B34CC4537EAE61925595AA0"]}
[2019-02-01 01:00:18,225 WARNING zil.py:55] unauthorized public key: 0x031d55508205360983a02f5e785a86e00d5d52b990c932467e5c68a9b4fcd49cfd
But the pubkey is valid and used to join the network successful xxx+ 5710 1 10 07:54 pts/1 00:00:10 /home/xxx/Zilliqa/build/bin/zilliqa --privk xxx --pubk 031D55508205360983A02F5E785A86E00D5D52B990C932467E5C68A9B4FCD49CFD --address xxx --port xxx --synctype 1
I found the zil.py that line 55 is calling zilnode.py function ZilNode and call
def get_by_pub_key(cls, pub_key, authorized=True): query = mg.Q(pub_key=pub_key) if authorized is not None: query = query & mg.Q(authorized=authorized) return cls.objects(query).first()
is it need to add anything to mongo db to make this pubkey authorized?