Developers Forum for XinFin XDC Network

king aaron
king aaron

Posted on

Problems running RPC nodes

Is it normal to use snapshots to synchronize RPC nodes and generate normal logs?

Starting nodes with enode://2c19c70a9c4134936926bbf1 ..........................
WARN [05-07|15:02:43.394] The flag XDCx-datadir or XDCx.datadir is deprecated, please remove this flag
WARN [05-07|15:02:46.445] Head state missing, repairing chain number=101,599,567 hash=9df8cf..c991b8
WARN [05-07|15:02:47.694] [initial] initial v2 related parameters
WARN [05-07|15:02:47.702] [initial] miner wait period period=2
WARN [05-07|15:02:47.703] [initial] finish initialisation

How long should this phase take? I haven't seen any new logs for an hour, and I'm starting to doubt if it's even working.

I set it up using Docker, following this setup: https://www.xdc.dev/ruslan_wing/setting-up-an-rpc-node-server-for-your-dapp-on-xdc-network-a-comprehensive-guide-3dm9

Discussion (2)

Collapse
gzliudan profile image
Daniel Liu

There is no info messages by default. Please check the current block number by JSON RPC API.

Collapse
aaron profile image
king aaron Author

Okay, I've checked the height, and it's growing, but there's only 1 peer. How can I increase it?