bcoin-org/bcash

Repeating syntax error when attempting to setup full node?

Closed this issue · 2 comments

Trying to start on an Apple Macbook Air (running High Sierra) I see a repeated error:

[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (some_ip_address:some_port)

I also repeatedly see this...

[info] (net) Initialized header chain to height 0

... which makes me think something is not working.

thanks for looking ... here is a bigger copy paste from my iTerm...

 => ./bin/bcash
[info] (chain) Chain is loading.
[info] (chain) Checkpoints are enabled.
[info] (chaindb) Opening ChainDB...
[info] (chaindb) ChainDB successfully loaded.
[info] (chaindb) Chain State: hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f tx=1 coin=0 value=0.0.
[info] (chain) Chain Height: 0
[debug] (chain) Memory: rss=55mb, js-heap=13/32mb native-heap=22mb
[debug] (chain) Memory: rss=55mb, js-heap=13/32mb native-heap=22mb
[info] (mempool) Mempool loaded (maxsize=97656.25kb).
[info] (miner) Miner loaded (flags=mined by bcoin).
[warning] (miner) No reward address is set for miner!
[info] (net) Pool loaded (maxpeers=8).
[info] (net) Initialized header chain to height 0 (checkpoint=0000000069e244f73d78e8fd29ba2fd2ed618bd6fa2ee92559f542fdb26e7c1d).
[info] (wallet) Added 22 hashes to WalletDB filter.
[info] (wallet) Added 0 outpoints to WalletDB filter.
[info] (wallet) WalletDB loaded (depth=1, height=0, start=0).
[info] (wallet) Resyncing from server...
[info] (wallet) Sending filter to server (5.1418256759643555mb).
[info] (wallet) Syncing state from height 0.
[info] (wallet) WalletDB is scanning 1 blocks.
[info] (wallet) Rolled back to same height (0).
[info] (chaindb) Scanning from block 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f.
[info] (wallet) Wallet opened (primary).
[info] (chaindb) Scanning block 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f (0).
[warning] (wallet) Already saw WalletDB block (0).
[info] (wallet) Loaded primary wallet (id=primary, wid=0, address=1P4xG2KZBHPgD79sNPSNGTanauom255UJS)
[info] (http) Wallet HTTP server listening on 127.0.0.1 (port=8334).
[info] (http) Node HTTP server listening on 127.0.0.1 (port=8332).
[info] (node) Node is loaded.
[info] (chaindb) Finished scanning 1 blocks.
[info] (wallet) Resending from 1 wallets.
[info] (net) External IPv4 found (dns): 107.10.18.214.
[debug] (net) Could not find external IPv6 (dns).
[debug] (net) Error: queryAaaa ECONNREFUSED myip.opendns.com
[debug] (net) Connecting to 45.63.11.146:8333.
[info] (net) Adding loader peer (45.63.11.146:8333).
[debug] (net) Refilling peers (1/8).
[debug] (net) Connecting to 119.23.173.200:8333.
[debug] (net) Connecting to 52.210.252.123:8333.
[debug] (net) Connecting to 45.79.131.146:8333.
[debug] (net) Connecting to 138.197.18.29:8333.
[debug] (net) Connecting to 139.59.96.88:8333.
[debug] (net) Connecting to 139.162.172.224:8333.
[debug] (net) Connecting to 39.108.246.189:8333.
[info] (net) Pool server listening on 0.0.0.0 (port=8333).
[info] (net) Connected to 138.197.18.29:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (138.197.18.29:8333)
[info] (net) Connected to 45.79.131.146:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (45.79.131.146:8333)
[info] (net) Connected to 45.63.11.146:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (45.63.11.146:8333)
[info] (net) Removed loader peer (45.63.11.146:8333).
[info] (net) Initialized header chain to height 0 (checkpoint=0000000069e244f73d78e8fd29ba2fd2ed618bd6fa2ee92559f542fdb26e7c1d).
[info] (net) Connected to 139.162.172.224:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (139.162.172.224:8333)
[info] (net) Connected to 52.210.252.123:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (52.210.252.123:8333)
[info] (net) Connected to 119.23.173.200:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (119.23.173.200:8333)
[info] (net) Connected to 39.108.246.189:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (39.108.246.189:8333)
[info] (net) Connected to 139.59.96.88:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (139.59.96.88:8333)
[debug] (net) Connecting to 83.69.203.44:8333.
[info] (net) Adding loader peer (83.69.203.44:8333).
[debug] (net) Refilling peers (1/8).
[debug] (net) Connecting to 54.206.46.40:8333.
[debug] (net) Connecting to 35.158.82.156:8333.
[debug] (net) Connecting to 119.23.173.131:8333.
[debug] (net) Connecting to 118.31.164.147:8333.
[debug] (net) Connecting to 47.88.77.178:8333.
[debug] (net) Connecting to 104.236.231.51:8333.
[debug] (net) Connecting to 54.169.231.55:8333.
[info] (net) Connected to 104.236.231.51:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (104.236.231.51:8333)
[info] (net) Connected to 47.88.77.178:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (47.88.77.178:8333)
[info] (net) Connected to 35.158.82.156:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (35.158.82.156:8333)
[info] (net) Connected to 83.69.203.44:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (83.69.203.44:8333)
[info] (net) Removed loader peer (83.69.203.44:8333).
[info] (net) Initialized header chain to height 0 (checkpoint=0000000069e244f73d78e8fd29ba2fd2ed618bd6fa2ee92559f542fdb26e7c1d).
[debug] (net) Error: Socket Error: ECONNREFUSED (118.31.164.147:8333)
[info] (net) Connected to 54.206.46.40:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (54.206.46.40:8333)
[info] (net) Connected to 54.169.231.55:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (54.169.231.55:8333)
[info] (net) Connected to 119.23.173.131:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (119.23.173.131:8333)
[debug] (net) Connecting to 47.94.37.147:8333.
[info] (net) Adding loader peer (47.94.37.147:8333).
[debug] (net) Refilling peers (1/8).
[debug] (net) Connecting to 118.31.166.106:8333.
[debug] (net) Connecting to 50.116.5.32:8333.
[debug] (net) Connecting to 198.27.188.248:8333.
[debug] (net) Connecting to 47.88.189.180:8333.
[debug] (net) Connecting to 47.52.10.12:8333.
[debug] (net) Connecting to 118.31.166.116:8333.
[debug] (net) Connecting to 108.49.30.164:8333.
[info] (net) Connected to 50.116.5.32:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (50.116.5.32:8333)
[info] (net) Connected to 47.52.10.12:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (47.52.10.12:8333)
[info] (net) Connected to 47.94.37.147:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (47.94.37.147:8333)
[info] (net) Removed loader peer (47.94.37.147:8333).
[info] (net) Initialized header chain to height 0 (checkpoint=0000000069e244f73d78e8fd29ba2fd2ed618bd6fa2ee92559f542fdb26e7c1d).
[info] (net) Connected to 118.31.166.116:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (118.31.166.116:8333)
[debug] (net) Error: Socket Error: ECONNREFUSED (118.31.166.106:8333)
[info] (net) Connected to 47.88.189.180:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (47.88.189.180:8333)
[info] (net) Repurposing peer for loader (198.27.188.248:8333).
[debug] (net) Refilling peers (2/8).
[debug] (net) Connecting to 118.31.166.50:8333.
[debug] (net) Connecting to 45.32.188.51:8333.
[debug] (net) Connecting to 47.90.204.241:8333.
[debug] (net) Connecting to 24.48.13.87:8333.
[debug] (net) Connecting to 106.14.105.48:8333.
[debug] (net) Connecting to 106.15.56.81:8333.
[info] (net) Connected to 47.90.204.241:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (47.90.204.241:8333)
[info] (net) Connected to 24.48.13.87:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (24.48.13.87:8333)
[info] (net) Connected to 118.31.166.50:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (118.31.166.50:8333)
[info] (net) Connected to 106.15.56.81:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (106.15.56.81:8333)
[info] (net) Connected to 45.32.188.51:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (45.32.188.51:8333)
[info] (net) Connected to 106.14.105.48:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (106.14.105.48:8333)
[debug] (net) Refilling peers (2/8).
[debug] (net) Connecting to 98.151.16.60:8333.
[debug] (net) Connecting to 118.31.169.98:8333.
[debug] (net) Connecting to 45.33.14.27:8333.
[debug] (net) Connecting to 45.79.189.157:8333.
[debug] (net) Connecting to 106.15.57.46:8333.
[debug] (net) Connecting to 54.153.6.133:8333.
[info] (net) Connected to 45.79.189.157:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (45.79.189.157:8333)
[info] (net) Connected to 45.33.14.27:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (45.33.14.27:8333)
[info] (net) Connected to 54.153.6.133:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (54.153.6.133:8333)
[info] (net) Connected to 118.31.169.98:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (118.31.169.98:8333)
[info] (net) Connected to 106.15.57.46:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (106.15.57.46:8333)
[debug] (net) Error: Socket Error: ECONNREFUSED (98.151.16.60:8333)
[debug] (net) Refilling peers (2/8).
[debug] (net) Connecting to 45.79.78.233:8333.
[debug] (net) Connecting to 120.76.202.120:8333.
[debug] (net) Connecting to 13.126.209.117:8333.
[debug] (net) Connecting to 47.89.180.162:8333.
[debug] (net) Connecting to 106.15.53.5:8333.
[debug] (net) Connecting to 118.31.166.94:8333.
[info] (net) Connected to 47.89.180.162:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (47.89.180.162:8333)
[info] (net) Connected to 45.79.78.233:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (45.79.78.233:8333)
[debug] (net) Error: Socket Error: ECONNREFUSED (118.31.166.94:8333)
[info] (net) Connected to 106.15.53.5:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (106.15.53.5:8333)
[info] (net) Connected to 120.76.202.120:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (120.76.202.120:8333)
[info] (net) Connected to 13.126.209.117:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (13.126.209.117:8333)
[debug] (net) Error: Connection timed out. (198.27.188.248:8333)
[info] (net) Removed loader peer (198.27.188.248:8333).
[info] (net) Initialized header chain to height 0 (checkpoint=0000000069e244f73d78e8fd29ba2fd2ed618bd6fa2ee92559f542fdb26e7c1d).
[debug] (net) Error: Connection timed out. (108.49.30.164:8333)
[debug] (net) Connecting to 79.109.117.54:8333.
[info] (net) Adding loader peer (79.109.117.54:8333).
[debug] (net) Refilling peers (1/8).
[debug] (net) Connecting to 13.126.31.141:8333.
[debug] (net) Connecting to 139.196.189.47:8333.
[debug] (net) Connecting to 128.199.119.104:8333.
[debug] (net) Connecting to 45.79.89.253:8333.
[debug] (net) Connecting to 188.214.130.29:8333.
[debug] (net) Connecting to 54.158.87.15:8333.
[debug] (net) Connecting to 139.59.62.158:8333.
[info] (net) Connected to 54.158.87.15:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (54.158.87.15:8333)
[info] (net) Connected to 45.79.89.253:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (45.79.89.253:8333)
[info] (net) Connected to 79.109.117.54:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (79.109.117.54:8333)
[info] (net) Removed loader peer (79.109.117.54:8333).
[info] (net) Initialized header chain to height 0 (checkpoint=0000000069e244f73d78e8fd29ba2fd2ed618bd6fa2ee92559f542fdb26e7c1d).
[info] (net) Connected to 188.214.130.29:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (188.214.130.29:8333)
[info] (net) Connected to 139.196.189.47:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (139.196.189.47:8333)
[info] (net) Connected to 139.59.62.158:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (139.59.62.158:8333)
[info] (net) Connected to 13.126.31.141:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (13.126.31.141:8333)
[info] (net) Connected to 128.199.119.104:8333.
[debug] (net) Error: Socket Error: ERR_INVALID_ARG_TYPE (128.199.119.104:8333)
[debug] (net) Connecting to 118.31.164.108:8333.
[info] (net) Adding loader peer (118.31.164.108:8333).
[debug] (net) Refilling peers (1/8).
[debug] (net) Connecting to 45.79.210.130:8333.
[debug] (net) Connecting to 47.93.123.193:8333.
[debug] (net) Connecting to 47.95.34.221:8333.
[debug] (net) Connecting to 18.196.0.242:8333.

... I have relatively limited node experience ... maybe I have an installation / packages issue?

 => nvm current
v10.1.0
 => node -v
v10.1.0

Is this still happening with new updates ?

Seems to be working now!

Pulled latest and deleted data directory. Will close with this comment. Thanks for following up.