Closed zzzckck closed 1 week ago
1.4.12 and 1.4.13 versions do look prone to sync issues Edit: 1.4.11 as well shows the same symptoms
+1 actually even more than 6 minutes. Restarting it over and over until it start sync immediately it's my best workaround
Hi, when I upgrade to 1.4.13, I got the same issue.
There are lots of logs as below:
t=2024-08-19T15:31:15+0000 lvl=info msg="Looking for peers" peercount=0 tried=270 static=6 t=2024-08-19T15:31:25+0000 lvl=info msg="Looking for peers" peercount=0 tried=146 static=6 t=2024-08-19T15:31:35+0000 lvl=info msg="Looking for peers" peercount=0 tried=372 static=6 t=2024-08-19T15:31:45+0000 lvl=info msg="Looking for peers" peercount=0 tried=180 static=6 t=2024-08-19T15:31:56+0000 lvl=info msg="Looking for peers" peercount=0 tried=169 static=6 t=2024-08-19T15:32:06+0000 lvl=info msg="Looking for peers" peercount=0 tried=179 static=6 t=2024-08-19T15:32:16+0000 lvl=info msg="Looking for peers" peercount=0 tried=257 static=6 t=2024-08-19T15:32:26+0000 lvl=info msg="Looking for peers" peercount=0 tried=294 static=6 t=2024-08-19T15:32:36+0000 lvl=info msg="Looking for peers" peercount=1 tried=182 static=6 t=2024-08-19T15:32:46+0000 lvl=info msg="Looking for peers" peercount=0 tried=130 static=6 t=2024-08-19T15:32:56+0000 lvl=info msg="Looking for peers" peercount=0 tried=256 static=6 t=2024-08-19T15:33:06+0000 lvl=info msg="Looking for peers" peercount=0 tried=39 static=6 t=2024-08-19T15:33:18+0000 lvl=info msg="Looking for peers" peercount=0 tried=98 static=6
Hi, when I upgrade to 1.4.13, I got the same issue.
There are lots of logs as below:
t=2024-08-19T15:31:15+0000 lvl=info msg="Looking for peers" peercount=0 tried=270 static=6 t=2024-08-19T15:31:25+0000 lvl=info msg="Looking for peers" peercount=0 tried=146 static=6 t=2024-08-19T15:31:35+0000 lvl=info msg="Looking for peers" peercount=0 tried=372 static=6 t=2024-08-19T15:31:45+0000 lvl=info msg="Looking for peers" peercount=0 tried=180 static=6 t=2024-08-19T15:31:56+0000 lvl=info msg="Looking for peers" peercount=0 tried=169 static=6 t=2024-08-19T15:32:06+0000 lvl=info msg="Looking for peers" peercount=0 tried=179 static=6 t=2024-08-19T15:32:16+0000 lvl=info msg="Looking for peers" peercount=0 tried=257 static=6 t=2024-08-19T15:32:26+0000 lvl=info msg="Looking for peers" peercount=0 tried=294 static=6 t=2024-08-19T15:32:36+0000 lvl=info msg="Looking for peers" peercount=1 tried=182 static=6 t=2024-08-19T15:32:46+0000 lvl=info msg="Looking for peers" peercount=0 tried=130 static=6 t=2024-08-19T15:32:56+0000 lvl=info msg="Looking for peers" peercount=0 tried=256 static=6 t=2024-08-19T15:33:06+0000 lvl=info msg="Looking for peers" peercount=0 tried=39 static=6 t=2024-08-19T15:33:18+0000 lvl=info msg="Looking for peers" peercount=0 tried=98 static=6
could you share your config.toml?
1.4.12 and 1.4.13 versions do look prone to sync issues Edit: 1.4.11 as well shows the same symptoms
I think it could be a random issue, as v1.4.12, v1.4.13 did not change the P2P part.
Hi, when I upgrade to 1.4.13, I got the same issue. There are lots of logs as below: t=2024-08-19T15:31:15+0000 lvl=info msg="Looking for peers" peercount=0 tried=270 static=6 t=2024-08-19T15:31:25+0000 lvl=info msg="Looking for peers" peercount=0 tried=146 static=6 t=2024-08-19T15:31:35+0000 lvl=info msg="Looking for peers" peercount=0 tried=372 static=6 t=2024-08-19T15:31:45+0000 lvl=info msg="Looking for peers" peercount=0 tried=180 static=6 t=2024-08-19T15:31:56+0000 lvl=info msg="Looking for peers" peercount=0 tried=169 static=6 t=2024-08-19T15:32:06+0000 lvl=info msg="Looking for peers" peercount=0 tried=179 static=6 t=2024-08-19T15:32:16+0000 lvl=info msg="Looking for peers" peercount=0 tried=257 static=6 t=2024-08-19T15:32:26+0000 lvl=info msg="Looking for peers" peercount=0 tried=294 static=6 t=2024-08-19T15:32:36+0000 lvl=info msg="Looking for peers" peercount=1 tried=182 static=6 t=2024-08-19T15:32:46+0000 lvl=info msg="Looking for peers" peercount=0 tried=130 static=6 t=2024-08-19T15:32:56+0000 lvl=info msg="Looking for peers" peercount=0 tried=256 static=6 t=2024-08-19T15:33:06+0000 lvl=info msg="Looking for peers" peercount=0 tried=39 static=6 t=2024-08-19T15:33:18+0000 lvl=info msg="Looking for peers" peercount=0 tried=98 static=6
could you share your config.toml?
same error when use v1.4.11
config.toml
:
[Eth]
NetworkId = 97
NoPruning = false
NoPrefetch = false
SyncMode = "snap"
[Node]
DataDir = "/data/bsc-node"
IPCPath = "geth.ipc"
HTTPHost = "0.0.0.0"
HTTPPort = 8545
HTTPVirtualHosts = ["*"]
HTTPModules = ["debug","eth", "net", "web3", "txpool", "parlia"]
WSPort = 8546
WSModules = ["net", "web3", "eth"]
[Node.P2P]
MaxPeers = 50
NoDiscovery = false
StaticNodes = ["enode://69a90b35164ef862185d9f4d2c5eff79b92acd1360574c0edf36044055dc766d87285a820233ae5700e11c9ba06ce1cf23c1c68a4556121109776ce2a3990bba@52.199.214.252:30311","enode://330d768f6de90e7825f0ea6fe59611ce9d50712e73547306846a9304663f9912bf1611037f7f90f21606242ded7fb476c7285cb7cd792836b8c0c5ef0365855c@18.181.52.189:30311","enode://df1e8eb59e42cad3c4551b2a53e31a7e55a2fdde1287babd1e94b0836550b489ba16c40932e4dacb16cba346bd442c432265a299c4aca63ee7bb0f832b9f45eb@52.51.80.128:30311","enode://0bd566a7fd136ecd19414a601bfdc530d5de161e3014033951dd603e72b1a8959eb5b70b06c87a5a75cbf45e4055c387d2a842bd6b1bd8b5041b3a61bab615cf@34.242.33.165:30311","enode://604ed87d813c2b884ff1dc3095afeab18331f3cc361e8fb604159e844905dfa6e4c627306231d48f46a2edceffcd069264a89d99cdbf861a04e8d3d8d7282e8a@3.209.122.123:30311","enode://4d358eca87c44230a49ceaca123c89c7e77232aeae745c3a4917e607b909c4a14034b3a742960a378c3f250e0e67391276e80c7beee7770071e13f33a5b0606a@52.72.123.113:30311"]
TrustedNodes = ["enode://69a90b35164ef862185d9f4d2c5eff79b92acd1360574c0edf36044055dc766d87285a820233ae5700e11c9ba06ce1cf23c1c68a4556121109776ce2a3990bba@52.199.214.252:30311","enode://330d768f6de90e7825f0ea6fe59611ce9d50712e73547306846a9304663f9912bf1611037f7f90f21606242ded7fb476c7285cb7cd792836b8c0c5ef0365855c@18.181.52.189:30311","enode://df1e8eb59e42cad3c4551b2a53e31a7e55a2fdde1287babd1e94b0836550b489ba16c40932e4dacb16cba346bd442c432265a299c4aca63ee7bb0f832b9f45eb@52.51.80.128:30311","enode://0bd566a7fd136ecd19414a601bfdc530d5de161e3014033951dd603e72b1a8959eb5b70b06c87a5a75cbf45e4055c387d2a842bd6b1bd8b5041b3a61bab615cf@34.242.33.165:30311","enode://604ed87d813c2b884ff1dc3095afeab18331f3cc361e8fb604159e844905dfa6e4c627306231d48f46a2edceffcd069264a89d99cdbf861a04e8d3d8d7282e8a@3.209.122.123:30311","enode://4d358eca87c44230a49ceaca123c89c7e77232aeae745c3a4917e607b909c4a14034b3a742960a378c3f250e0e67391276e80c7beee7770071e13f33a5b0606a@52.72.123.113:30311"]
EnableMsgEvents = false
[Node.HTTPTimeouts]
ReadTimeout = 30000000000
WriteTimeout = 30000000000
IdleTimeout = 120000000000
pls upgrade to v1.4.14 and delete StaticNodes&TrustedNodes in your config
StaticNodes
1.you are running the BSC testnet? as the network id is: NetworkId = 97 2.where do you get your StaticNodes configure, is it for testnet?
@kujo-osick , 1.if you wanna to run BSC testnet, pls use the config.toml from the testnet.zip in latest release 2.if you wanna to run BSC mainnet, pls use the config.toml from the mainnet.zip in latest release
close it now, as it could be dependent on the overall network status, I failed to reproduce it now. Add some log to help check in the future.
System information
Geth version:
geth v1.4.13
Linux, x64Expected behaviour
Node should be synced quite quickly, better less then 1min
Actual behaviour
it is not stable, sometimes it took more than 6min
Steps to reproduce the behaviour
just try restart your node, check when it will be synced.
Logs