Developers Forum for XinFin XDC Network

Discussion on: [Resolved]Masternode on testnet not syncing

Collapse
inv4fee2020 profile image
inv4fee2020 Author

Thanks Sal.

There are no errors showing in the log when running

xinfinnetwork_1  | INFO [02-04|16:50:25] Maximum peer count                       ETH=25 LES=0 total=25
xinfinnetwork_1  | INFO [02-04|16:50:25] XDCX datadir                             path=/work/xdcchain-testnet/XDCx
xinfinnetwork_1  | INFO [02-04|16:50:25] Allocated cache and file handles         database=/work/xdcchain-testnet/XDCx cache=134.22mB handles=1024
xinfinnetwork_1  | INFO [02-04|16:50:25] Starting peer-to-peer node               instance=XDC/v1.4.6-stable/linux-amd64/go1.14.15
xinfinnetwork_1  | INFO [02-04|16:50:25] Allocated cache and file handles         database=/work/xdcchain-testnet/XDC/chaindata cache=805.31mB handles=1024
xinfinnetwork_1  | INFO [02-04|16:50:25] Initialised chain configuration          config="{ChainID: 51 Homestead: 1 DAO: <nil> DAOSupport: false EIP150: 2 EIP155: 3 EIP158: 3 Byzantium: 4 Constantinople: <nil> Engine: XDPoS}"
xinfinnetwork_1  | INFO [02-04|16:50:25] Initialising Ethereum protocol           versions="[63 62]" network=51
xinfinnetwork_1  | INFO [02-04|16:50:25] Loaded most recent local header          number=0 hash=bdea51…640075 td=1
xinfinnetwork_1  | INFO [02-04|16:50:25] Loaded most recent local full block      number=0 hash=bdea51…640075 td=1
xinfinnetwork_1  | INFO [02-04|16:50:25] Loaded most recent local fast block      number=0 hash=bdea51…640075 td=1
xinfinnetwork_1  | INFO [02-04|16:50:25] Loaded local transaction journal         transactions=0 dropped=0
xinfinnetwork_1  | INFO [02-04|16:50:25] Regenerated local transaction journal    transactions=0 accounts=0
xinfinnetwork_1  | INFO [02-04|16:50:25] Starting P2P networking
xinfinnetwork_1  | INFO [02-04|16:50:27] UDP listener up                          self=enode://2dcb7fd099a8c99c7dcb05160a4460f495eb3d809aaa64ea0358af56e3417d76afbef035344166b72d243f705655bd24aa275a59b1e7e8636d99ba854c80e12b@[::]:30304
xinfinnetwork_1  | INFO [02-04|16:50:27] Stats daemon started
xinfinnetwork_1  | INFO [02-04|16:50:27] RLPx listener up                         self=enode://2dcb7fd099a8c99c7dcb05160a4460f495eb3d809aaa64ea0358af56e3417d76afbef035344166b72d243f705655bd24aa275a59b1e7e8636d99ba854c80e12b@[::]:30304
xinfinnetwork_1  | INFO [02-04|16:50:27] IPC endpoint opened                      url=/work/xdcchain-testnet/XDC.ipc
xinfinnetwork_1  | INFO [02-04|16:50:27] HTTP endpoint opened                     url=http://0.0.0.0:8555            cors=* vhosts=*
xinfinnetwork_1  | INFO [02-04|16:50:27] WebSocket endpoint opened                url=ws://[::]:8556
xinfinnetwork_1  | INFO [02-04|16:50:28] Unlocked account                         address=xdc42e490E0c04F1be8c8cb9b76f630BF97F662169D
xinfinnetwork_1  | INFO [02-04|16:50:28] Etherbase automatically configured       address=xdc42e490E0c04F1be8c8cb9b76f630BF97F662169D
Enter fullscreen mode Exit fullscreen mode
Collapse
inv4fee2020 profile image
inv4fee2020 Author

I node that docker process is binding to ipv6 - I have ensured that the necessary ports are permitted inbound in ufw.

There are no other log sources that I can check based on exploring the docker image.

Thread Thread
mrblockchain22 profile image
Salomon Morales

Usually when I stand a node and it doesnt gain peers, bringing down the node, restarting the server and bring the node back up helps with that. If you dont see any errors in the logs, could be a firewall issue but you said you already checked ports. Maybe @anilchinchawale has more details.

Thread Thread
inv4fee2020 profile image
inv4fee2020 Author

Thanks Sal. Appreciate you looking into it. Its a strange one to be sure.
I have looked at the listening ports and ensured that ufw reflected the same across both ipv4 & ipv6. I have also disabled ipv6 and re-installed the node. I have disabled the ufw firewall also but to no avail.

I know it should be just a case of plug and play as such, the lack of any error or info messages makes it difficult to trouble shoot.

There are no other form of firewalls from a hosting provider perspective.

I am using the exact same server spec & provider as my mainnet master node which has experienced no issues with syncing.

thoughts?

Thread Thread
mrblockchain22 profile image
Salomon Morales

Which host provider are you using? if you dont mind me asking. I have installed XDC nodes from Vultr, LiteServer, and several others but I found that Contabo sometimes requires a reboot after installing the node...not sure why. Same issues you encountered...no errors in the logs or anything to indicate issues. Im just curious.