-
Notifications
You must be signed in to change notification settings - Fork 214
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
Public node sync failed #5759
Comments
if after you stop all your private nodes you see that
it means that node is not able to connect outside. can you try to observe if it even tries to make any connections? for example with:
or observe debug logs from p2p
|
@dshulyak 2024-03-22T09:03:23.012Z WARN node.p2p failed to connect {"address": "{12D3KooWRS47KAs3ZLkBtE2AqjJCwxRYqZKmyLkvombJJdrca8Hz: [/dns4/mainnet-bootnode-6.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWRS47KAs3ZLkBtE2AqjJCwxRYqZKmyLkvombJJdrca8Hz: all dials failed\n * [/ip4/51.38.224.232/tcp/5000] dial backoff"}
2024-03-22T09:03:23.012Z WARN node.p2p failed to connect {"address": "{12D3KooWRcTWDHzptnhJn5h6CtwnokzzMaDLcXv6oM9CxQEXd5FL: [/dns4/mainnet-bootnode-4.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWRcTWDHzptnhJn5h6CtwnokzzMaDLcXv6oM9CxQEXd5FL: all dials failed\n * [/ip4/51.68.142.66/tcp/5000] dial backoff"}
2024-03-22T09:03:23.012Z WARN node.p2p failed to connect {"address": "{12D3KooWRkZMjGNrQfRyeKQC9U58cUwAfyQMtjNsupixkBFag8AY: [/dns4/mainnet-bootnode-14.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWRkZMjGNrQfRyeKQC9U58cUwAfyQMtjNsupixkBFag8AY: all dials failed\n * [/ip4/65.108.15.238/tcp/5000] dial backoff"}
2024-03-22T09:03:23.012Z WARN node.p2p failed to connect {"address": "{12D3KooWG4gk8GtMsAjYxHtbNC7oEoBTMRLbLDpKgSQMQkYBFRsw: [/dns4/mainnet-bootnode-12.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWG4gk8GtMsAjYxHtbNC7oEoBTMRLbLDpKgSQMQkYBFRsw: all dials failed\n * [/ip4/65.108.44.86/tcp/5000] dial backoff"}
2024-03-22T09:03:23.012Z WARN node.p2p failed to connect {"address": "{12D3KooWHK5m83sNj2eNMJMGAngcS9gBja27ho83t79Q2CD4iRjQ: [/dns4/mainnet-bootnode-10.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWHK5m83sNj2eNMJMGAngcS9gBja27ho83t79Q2CD4iRjQ: all dials failed\n * [/ip4/176.9.7.13/tcp/5000] dial backoff"}
2024-03-22T09:03:23.012Z WARN node.p2p failed to connect {"address": "{12D3KooWFYv99aGbtXnZQy6UZxyf72NpkWJp3K4HS8Py35WhKtzE: [/dns4/mainnet-bootnode-8.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWFYv99aGbtXnZQy6UZxyf72NpkWJp3K4HS8Py35WhKtzE: all dials failed\n * [/ip4/35.244.2.151/tcp/5000] dial backoff"}
2024-03-22T09:03:23.013Z WARN node.p2p failed to connect {"address": "{12D3KooWPStnitMbLyWAGr32gHmPr538mT658Thp6zTUujZt3LRf: [/dns4/mainnet-bootnode-0.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWPStnitMbLyWAGr32gHmPr538mT658Thp6zTUujZt3LRf: all dials failed\n * [/ip4/35.245.137.218/tcp/5000] dial backoff"}
2024-03-22T09:03:23.013Z WARN node.p2p failed to connect {"address": "{12D3KooWAsMgXLpyGdsRNjHBF3FaXwnXhyMEqWQYBXUpvCHNzFNK: [/dns4/mainnet-bootnode-2.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWAsMgXLpyGdsRNjHBF3FaXwnXhyMEqWQYBXUpvCHNzFNK: all dials failed\n * [/ip4/35.230.184.228/tcp/5000] dial backoff"}
2024-03-22T09:03:23.013Z WARN node.p2p failed to connect {"address": "{12D3KooWDAFRuFrMNgVQMDy8cgD71GLtPyYyfQzFxMZr2yUBgjHK: [/dns4/mainnet-bootnode-16.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWDAFRuFrMNgVQMDy8cgD71GLtPyYyfQzFxMZr2yUBgjHK: all dials failed\n * [/ip4/34.93.187.208/tcp/5000] dial backoff"}
2024-03-22T09:03:23.017Z WARN node.p2p failed to connect {"address": "{12D3KooWMJmdfwxDctuGGoTYJD8Wj9jubQBbPfrgrzzXaQ1RTKE6: [/dns4/mainnet-bootnode-18.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWMJmdfwxDctuGGoTYJD8Wj9jubQBbPfrgrzzXaQ1RTKE6: all dials failed\n * [/ip4/5.9.156.149/tcp/5000] dial backoff"} |
2024-03-22T09:10:20.155Z WARN node.p2p failed to connect {"address": "{12D3KooWG4gk8GtMsAjYxHtbNC7oEoBTMRLbLDpKgSQMQkYBFRsw: [/dns4/mainnet-bootnode-12.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWG4gk8GtMsAjYxHtbNC7oEoBTMRLbLDpKgSQMQkYBFRsw: all dials failed\n * [/ip4/65.108.44.86/tcp/5000] dial backoff"}
2024-03-22T09:10:20.155Z WARN node.p2p failed to connect {"address": "{12D3KooWHK5m83sNj2eNMJMGAngcS9gBja27ho83t79Q2CD4iRjQ: [/dns4/mainnet-bootnode-10.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWHK5m83sNj2eNMJMGAngcS9gBja27ho83t79Q2CD4iRjQ: all dials failed\n * [/ip4/176.9.7.13/tcp/5000] dial backoff"}
2024-03-22T09:10:20.156Z WARN node.p2p failed to connect {"address": "{12D3KooWRkZMjGNrQfRyeKQC9U58cUwAfyQMtjNsupixkBFag8AY: [/dns4/mainnet-bootnode-14.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWRkZMjGNrQfRyeKQC9U58cUwAfyQMtjNsupixkBFag8AY: all dials failed\n * [/ip4/65.108.15.238/tcp/5000] dial backoff"}
2024-03-22T09:10:20.157Z WARN node.p2p failed to connect {"address": "{12D3KooWDAFRuFrMNgVQMDy8cgD71GLtPyYyfQzFxMZr2yUBgjHK: [/dns4/mainnet-bootnode-16.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWDAFRuFrMNgVQMDy8cgD71GLtPyYyfQzFxMZr2yUBgjHK: all dials failed\n * [/ip4/34.93.187.208/tcp/5000] dial backoff"}
2024-03-22T09:10:20.164Z WARN node.p2p failed to connect {"address": "{12D3KooWRS47KAs3ZLkBtE2AqjJCwxRYqZKmyLkvombJJdrca8Hz: [/dns4/mainnet-bootnode-6.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWRS47KAs3ZLkBtE2AqjJCwxRYqZKmyLkvombJJdrca8Hz: all dials failed\n * [/ip4/51.38.224.232/tcp/5000] dial backoff"}
2024-03-22T09:10:20.164Z WARN node.p2p failed to connect {"address": "{12D3KooWAsMgXLpyGdsRNjHBF3FaXwnXhyMEqWQYBXUpvCHNzFNK: [/dns4/mainnet-bootnode-2.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWAsMgXLpyGdsRNjHBF3FaXwnXhyMEqWQYBXUpvCHNzFNK: all dials failed\n * [/ip4/35.230.184.228/tcp/5000] dial backoff"}
2024-03-22T09:10:20.165Z WARN node.p2p failed to connect {"address": "{12D3KooWFYv99aGbtXnZQy6UZxyf72NpkWJp3K4HS8Py35WhKtzE: [/dns4/mainnet-bootnode-8.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWFYv99aGbtXnZQy6UZxyf72NpkWJp3K4HS8Py35WhKtzE: all dials failed\n * [/ip4/35.244.2.151/tcp/5000] dial backoff"}
2024-03-22T09:10:20.167Z WARN node.p2p failed to connect {"address": "{12D3KooWMJmdfwxDctuGGoTYJD8Wj9jubQBbPfrgrzzXaQ1RTKE6: [/dns4/mainnet-bootnode-18.spacemesh.network/tcp/5000]}", "error": "failed to dial: failed to dial 12D3KooWMJmdfwxDctuGGoTYJD8Wj9jubQBbPfrgrzzXaQ1RTKE6: all dials failed\n * [/ip4/5.9.156.149/tcp/5000] dial backoff"}
2024-03-22T09:10:41.799Z INFO node.fetcher peer stats {"total": 0, "global average latency": "0s", "best peers": [], "name": "fetcher"}
2024-03-22T09:10:41.832Z INFO node.sync node is too far behind {"sessionId": "e1d90b8f", "current": "72590", "last synced": "72513", "behind threshold": 36, "name": "sync"}
2024-03-22T09:10:50.168Z WARN node.p2p failed to connect {"address": "{12D3KooWMipk67c6SdWKGf88mcDcKpsNC9yYqE7YLVfYJrNpAQbp: [/ip4/10.0.63.89/tcp/754]}", "error": "failed to dial: failed to dial 12D3KooWMipk67c6SdWKGf88mcDcKpsNC9yYqE7YLVfYJrNpAQbp: no good addresses\n * [/ip4/10.0.63.89/tcp/754] gater disallows connection to peer"}
2024-03-22T09:10:50.168Z WARN node.p2p failed to connect {"address": "{12D3KooWFMvWsyedivfRVEoaGKYenUYTgjJbKsTavtYhb3yQzCPc: [/ip4/10.0.104.48/tcp/758]}", "error": "failed to dial: failed to dial 12D3KooWFMvWsyedivfRVEoaGKYenUYTgjJbKsTavtYhb3yQzCPc: no good addresses\n * [/ip4/10.0.104.48/tcp/758] gater disallows connection to peer"}
2024-03-22T09:10:50.169Z WARN node.p2p failed to connect {"address": "{12D3KooWQjBFD8FZ1CFZgyCFHL4MPPspuDcSbPkKcMNceWicUqny: [/ip4/10.0.66.169/tcp/755]}", "error": "failed to dial: failed to dial 12D3KooWQjBFD8FZ1CFZgyCFHL4MPPspuDcSbPkKcMNceWicUqny: no good addresses\n * [/ip4/10.0.66.169/tcp/755] gater disallows connection to peer"}
2024-03-22T09:10:50.169Z WARN node.p2p failed to connect {"address": "{12D3KooWHmNMzoCveeThwf1s2iAgMn1L8SSFEr9G87qbH5aa8Xfe: [/ip4/10.0.173.159/tcp/751]}", "error": "failed to dial: failed to dial 12D3KooWHmNMzoCveeThwf1s2iAgMn1L8SSFEr9G87qbH5aa8Xfe: no good addresses\n * [/ip4/10.0.173.159/tcp/751] gater disallows connection to peer"}
2024-03-22T09:10:50.169Z WARN node.p2p failed to connect {"address": "{12D3KooWJwwwNxPSogSZM9EG2iwvFi6ejVW8qnHPWSVBgzWBcnSh: [/ip4/10.0.90.215/tcp/751]}", "error": "failed to dial: failed to dial 12D3KooWJwwwNxPSogSZM9EG2iwvFi6ejVW8qnHPWSVBgzWBcnSh: no good addresses\n * [/ip4/10.0.90.215/tcp/751] gater disallows connection to peer"}
2024-03-22T09:10:50.169Z WARN node.p2p failed to connect {"address": "{12D3KooWLf9QB69Wv9VcsMMvDEJzr72tHacV2HiAh8ZVmfPcjvpu: [/ip4/10.0.75.62/tcp/754]}", "error": "failed to dial: failed to dial 12D3KooWLf9QB69Wv9VcsMMvDEJzr72tHacV2HiAh8ZVmfPcjvpu: no good addresses\n * [/ip4/10.0.75.62/tcp/754] gater disallows connection to peer"}
2024-03-22T09:10:50.169Z WARN node.p2p failed to connect {"address": "{12D3KooWR93rJTr2uQTwQXYG8uAmbGdjEs7wKqSQ1tX8QYCbM9rK: [/ip4/10.0.33.109/tcp/757]}", "error": "failed to dial: failed to dial 12D3KooWR93rJTr2uQTwQXYG8uAmbGdjEs7wKqSQ1tX8QYCbM9rK: no good addresses\n * [/ip4/10.0.33.109/tcp/757] gater disallows connection to peer"}
2024-03-22T09:10:50.169Z WARN node.p2p failed to connect {"address": "{12D3KooWQZkK5NpbQQHnVhh6tynuaQQuqrWvbfujAG2P2b1LtspU: [/ip4/10.0.35.133/tcp/755]}", "error": "failed to dial: failed to dial 12D3KooWQZkK5NpbQQHnVhh6tynuaQQuqrWvbfujAG2P2b1LtspU: no good addresses\n * [/ip4/10.0.35.133/tcp/755] gater disallows connection to peer"}
2024-03-22T09:10:50.169Z WARN node.p2p failed to connect {"address": "{12D3KooWR2g5FyjS8Cq2tR3sNKutWZjFrQCk3aZdn5vHwfuvDisk: [/ip4/10.0.39.227/tcp/752]}", "error": "failed to dial: failed to dial 12D3KooWR2g5FyjS8Cq2tR3sNKutWZjFrQCk3aZdn5vHwfuvDisk: no good addresses\n * [/ip4/10.0.39.227/tcp/752] gater disallows connection to peer"}
2024-03-22T09:10:50.169Z WARN node.p2p failed to connect {"address": "{12D3KooWCvLBCk4eLMY7A1ph5F5MXAdwRuWaXsYA9v8sgic1g4dA: [/ip4/10.0.42.188/tcp/754]}", "error": "failed to dial: failed to dial 12D3KooWCvLBCk4eLMY7A1ph5F5MXAdwRuWaXsYA9v8sgic1g4dA: no good addresses\n * [/ip4/10.0.42.188/tcp/754] gater disallows connection to peer"}
2024-03-22T09:10:50.169Z WARN node.p2p failed to connect {"address": "{12D3KooWHg1GXiwaZkrmcDgt2zu5uZagQModzJULK87ZH9hRSckb: [/ip4/10.0.110.168/tcp/751]}", "error": "failed to dial: failed to dial 12D3KooWHg1GXiwaZkrmcDgt2zu5uZagQModzJULK87ZH9hRSckb: no good addresses\n * [/ip4/10.0.110.168/tcp/751] gater disallows connection to peer"}
2024-03-22T09:10:50.170Z WARN node.p2p failed to connect {"address": "{12D3KooWJ7xFV1TpHs2dZaMtTU17Ea2F9nTQWGi1ub8M9HgFRf7U: [/ip4/10.0.52.215/tcp/752]}", "error": "failed to dial: failed to dial 12D3KooWJ7xFV1TpHs2dZaMtTU17Ea2F9nTQWGi1ub8M9HgFRf7U: no good addresses\n * [/ip4/10.0.52.215/tcp/752] gater disallows connection to peer"}
2024-03-22T09:10:50.170Z WARN node.p2p failed to connect {"address": "{12D3KooWRyaa159hc7gS9Wp2hEJJUUyVALYUPGewV3ZuXZnrZ2HW: [/ip4/10.0.31.195/tcp/757]}", "error": "failed to dial: failed to dial 12D3KooWRyaa159hc7gS9Wp2hEJJUUyVALYUPGewV3ZuXZnrZ2HW: no good addresses\n * [/ip4/10.0.31.195/tcp/757] gater disallows connection to peer"}
2024-03-22T09:10:50.171Z WARN node.p2p failed to connect {"address": "{12D3KooWLEMF3DeSVS9HvboZL3HYP6xJgzHgRnS6VRnNYtv6tL7K: [/ip4/10.0.86.198/tcp/754]}", "error": "failed to dial: failed to dial 12D3KooWLEMF3DeSVS9HvboZL3HYP6xJgzHgRnS6VRnNYtv6tL7K: no good addresses\n * [/ip4/10.0.86.198/tcp/754] gater disallows connection to peer"} |
@Hugh-Top somehow you see all addresses from private IP class via: #5511 You can change that behavior by setting But additionally, you should check if that NAT is expected here. |
@pigmej hello, i have changed config by setting |
in the logs above node fails to connect to bootnodes, and therefore can't obtain public peers. thats the first problem to solve. nothing will work without public peer. i can't reproduce it on nodes where i have access.
after that problem is solved it will be better to to try using that public node with post services instead of public/private setup. |
Yes they do, some of them have per IP some per peer, some time based to avoid being easily disabled by attackers. |
There is discovery mechanism now, and more peers in general, I consider that to be solved by now. Please feel free to reopen if needed. |
Description
I set 6 public nodes. after upgrade 1.4.x. public nodes sync failed forllow logs:
most of best peers are private nodes
The sync has been over 12 hours old and the latest snapshot was downloaded before starting
public nodes config:
after stop all private nodes, public node log:
Steps to reproduce
Actual Behavior
Expected Behavior
Environment
Please complete the following information:
Additional Resources
The text was updated successfully, but these errors were encountered: