alastria / alastria-node-quorum

How to install a node in Alastria Red-T (GoQuorum Technology) and tips to deploy and use it
Apache License 2.0
4 stars 3 forks source link

Network Stoped #26

Closed alejandroalffer closed 1 year ago

alejandroalffer commented 2 years ago

Alastria T network seems stoped at block:

> eth.blockNumber 95257874

At least one of the validator nodes were outline after the stop at 31/05/2022 - 13:43:26, https://blkexplorer1.telsius.alastria.io/block/95257874

Maybe there are two problems: Outage of 4+1 of the validator nodes:

> istanbul.getValidators
function()
> istanbul.getValidators()
["0x21612232aae5202bd339e6f121cb814679be5b11", "0x6980a7683a1936197ad7bf6cb0c26f1ff4151905", "0x72fdfab893f10fa40d1e843cfc6cb8e0c2c17e10", "0x7414c1b34e38087a9c045f46549006e70bb00fc3", "0xa9472bd1cad83af9285cbc4cdd5ffac484e886c2", "0xb87dc349944cc47474775dde627a8a171fc94532", "0xe1f33a9af3abc7ce84f6a73c6ca62181be08378e", "0xebc69e585b93f293e6552a0110afc196d90105dd", "0xfad2a6b1bfa8330f1ecbdaa125986942b98d497f"]
> istanbul.getSnapshot()
{
  epoch: 30000,
  hash: "0x17d9fcf3384135d06c3f42feb7cd1a10f99ef5340f62509e56ce89058d032bbc",
  number: 95257874,
  policy: 0,
  tally: {},
  validators: ["0x21612232aae5202bd339e6f121cb814679be5b11", "0x6980a7683a1936197ad7bf6cb0c26f1ff4151905", "0x72fdfab893f10fa40d1e843cfc6cb8e0c2c17e10", "0x7414c1b34e38087a9c045f46549006e70bb00fc3", "0xa9472bd1cad83af9285cbc4cdd5ffac484e886c2", "0xb87dc349944cc47474775dde627a8a171fc94532", "0xe1f33a9af3abc7ce84f6a73c6ca62181be08378e", "0xebc69e585b93f293e6552a0110afc196d90105dd", "0xfad2a6b1bfa8330f1ecbdaa125986942b98d497f"],
  votes: []
}

I think that one or more validator nodes has died by the same problem:

ERROR[05-31|13:19:57.304|core/blockchain.go:1556]
########## BAD BLOCK #########
Chain config: {ChainID: 83584648538 Homestead: 0 DAO: <nil> DAOSupport: false EIP150: 0 EIP155: 0 EIP158: 0 Byzantium: 0 IsQuorum: true Constantinople: <nil> Engine: istanbul}

Number: 95222250
Hash: 0x0560b381bd06cb63f5d87b0c564a08af51648dd4a3db7ce0fc1f20348fd03f63
        &{[] 1 185585 [0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 128 0 0 0 0 0 4 16 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] [0xc4200ab6b0 0xc4200ab760 0xc4200ab810 0xc4200ab8c0] [202 119 158 62 154 36 133 227 84 33 37 127 113 233 32 89 50 121 228 49 197 211 7 36 41 192 32 110 46 115 98 46] [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0] 185585}

Error: invalid gas used (remote: 40914757 local: 185585)
##############################

WARN [05-31|13:19:57.316|eth/downloader/downloader.go:328]    Synchronisation failed, dropping peer    peer=a2054ebfafb0f0f5 err="retrieved hash chain is invalid"

Problems with Gas in AlastriaT whete listed at:

https://medium.com/coinmonks/how-to-survive-the-gas-curse-in-quorum-7b2c8fea2540

alejandroalffer commented 2 years ago

Validators status:

alejandroalffer commented 2 years ago

Please, every Validatos, update your static-nodes.json and permissioned-nodes.json to these one, and restart your node:

[
"enode://ec816cd01c4b4afc8b7e75b823817bd0b36d1672a42839544a57a312a5c04ab12a3d96a3957f2638a3fee52d10203e6d3351a48b245caea9469f020007fa2d18@54.72.163.31:21000?discport=0",
"enode://e956a09e29a05a06bfe4049ebdd1f648fd8508c2a63114916aaee9ad41636cce80679e6d3467872fac7f298689243999490adb67d4bd4617329cd545d3f66b67@185.180.8.154:21000?discport=0",
"enode://2c930cc89535833aa1ca9929400c7e16c2daad0109bf0676b073455408ccf9f79aa60748993c2fbe735d41bb467c7532a205637d15b26de70a287d5fd366c6de@141.144.224.216:21000?discport=0",
"enode://d7d50abadb467de05cf474c6c9d1b2b3a399de9ccb1a58ea26141509f6a05c7b68690c8cba812d4db0258add29c349af88f9e61e5ada1c674b16c302083627b8@54.228.169.138:21000?discport=0",
"enode://367354e3bb59d015fce31967f5dda5c17cb3b9acc5b571695f94a13f89d2a2c64c3bca28da05b6751a7384c38152752de35787d97e9b8d6062b3371b7a9305c4@188.244.90.2:21000?discport=0",
"enode://3905f943ba5446eba164c07ab5f53a84ce17d74ec4d7591f6ec54b9d7608f57cae7cfdf946616385f59cfb5b910161a1f8520cb6f992bcc0d1ab932601205e91@154.62.228.6:21000?discport=0",
"enode://6ee5504399ba5a6cbca15d7dd19c652017af0223f12af875044d103307cca82a8105cfb72455836bd52ba11cdbf5a752007af6000d59d146dade7f3738a4d148@185.170.96.121:21000?discport=0",
"enode://a7e28844702e519f504802a0b45638049db8bf08e18d12e0713c9e5c5707bfabb029583a87e94f8985f9584bee9257a7efe5e057ea61e6b5a16f1eb0b9b3623a@52.232.74.132:21000?discport=0",
"enode://32ed5766ac0c482bd7f950087c389710e31b75bf6a06628820f224ddd2fce216b26b113836a456832bbb62a9521d768923dcb8c1c6cbddd06071fa27e1688a1c@176.34.235.103:21000?discport=0",
"enode://0ede782b7ce6c7398f100ef33aef6c266972dac19910b5aac1c1eededccd7b4769e7df69e4314927417bbdd9592fc9f583c36274976af29e432b8e64059adc03@15.236.56.133:21000?discport=0",
"enode://51bff825ab4169bc94035fb733a2613018e012460d683a032a20a2a8d305b5eb9462ad7f84ea0e7ce8eec1e0ba0647d5212912016917033c20939719397247a5@54.77.43.225:21000?discport=0",
"enode://b9992efd63318b9f41028ec3390abb21bb8fe8f99b0acc30bfccf6d033828b65f65971c1e4975bf41ea9910c879ec9d5df52f24b6bec9058c2cbdb70774b732a@141.144.251.87:21000?discport=0",
"enode://b38efe0bf1e51d2637b495ab8442992bc116bee011d7730a3d2a8657555b5f039486c4b6b984ca82fcd041e06fa8e39580fd451f55a2c403e97a6a02807e4a3a@109.234.71.8:21000?discport=0",
"enode://7adf7393d3d75978b3d9bf2f78436bb070e1c19eff20eb2eef07dc8293293c4ecbbbcca5a2f84ee6ca9331e8efe7d7d5662ed1f92bb96a6bd0e850715b45ed6d@51.104.153.98:21000?discport=0"
]
alejandroalffer commented 2 years ago

Also be sure to open tcp/udp/21000 to the listed IPs

alejandroalffer commented 2 years ago

Network woking, but still far from 1block/second. Please, review your JSON files and your firewall rules, in order to see all peers

alejandroalffer commented 2 years ago

After some hours with the network up, it's stoped again:

https://alastria-explorer.councilbox.com/blocks

Please, all de the validators: test that geth it's working, and let me know your console logs

alejandroalffer commented 2 years ago

New file for static-nodes.json and permissioned-nodes.json:

[
"enode://367354e3bb59d015fce31967f5dda5c17cb3b9acc5b571695f94a13f89d2a2c64c3bca28da05b6751a7384c38152752de35787d97e9b8d6062b3371b7a9305c4@188.244.90.2:21000?discport=0",
"enode://3905f943ba5446eba164c07ab5f53a84ce17d74ec4d7591f6ec54b9d7608f57cae7cfdf946616385f59cfb5b910161a1f8520cb6f992bcc0d1ab932601205e91@154.62.228.6:21000?discport=0",
"enode://6ee5504399ba5a6cbca15d7dd19c652017af0223f12af875044d103307cca82a8105cfb72455836bd52ba11cdbf5a752007af6000d59d146dade7f3738a4d148@185.170.96.121:21000?discport=0",
"enode://a7e28844702e519f504802a0b45638049db8bf08e18d12e0713c9e5c5707bfabb029583a87e94f8985f9584bee9257a7efe5e057ea61e6b5a16f1eb0b9b3623a@52.232.74.132:21000?discport=0",
"enode://32ed5766ac0c482bd7f950087c389710e31b75bf6a06628820f224ddd2fce216b26b113836a456832bbb62a9521d768923dcb8c1c6cbddd06071fa27e1688a1c@176.34.235.103:21000?discport=0",
"enode://0ede782b7ce6c7398f100ef33aef6c266972dac19910b5aac1c1eededccd7b4769e7df69e4314927417bbdd9592fc9f583c36274976af29e432b8e64059adc03@15.236.56.133:21000?discport=0",
"enode://51bff825ab4169bc94035fb733a2613018e012460d683a032a20a2a8d305b5eb9462ad7f84ea0e7ce8eec1e0ba0647d5212912016917033c20939719397247a5@54.77.43.225:21000?discport=0",
"enode://b9992efd63318b9f41028ec3390abb21bb8fe8f99b0acc30bfccf6d033828b65f65971c1e4975bf41ea9910c879ec9d5df52f24b6bec9058c2cbdb70774b732a@141.144.251.87:21000?discport=0",
"enode://b38efe0bf1e51d2637b495ab8442992bc116bee011d7730a3d2a8657555b5f039486c4b6b984ca82fcd041e06fa8e39580fd451f55a2c403e97a6a02807e4a3a@109.234.71.8:21000?discport=0",
"enode://7adf7393d3d75978b3d9bf2f78436bb070e1c19eff20eb2eef07dc8293293c4ecbbbcca5a2f84ee6ca9331e8efe7d7d5662ed1f92bb96a6bd0e850715b45ed6d@51.104.153.98:21000?discport=0"
]