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

stacks node is not syncing #130

Open
Parmanand0712 opened this issue Nov 4, 2024 · 2 comments
Open

stacks node is not syncing #130

Parmanand0712 opened this issue Nov 4, 2024 · 2 comments

Comments

@Parmanand0712
Copy link

Parmanand0712 commented Nov 4, 2024

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

@Parmanand0712 Parmanand0712 changed the title stacks node is not syncing FATAL: called a nakamoto function outside of epoch 3 Nov 4, 2024
@Parmanand0712 Parmanand0712 changed the title FATAL: called a nakamoto function outside of epoch 3 stacks node is not syncing Nov 4, 2024
@xinzhongyoumeng
Copy link

xinzhongyoumeng commented Nov 5, 2024

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
Copy link
Author

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?

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