dgarage / NBXplorer

NBitcoin Explorer
MIT License
320 stars 209 forks source link

NBXplorer v2.2.20 - Connection unexpectedly failed: Unexpected exception while connecting to socket #407

Open dajohi opened 1 year ago

dajohi commented 1 year ago

My NBXplorer v2.2.20 w/ postgres 12 and full-node bitcoind is looping on startup.

Feb 17 18:31:26 btc run.sh[1026581]: info: Configuration:  BTC: Testing RPC connection to http://127.0.0.1:8332/
Feb 17 18:31:26 btc run.sh[1026581]: info: Configuration:  BTC: RPC connection successful
Feb 17 18:31:26 btc run.sh[1026581]: info: Configuration:  BTC: Full node version detected: 220000
Feb 17 18:31:27 btc run.sh[1026581]: info: Configuration:  BTC: Loading chain from cache...
Feb 17 18:31:27 btc run.sh[1026581]: info: Configuration:  BTC: Height: 777036
Feb 17 18:31:27 btc run.sh[1026581]: info: Configuration:  BTC: Trying to connect via the P2P protocol to trusted node (127.0.0.1:8333)...
Feb 17 18:31:27 btc run.sh[1026581]: info: Explorer:       BTC: TCP Connection succeed, handshaking...
Feb 17 18:31:27 btc run.sh[1026581]: info: Explorer:       BTC: Handshaked
Feb 17 18:31:27 btc run.sh[1026581]: info: Configuration:  BTC: Loading chain from node
Feb 17 18:31:27 btc run.sh[1026581]: info: Explorer:       BTC: Loading chain...
Feb 17 18:31:27 btc run.sh[1026581]: info: Explorer:       BTC: Chain loaded
Feb 17 18:31:27 btc run.sh[1026581]: info: Explorer:       BTC: NBXplorer is correctly whitelisted by the node
Feb 17 18:31:27 btc run.sh[1026581]: info: Configuration:  BTC: Height: 777036
Feb 17 18:31:27 btc run.sh[1026581]: info: Explorer:       BTC: Handshaked node
Feb 17 18:31:27 btc run.sh[1026581]: info: Explorer:       BTC: Starting scan at block 776883
Feb 17 18:31:27 btc run.sh[1026581]: info: Events:         BTC: Node state changed: NotStarted => NBXplorerSynching
Feb 17 18:31:27 btc run.sh[1026581]: fail: Explorer:       BTC: Connection unexpectedly failed: Unexpected exception while connecting to socket
Feb 17 18:31:27 btc run.sh[1026581]: info: Events:         BTC: Node state changed: NBXplorerSynching => NotStarted
Feb 17 18:31:27 btc run.sh[1026581]: info: Configuration:  BTC: Testing RPC connection to http://127.0.0.1:8332/
Feb 17 18:31:27 btc run.sh[1026581]: info: Configuration:  BTC: RPC connection successful
Feb 17 18:31:27 btc run.sh[1026581]: info: Configuration:  BTC: Full node version detected: 220000
NicolasDorier commented 1 year ago

it should work, nothing sould have changed. I don't see any error here?

NicolasDorier commented 1 year ago

@dajohi Loading chain..., it show you aren't using the postgres backend but the dbtrie backend.