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

Wrong block data size received, and then P2P connections drop to a non-working loop a bit later in full sync #99

Open
khoau2u opened this issue Jun 18, 2024 · 2 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@khoau2u
Copy link
Contributor

khoau2u commented Jun 18, 2024

Configuration: Bare metal Linux server with 8C16T CPU + 64GiB memory in VN, 500mbps uplink, u2u executable built from master branch

Logs:

...13925173 fetched A-OK...

INFO [06-19|00:52:25.773] New block                                index=13925174 id=60977:4767:6c9801 gas_used=2,342,884 txs=2/0 age=2m17.563s      t=9.368ms

DEBUG[06-19|00:58:00.747] Reinjecting stale transactions           count=0
DEBUG[06-19|00:58:00.774] Persisted trie from memory database      nodes=0  size=0.00B   time=20.38659ms gcnodes=33 gcsize=13.12KiB gctime="859.752µs" livenodes=725 livesize=252.44KiB
DEBUG[06-19|00:58:00.786] Loaded snapshot journal                  diskroot=dd65fe..ec210b diffs=unmatched
DEBUG[06-19|00:58:00.786] New event                                       id=60978:4783:406054 parents=2 by=6  frame=369 txs=0
  age=49.674s                 t=61.923ms
TRACE[06-19|00:58:00.786] Event is already known to all peers      hash=60978:4783:406054
DEBUG[06-19|00:58:00.949] Fetching batch of events                 id=ba2493fd5e72d318  conn=dyndial count=250
DEBUG[06-19|00:58:00.949] Fetching batch of events                 id=ba2493fd5e72d318  conn=dyndial count=96
DEBUG[06-19|00:58:00.949] Fetching batch of events                 id=ba2493fd5e72d318  conn=dyndial count=250
TRACE[06-19|00:58:01.003] FINDNODE failed                            id=ba2493fd5e72d318  failcount=117 dropped=false err="RPC timeout"
TRACE[06-19|00:58:01.003] FINDNODE failed                            id=d5112ff2b7b54e60  failcount=113 dropped=false err="RPC timeout"
TRACE[06-19|00:58:01.003] >> FINDNODE/v5                           id=ba2493fd5e72d318  addr=18.143.208.170:5050
TRACE[06-19|00:58:01.003] >> FINDNODE/v5                           id=d5112ff2b7b54e60  addr=3.1.11.147:5050
TRACE[06-19|00:58:01.397] >> FINDNODE/v4                           id=ba2493fd5e72d318  addr=18.143.208.170:5050 err=nil
TRACE[06-19|00:58:01.397] >> FINDNODE/v4                           id=d5112ff2b7b54e60  addr=3.1.11.147:5050     err=nil
TRACE[06-19|00:58:01.397] >> FINDNODE/v4                           id=ba2493fd5e72d318  addr=18.143.208.170:5050 err=nil
TRACE[06-19|00:58:01.397] >> FINDNODE/v4                           id=d5112ff2b7b54e60  addr=3.1.11.147:5050     err=nil
TRACE[06-19|00:58:01.704] FINDNODE failed                          id=d5112ff2b7b54e60  failcount=114 dropped=false err="RPC timeout"
TRACE[06-19|00:58:01.898] Discarding dial candidate                id=d5112ff2b7b54e60  ip=3.1.11.147      reason="already connected"

TRACE[06-19|00:58:03.401] >> PING/v4                               id=d5112ff2b7b54e60  addr=3.1.11.147:5050     err=nil

DEBUG[06-19|00:58:04.066] Removed dead node                        b=14 id=d5112ff2b7b54e60  ip=3.1.11.147      checks=0

INFO [06-19|00:59:24.934] Looking for peers                     peercount=0 tried=2 static=0
...

Noticed that gas_used=2342884 for block 13925174 which is obviously wrong, some invalid data received, waiting for me to capture it
--> Then node go into unrecoverable unsynced state due to being maybe-banned by all the peers
I will upload full logs and the config later.

@khoau2u khoau2u added bug Something isn't working enhancement New feature or request labels Jun 18, 2024
@khoau2u khoau2u self-assigned this Jun 18, 2024
@khoau2u
Copy link
Contributor Author

khoau2u commented Jun 19, 2024

Attached log file: stdout.log.gz

@khoau2u
Copy link
Contributor Author

khoau2u commented Jul 7, 2024

Something to do with my router's firewall and TLS X25519 Kyber

@khoau2u khoau2u added help wanted Extra attention is needed and removed bug Something isn't working enhancement New feature or request labels Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant