Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dajohi opened this issue Feb 17, 2023 · 2 comments

Comments

@dajohi
Copy link

dajohi commented Feb 17, 2023

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?
@NicolasDorier
Copy link
Member

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

@NicolasDorier
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants