Skip to content

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

@dajohi

Description

@dajohi

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
  • Is there a known fix? can it be back-ported to v2.2.21 perhaps?
  • Where are the upgrade docs from going from v2.2.20 to latest? Does Postgresql 12 work with the latest NBXplorer?
  • Is there a way to redownload just the chain from bitcoind?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions