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

[amoy] Heimdall v.1.2.0 unable to connect to any peers #1232

Closed
alternativc opened this issue Feb 6, 2025 · 10 comments
Closed

[amoy] Heimdall v.1.2.0 unable to connect to any peers #1232

alternativc opened this issue Feb 6, 2025 · 10 comments

Comments

@alternativc
Copy link

Heimdall version (use heimdall version or git rev-parse --verify HEAD if installed from source):

root@polygon-amoy:/var/lib/bor# heimdalld version
1.2.0

Environment:

  • OS PRETTY_NAME="Ubuntu 20.04.6 LTS"
  • Install tools: Vanilla system
  • Others: Installed both heimdall and bor

What happened:
Running a sentry node on the amoy network with latest version and snapshot, however no peers can be reached. This has been the state for 2days now.

What you expected to happen:
To eventually connect to a peer and start syncing

Have you tried the latest version: yes/no
yes

How to reproduce it (as minimally and precisely as possible):
Performed the following steps:

  • install heimdall via curl -L https://raw.githubusercontent.com/maticnetwork/install/main/heimdall.sh | bash -s -- v1.2.0 amoy sentry
  • download snapshot from https://snapshots.publicnode.com/polygon-amoy-heimdall-6690600.tar.lz4
  • extract the snapshot into /var/lib/heimdall/data and correct permissions to be owned by heimdall:nogroup recursively
  • start the heimdalld services

Logs (paste a small part showing an error (< 10 lines) or link a pastebin, gist, etc. containing more of the log file):

Feb 06 08:16:38 polygon-amoy heimdalld[3015891]: ERROR[2025-02-06|08:16:38.615] Peer Info                                    module=pex numPeers=0
...
Feb 06 08:16:38 polygon-amoy heimdalld[3015891]: ERROR[2025-02-06|08:16:38.615] Peer Info                                    module=pex numPeers=0
Feb 06 08:16:38 polygon-amoy heimdalld[3015891]: INFO [2025-02-06|08:16:38.683] Starting application REST service (chain-id: "")... module=rest-server
Feb 06 08:16:38 polygon-amoy heimdalld[3015891]: INFO [2025-02-06|08:16:38.683] GRPC Server started                          module=gRPC-server addr=0.0.0.0:3132
Feb 06 08:16:38 polygon-amoy heimdalld[3015891]: INFO [2025-02-06|08:16:38.683] Starting RPC HTTP server on [::]:1317        module=rest-server
Feb 06 08:16:41 polygon-amoy heimdalld[3015891]: ERROR[2025-02-06|08:16:41.630] Error dialing peer                           module=p2p err="dial tcp 54.171.220.164:26656: i/o timeout"
Feb 06 08:16:41 polygon-amoy heimdalld[3015891]: ERROR[2025-02-06|08:16:41.752] Error dialing peer                           module=p2p err="dial tcp 13.251.184.185:26656: i/o timeout"
Feb 06 08:16:41 polygon-amoy heimdalld[3015891]: ERROR[2025-02-06|08:16:41.809] Error dialing peer                           module=p2p err="dial tcp 47.128.184.10:26656: i/o timeout"
Feb 06 08:16:41 polygon-amoy heimdalld[3015891]: ERROR[2025-02-06|08:16:41.981] Error dialing peer                           module=p2p err="dial tcp 54.217.171.196:26656: i/o timeout"
Feb 06 08:17:08 polygon-amoy heimdalld[3015891]: ERROR[2025-02-06|08:17:08.616] Peer Info
..
### Hangs here forever

Config (you can paste only the changes you've made):
Default config.tml and heimdall-config.toml

node command runtime flags:
From systemd file:
/usr/bin/heimdalld start --home /var/lib/heimdall --chain=amoy --rest-server

/dump_consensus_state output for consensus bugs
{
"jsonrpc": "2.0",
"id": "",
"result": {
"round_state": {
"height": "6675303",
"round": "0",
"step": 1,
"start_time": "2025-02-06T08:16:43.610485125Z",
"commit_time": "0001-01-01T00:00:00Z",
"validators": {
"validators": [
{
"address": "02F615E95563EF16F10354DBA9E584E58D2D4314",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BNDG5lAjilZoc3JsoOe+gc33nVh6EnjQpH6fJ/SZfT70e6y1V8VtEiLcY9MUUfjPRnhJorQh5kG5o5dXP3SGplY="
},
"voting_power": "1300335",
"proposer_priority": "-13844491"
},
{
"address": "033AADED92EBFEC6C818624F28A8E4B3C571AB6F",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BAs5EYbYmRRyoyEnQ18Tn6hN365Vamk3ILeUMst6ZffG8F8L7WxIFPQfO2iLXQD6YUNXJkfoQjfBWU9PyoswJtI="
},
"voting_power": "1300003",
"proposer_priority": "-5069485"
},
{
"address": "04BA3EF4C023C1006019A0F9BAF6E70455E41FCF",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BHvEMMvQ5wQhnuYgTFRMqU9bqJ79MqPmSHsQORlbfaVfiXtiC9nBp/jLxfkLheozRuJZ1bXUgMEJEqDD+7IMN6Q="
},
"voting_power": "1334826",
"proposer_priority": "9494716"
},
{
"address": "09207A6EFEE346CB3E4A54AC18523E3715D38B3F",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BKxH5sAqQJpLe+yHXx2+CEj/IJ7M1B3UYG8zzabr1E4xmoLIYJ787pvb5hVzZRAOKtGozm3VLZvtT5NSlb81L9s="
},
"voting_power": "11411535",
"proposer_priority": "30301236"
},
{
"address": "22B64229C41429A023549FDAB3385893B579327A",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BOis+VgzB9TYQMaV/lPT7cyafh/W3fxRS6pBXsg+Vp5pNE4DNuYrBf7yIw1OTMg89YOtqOgyce+2x5C++sCt0Bk="
},
"voting_power": "1300847",
"proposer_priority": "-31357857"
},
{
"address": "4631753190F2F5A15A7BA172BBAC102B7D95FA22",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BJtpp5+c/YFbj/uEeFd7QzjYBBz/foNCY7UnudCUkhswL46LJVx7TDUnZxo0O4cRx52Iwj3Tj0hz/ZqUmaU5XpY="
},
"voting_power": "22141960",
"proposer_priority": "-25593582"
},
{
"address": "4AD84F7014B7B44F723F284A85B1662337971439",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BDgaBF0KvnfJ1WEIa9HIrWjv8hsI2GWkkoVjzkPXudNnnJ2QvREAh8oCNOui6GnJhpQE99NfHSQGKjOhcn3KeMI="
},
"voting_power": "12669836",
"proposer_priority": "-17833216"
},
{
"address": "4CA9FF871C7AA1E7B64E1EAE110835F68D6A0BD4",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BMcaox1m/OZYAe/It2UC5g8BiBuNOR2n6NVXOHjVUAhS4BSbJkiAL+/j4wbZqvLWtGLGsH9krMVV0rqv1SnnOq8="
},
"voting_power": "1363869",
"proposer_priority": "-18648696"
},
{
"address": "6AB3D36C46ECFB9B9C0BD51CB1C3DA5A2C81CEA6",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BNwZ/fmoL9XEMn8xuWtrvgudRFZK2JwhOdtHxcst74esWE/AURdmPeLxeuXuUOztcoOlluEKrzP7NMTPX5jk/ac="
},
"voting_power": "15387503",
"proposer_priority": "-12551684"
},
{
"address": "6C095A53250DD250797FF915A716CCA690AD8842",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BCUXICPAgRKqljMnOVH8tSduLbcJbOS4QkZfNPWxPr5m+AD3X4iNX/F2LqSdFUbOqmLCPAzvvmizEuNrbOVchJk="
},
"voting_power": "1300432",
"proposer_priority": "11631702"
},
{
"address": "6DC2DD54F24979EC26212794C71AFEFED722280C",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BHSbTmnF/fSpo6UNgfskp/9Io9o28VXeqb4JkabQDCVXqlrNRLFogOWG9PVgUQKozGH9as0clBZojMGxy/Uilhs="
},
"voting_power": "11116208",
"proposer_priority": "16676704"
},
{
"address": "85EBD6DC97D56F62E371382B38EAE91F3BB4ECB2",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BKk4dqBHlWSfSMWOmfJRXcR/dj5j10MfyYstpRuRnPgjuAQl8FhGDpUtqwpqVrXSpeyTgLn/heduVyzpKzYuS9g="
},
"voting_power": "1302312",
"proposer_priority": "-47862466"
},
{
"address": "915A2284D28BD93DE7D6F31173B981204BB666E6",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BE/WIL+R3P+8YlGBfxqPdb+jWlWdAiocPOBYNXoXqYOlQ0+QiJudDIMLhDqovssOvS9REFaUYn6pXE0YGD3nb5k="
},
"voting_power": "11502166",
"proposer_priority": "50732172"
},
{
"address": "93FEED2CC3D58C2B1BB62CE63125FA7FCAAE7177",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BMb4FJ//pZoybMmmDA+lZL9QqN/64Uapjc2R6jsdLbWNKxRKVbA6SCchIAzkuouuE298YTx5XIK1DxoLQGlHn4c="
},
"voting_power": "1300003",
"proposer_priority": "-10560446"
},
{
"address": "973E732E5306086FA8963677EC49010EE2F3D35A",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BAeYt+J4WIbf9bdeAm4QykU+8b+e5hl0bHK3RMaj8cd/JS8OL/hnaSQPeUKYp7fHuFplAdidD4NV2dL5ClbDzts="
},
"voting_power": "1094367",
"proposer_priority": "15640025"
},
{
"address": "AC75D6EFEC891724B88B916B36E2EF38BCBEC73F",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BF/+bGaKblTJsYJejl6cCq9xQkDq06BsqXz5FDIUEScaKD2QroiIbdP+afQ/JpHkMvUqwTc6iKpO4VtYJhB6UB8="
},
"voting_power": "1471140",
"proposer_priority": "-21411536"
},
{
"address": "BA60FE9F3372F53397BEE44E2A4D3087AA5F281F",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BL9ZbsT76OelDRtQYjN+cPoLR37y3cUeJo40oiU2JhcUEAXRhtIjTQQ+hTGfnlxvDdY6VJhnPeHqVkTjRj/kUEs="
},
"voting_power": "1500001",
"proposer_priority": "-6988156"
},
{
"address": "BB583A9DDE59CA64AAA14807F37A4C665C0D72C7",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BEjyMiqk9EqHIUhg2fsptKSzhaLVrSgqMEy+nXoyu3d8ZWYyJYWeBO/pe00SF7HJUY3Gx7IWXDps0Ozds8eBbRc="
},
"voting_power": "1322879",
"proposer_priority": "6718790"
},
{
"address": "D07DD60077D3A5628837ADA6002EA8AC5E689795",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BK482F7Ji5n3GV0H96XWPaTCvrGy63hKoxu1V20Z7pi6psQ7y74jbOvYbvNN06ae96fQzCFGx7BHuVQvEr+0oFw="
},
"voting_power": "1300003",
"proposer_priority": "15520446"
},
{
"address": "EDE32B0C9587B92EDE83665477F7EC261FD85F0A",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BD/bZdssr6e6nKK4nUPYvk1R3WcYXVr1bz4hv7vsC+AAeXpyF7qz2Z0+2BskgY60prTuFbwBRdhZ0sGDYGYt4L8="
},
"voting_power": "1350001",
"proposer_priority": "55005843"
}
],
"proposer": {
"address": "4631753190F2F5A15A7BA172BBAC102B7D95FA22",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BJtpp5+c/YFbj/uEeFd7QzjYBBz/foNCY7UnudCUkhswL46LJVx7TDUnZxo0O4cRx52Iwj3Tj0hz/ZqUmaU5XpY="
},
"voting_power": "22141960",
"proposer_priority": "-25593582"
}
},
"proposal": null,
"proposal_block": null,
"proposal_block_parts": null,
"locked_round": "-1",
"locked_block": null,
"locked_block_parts": null,
"valid_round": "-1",
"valid_block": null,
"valid_block_parts": null,
"votes": [
{
"round": "0",
"prevotes": [
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote"
],
"prevotes_bit_array": "BA{20:} 0/102770226 = 0.00",
"precommits": [
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote"
],
"precommits_bit_array": "BA{20:
} 0/102770226 = 0.00"
}
],
"commit_round": "-1",
"last_commit": {
"votes": [
"nil-Vote",
"nil-Vote",
"Vote{2:04BA3EF4C023 6675302/00/2(Precommit) 07DFD783147E 61B916868525 @ 2025-02-05T00:15:11.721286853Z [no-proposals]}",
"Vote{3:09207A6EFEE3 6675302/00/2(Precommit) 07DFD783147E E78C5A633C31 @ 2025-02-05T00:15:11.751314053Z [no-proposals]}",
"Vote{4:22B64229C414 6675302/00/2(Precommit) 07DFD783147E 7105BC22D216 @ 2025-02-05T00:15:11.71502504Z [no-proposals]}",
"nil-Vote",
"Vote{6:4AD84F7014B7 6675302/00/2(Precommit) 07DFD783147E C420B47E21A0 @ 2025-02-05T00:15:11.733348379Z [no-proposals]}",
"nil-Vote",
"Vote{8:6AB3D36C46EC 6675302/00/2(Precommit) 07DFD783147E E78A3F15A500 @ 2025-02-05T00:15:11.688744095Z [no-proposals]}",
"Vote{9:6C095A53250D 6675302/00/2(Precommit) 07DFD783147E 954A6F2CC3B4 @ 2025-02-05T00:15:11.735034167Z [no-proposals]}",
"Vote{10:6DC2DD54F249 6675302/00/2(Precommit) 07DFD783147E 7B45ABA684F5 @ 2025-02-05T00:15:11.73256626Z [no-proposals]}",
"Vote{11:85EBD6DC97D5 6675302/00/2(Precommit) 07DFD783147E 98CB1C668100 @ 2025-02-05T00:15:11.684886561Z [no-proposals]}",
"Vote{12:915A2284D28B 6675302/00/2(Precommit) 07DFD783147E A26B9E2115CE @ 2025-02-05T00:15:11.75622737Z [no-proposals]}",
"nil-Vote",
"Vote{14:973E732E5306 6675302/00/2(Precommit) 07DFD783147E C2E1C426BF2C @ 2025-02-05T00:15:11.729898625Z [no-proposals]}",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"nil-Vote",
"Vote{19:EDE32B0C9587 6675302/00/2(Precommit) 07DFD783147E 844BB323F817 @ 2025-02-05T00:15:11.70577558Z [no-proposals]}"
],
"votes_bit_array": "BA{20:__xxx_x_xxxxx_x____x} 69770033/102770226 = 0.68",
"peer_maj_23s": {}
},
"last_validators": {
"validators": [
{
"address": "02F615E95563EF16F10354DBA9E584E58D2D4314",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BNDG5lAjilZoc3JsoOe+gc33nVh6EnjQpH6fJ/SZfT70e6y1V8VtEiLcY9MUUfjPRnhJorQh5kG5o5dXP3SGplY="
},
"voting_power": "1300335",
"proposer_priority": "-15144826"
},
{
"address": "033AADED92EBFEC6C818624F28A8E4B3C571AB6F",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BAs5EYbYmRRyoyEnQ18Tn6hN365Vamk3ILeUMst6ZffG8F8L7WxIFPQfO2iLXQD6YUNXJkfoQjfBWU9PyoswJtI="
},
"voting_power": "1300003",
"proposer_priority": "-6369488"
},
{
"address": "04BA3EF4C023C1006019A0F9BAF6E70455E41FCF",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BHvEMMvQ5wQhnuYgTFRMqU9bqJ79MqPmSHsQORlbfaVfiXtiC9nBp/jLxfkLheozRuJZ1bXUgMEJEqDD+7IMN6Q="
},
"voting_power": "1334826",
"proposer_priority": "8159890"
},
{
"address": "09207A6EFEE346CB3E4A54AC18523E3715D38B3F",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BKxH5sAqQJpLe+yHXx2+CEj/IJ7M1B3UYG8zzabr1E4xmoLIYJ787pvb5hVzZRAOKtGozm3VLZvtT5NSlb81L9s="
},
"voting_power": "11411535",
"proposer_priority": "18889701"
},
{
"address": "22B64229C41429A023549FDAB3385893B579327A",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BOis+VgzB9TYQMaV/lPT7cyafh/W3fxRS6pBXsg+Vp5pNE4DNuYrBf7yIw1OTMg89YOtqOgyce+2x5C++sCt0Bk="
},
"voting_power": "1300847",
"proposer_priority": "-32658704"
},
{
"address": "4631753190F2F5A15A7BA172BBAC102B7D95FA22",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BJtpp5+c/YFbj/uEeFd7QzjYBBz/foNCY7UnudCUkhswL46LJVx7TDUnZxo0O4cRx52Iwj3Tj0hz/ZqUmaU5XpY="
},
"voting_power": "22141960",
"proposer_priority": "55034684"
},
{
"address": "4AD84F7014B7B44F723F284A85B1662337971439",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BDgaBF0KvnfJ1WEIa9HIrWjv8hsI2GWkkoVjzkPXudNnnJ2QvREAh8oCNOui6GnJhpQE99NfHSQGKjOhcn3KeMI="
},
"voting_power": "12669836",
"proposer_priority": "-30503052"
},
{
"address": "4CA9FF871C7AA1E7B64E1EAE110835F68D6A0BD4",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BMcaox1m/OZYAe/It2UC5g8BiBuNOR2n6NVXOHjVUAhS4BSbJkiAL+/j4wbZqvLWtGLGsH9krMVV0rqv1SnnOq8="
},
"voting_power": "1363869",
"proposer_priority": "-20012565"
},
{
"address": "6AB3D36C46ECFB9B9C0BD51CB1C3DA5A2C81CEA6",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BNwZ/fmoL9XEMn8xuWtrvgudRFZK2JwhOdtHxcst74esWE/AURdmPeLxeuXuUOztcoOlluEKrzP7NMTPX5jk/ac="
},
"voting_power": "15387503",
"proposer_priority": "-27939187"
},
{
"address": "6C095A53250DD250797FF915A716CCA690AD8842",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BCUXICPAgRKqljMnOVH8tSduLbcJbOS4QkZfNPWxPr5m+AD3X4iNX/F2LqSdFUbOqmLCPAzvvmizEuNrbOVchJk="
},
"voting_power": "1300432",
"proposer_priority": "10331270"
},
{
"address": "6DC2DD54F24979EC26212794C71AFEFED722280C",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BHSbTmnF/fSpo6UNgfskp/9Io9o28VXeqb4JkabQDCVXqlrNRLFogOWG9PVgUQKozGH9as0clBZojMGxy/Uilhs="
},
"voting_power": "11116208",
"proposer_priority": "5560496"
},
{
"address": "85EBD6DC97D56F62E371382B38EAE91F3BB4ECB2",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BKk4dqBHlWSfSMWOmfJRXcR/dj5j10MfyYstpRuRnPgjuAQl8FhGDpUtqwpqVrXSpeyTgLn/heduVyzpKzYuS9g="
},
"voting_power": "1302312",
"proposer_priority": "-49164778"
},
{
"address": "915A2284D28BD93DE7D6F31173B981204BB666E6",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BE/WIL+R3P+8YlGBfxqPdb+jWlWdAiocPOBYNXoXqYOlQ0+QiJudDIMLhDqovssOvS9REFaUYn6pXE0YGD3nb5k="
},
"voting_power": "11502166",
"proposer_priority": "39230006"
},
{
"address": "93FEED2CC3D58C2B1BB62CE63125FA7FCAAE7177",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BMb4FJ//pZoybMmmDA+lZL9QqN/64Uapjc2R6jsdLbWNKxRKVbA6SCchIAzkuouuE298YTx5XIK1DxoLQGlHn4c="
},
"voting_power": "1300003",
"proposer_priority": "-11860449"
},
{
"address": "973E732E5306086FA8963677EC49010EE2F3D35A",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BAeYt+J4WIbf9bdeAm4QykU+8b+e5hl0bHK3RMaj8cd/JS8OL/hnaSQPeUKYp7fHuFplAdidD4NV2dL5ClbDzts="
},
"voting_power": "1094367",
"proposer_priority": "14545658"
},
{
"address": "AC75D6EFEC891724B88B916B36E2EF38BCBEC73F",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BF/+bGaKblTJsYJejl6cCq9xQkDq06BsqXz5FDIUEScaKD2QroiIbdP+afQ/JpHkMvUqwTc6iKpO4VtYJhB6UB8="
},
"voting_power": "1471140",
"proposer_priority": "-22882676"
},
{
"address": "BA60FE9F3372F53397BEE44E2A4D3087AA5F281F",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BL9ZbsT76OelDRtQYjN+cPoLR37y3cUeJo40oiU2JhcUEAXRhtIjTQQ+hTGfnlxvDdY6VJhnPeHqVkTjRj/kUEs="
},
"voting_power": "1500001",
"proposer_priority": "-8488157"
},
{
"address": "BB583A9DDE59CA64AAA14807F37A4C665C0D72C7",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BEjyMiqk9EqHIUhg2fsptKSzhaLVrSgqMEy+nXoyu3d8ZWYyJYWeBO/pe00SF7HJUY3Gx7IWXDps0Ozds8eBbRc="
},
"voting_power": "1322879",
"proposer_priority": "5395911"
},
{
"address": "D07DD60077D3A5628837ADA6002EA8AC5E689795",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BK482F7Ji5n3GV0H96XWPaTCvrGy63hKoxu1V20Z7pi6psQ7y74jbOvYbvNN06ae96fQzCFGx7BHuVQvEr+0oFw="
},
"voting_power": "1300003",
"proposer_priority": "14220443"
},
{
"address": "EDE32B0C9587B92EDE83665477F7EC261FD85F0A",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BD/bZdssr6e6nKK4nUPYvk1R3WcYXVr1bz4hv7vsC+AAeXpyF7qz2Z0+2BskgY60prTuFbwBRdhZ0sGDYGYt4L8="
},
"voting_power": "1350001",
"proposer_priority": "53655842"
}
],
"proposer": {
"address": "6AB3D36C46ECFB9B9C0BD51CB1C3DA5A2C81CEA6",
"pub_key": {
"type": "tendermint/PubKeySecp256k1",
"value": "BNwZ/fmoL9XEMn8xuWtrvgudRFZK2JwhOdtHxcst74esWE/AURdmPeLxeuXuUOztcoOlluEKrzP7NMTPX5jk/ac="
},
"voting_power": "15387503",
"proposer_priority": "-27939187"
}
},
"triggered_timeout_precommit": false
},
"peers": []
}
}
Anything else we need to know:
The same issue happens withouth downloading the snapshot as well.

@avalkov
Copy link
Contributor

avalkov commented Feb 6, 2025

Your sure there is no firewall blocking port 26656 ?

@alternativc
Copy link
Author

That is a valid point, however I have tested that by running a python https server on a random VPS:

root@polygon-amoy:/var/lib/bor# telnet 65.109.100.81 26656
Trying 65.109.100.81...
Connected to 65.109.100.81.
Escape character is '^]'.

So no, there is no outbound firewall rule blocking that port

@alternativc
Copy link
Author

Just for the sake of eliminating a problematic environment I spun up a GCP (Google compute VM) instance where the results are the same.

@alternativc
Copy link
Author

So question(s):

  • is there a peer list I can try?
  • can I check connectivity via simple tools like telnet to the peers?

@avalkov
Copy link
Contributor

avalkov commented Feb 6, 2025

Here two peers you can try to add them to persistent_peers in config.toml.

[email protected]:26656 [email protected]:26656

@alternativc
Copy link
Author

alternativc commented Feb 7, 2025

Thanks. Only one of the provided peers is reachable (34.89.75.187) while the other one is not:

root@ujurca-demo-remove-asap:~# telnet 34.89.75.187 26656
Trying 34.89.75.187...
Connected to 34.89.75.187.
Escape character is '^]'.
###
root@ujurca-demo-remove-asap:~# telnet 34.142.43.240 26656
Trying 34.142.43.240...
# Times out here...

However like stated, my heimdall instance is running on Amoy:

root@ujurca-demo-remove-asap:~# curl -s localhost:26657/status | jq '.result.node_info.network'
"heimdall-80002"

When connecting to peers above I get:

Feb 07 08:46:53 ujurca-demo-remove-asap heimdalld[16688]: ERROR[2025-02-07|08:46:53.550] Error dialing peer                           module=p2p err="incompatible: Peer is on a different network. Got heimdall-137, expected heimdall-80002"

@avalkov
Copy link
Contributor

avalkov commented Feb 7, 2025

Sorry, my fault.
Here are some Amoy peers.
[email protected]:26656 [email protected]:26656

@alternativc
Copy link
Author

Amazing! These work and heimdall syncs perfectly now.

Going forward: what is the right way of finding peers for amoy?

@manav2401
Copy link
Contributor

manav2401 commented Feb 11, 2025

Using these seeds/peers is the right way and it allows your node to find new peers via peer discovery mechanism.

Refer to this for more seeds: https://github.com/maticnetwork/heimdall/blob/develop/packaging/templates/config/amoy/config.toml#L161

@manav2401
Copy link
Contributor

Closing this for now as it seems answered. Feel free to reopen. Thanks!

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

3 participants