stacks-network / stacks-blockchain-docker

Stacks-blockchain with API using docker compose
GNU General Public License v3.0
29 stars 40 forks source link

stacks node is not syncing #130

Open Parmanand0712 opened 3 weeks ago

Parmanand0712 commented 3 weeks ago

I started the Stacks node following the latest documentation. It initially began syncing, but now it has stopped, and I'm seeing the following logs:

0000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730722959.410331] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730722959.499482] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730722959.542976] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730722959.591467] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain-api | {"level":"info","time":"2024-11-04T12:22:39.658Z","pid":19,"hostname":"9f83e0593d45","name":"stacks-node-event","reqId":"req-1zw","req":{"method":"POST","url":"/new_mempool_tx","hostname":"stacks-blockchain-api:3700","remoteAddress":"172.18.0.4","remotePort":56686},"msg":"incoming request"} stacks-blockchain-api | {"level":"info","time":"2024-11-04T12:22:39.662Z","pid":19,"hostname":"9f83e0593d45","name":"stacks-node-event","reqId":"req-1zw","res":{"statusCode":200},"responseTime":4.080497741699219,"msg":"request completed"} stacks-blockchain | INFO [1730722959.709646] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730722960.123396] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730722960.304738] [stackslib/src/net/rpc.rs:556] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] Handled StacksHTTPRequest, verb: GET, path: /v2/info, processing_time_ms: 0, latency_ms: 0, conn_id: 671, peer_addr: 172.18.0.3:44898, p2p_msg: None stacks-blockchain | INFO [1730722960.659946] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730722961.170422] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730722961.733103] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730722962.381007] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730722962.594575] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730722963.090376] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730722963.656270] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain-api | {"level":"info","time":"2024-11-04T12:22:43.866Z","pid":19,"hostname":"9f83e0593d45","name":"stacks-node-event","reqId":"req-1zx","req":{"method":"POST","url":"/new_mempool_tx","hostname":"stacks-blockchain-api:3700","remoteAddress":"172.18.0.4","remotePort":56698},"msg":"incoming request"} stacks-blockchain-api | {"level":"info","time":"2024-11-04T12:22:43.869Z","pid":19,"hostname":"9f83e0593d45","name":"stacks-node-event","reqId":"req-1zx","res":{"statusCode":200},"responseTime":3.340491771697998,"msg":"request completed"} stacks-blockchain | INFO [1730722964.315027] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730722964.873667] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730722965.503663] [stackslib/src/net/rpc.rs:556] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] Handled StacksHTTPRequest, verb: GET, path: /v2/info, processing_time_ms: 0, latency_ms: 0, conn_id: 672, peer_addr: 172.18.0.3:44914, p2p_msg: None stacks-blockchain | INFO [1730722965.504476] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730722965.977366] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.31.28:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2

0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730726675.622652] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726676.026609] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730726676.177445] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726676.988955] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726677.216002] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730726677.278251] [stackslib/src/net/rpc.rs:556] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] Handled StacksHTTPRequest, verb: GET, path: /v2/info, processing_time_ms: 0, latency_ms: 0, conn_id: 409, peer_addr: 172.18.0.3:59054, p2p_msg: None stacks-blockchain | INFO [1730726677.557341] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726678.199329] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726678.430726] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730726678.765747] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain-api | {"level":"info","time":"2024-11-04T13:24:38.975Z","pid":19,"hostname":"9f83e0593d45","name":"stacks-node-event","reqId":"req-2k3","req":{"method":"POST","url":"/new_mempool_tx","hostname":"stacks-blockchain-api:3700","remoteAddress":"172.18.0.4","remotePort":60550},"msg":"incoming request"} stacks-blockchain-api | {"level":"info","time":"2024-11-04T13:24:38.979Z","pid":19,"hostname":"9f83e0593d45","name":"stacks-node-event","reqId":"req-2k3","res":{"statusCode":200},"responseTime":4.394341945648193,"msg":"request completed"} stacks-blockchain | INFO [1730726679.357569] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726679.964268] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.miners stacks-blockchain | INFO [1730726680.029479] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726680.524415] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_id: SP000000000000000000002Q6VF78.signers-0-1 stacks-blockchain | INFO [1730726680.588200] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726681.226140] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726681.859952] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726682.418404] [stackslib/src/net/rpc.rs:556] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] Handled StacksHTTPRequest, verb: GET, path: /v2/info, processing_time_ms: 0, latency_ms: 0, conn_id: 410, peer_addr: 172.18.0.3:59066, p2p_msg: None stacks-blockchain | INFO [1730726682.515680] [stackslib/src/net/inv/nakamoto.rs:681] [p2p-(0.0.0.0:20444,0.0.0.0:20443)] local.1://(bind=0.0.0.0:20444)(pub=Some(10.0.16.204:20444)): remote peer NACKed our GetNakamotoInv, remote_peer: 700d8595deea6f137a73337d5c4f769e620ebf10://84.32.186.15:20444, error_code: 2 stacks-blockchain | INFO [1730726682.846195] [stackslib/src/net/relay.rs:2532] [relayer-http://0.0.0.0:20443] Got chunks for unconfigured StackerDB replica, stackerdb_contract_i

xinzhongyoumeng commented 3 weeks ago

We also meet the same question.We can see the peer is not stable. the log is below:

Failed to get peer address of TcpStream

And before upgrade api, the node is stable. The before api version is 8.1.2. My node versoin is below (and we see the signer is not necessary, so we don't run the signer) : mainnet

STACKS_BLOCKCHAIN_VERSION=3.0.0.0.0
STACKS_BLOCKCHAIN_API_VERSION=8.2.0
POSTGRES_VERSION=16.4-alpine
Parmanand0712 commented 2 weeks ago

My Node is running on below version

STACKS_BLOCKCHAIN_VERSION=3.0.0.0.0 STACKS_BLOCKCHAIN_API_VERSION=8.2.0 POSTGRES_VERSION=15-alpine

Is it okay to continue with the current PostgreSQL version, or do I need to update it?

If an update is required, what steps should I follow to perform the upgrade?