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

Low peer count on Gnosis #4490

Closed
vandot opened this issue Jul 11, 2023 · 10 comments
Closed

Low peer count on Gnosis #4490

vandot opened this issue Jul 11, 2023 · 10 comments
Assignees

Comments

@vandot
Copy link

vandot commented Jul 11, 2023

Description

I have one pair of nodes (Nethermind + Lighthouse) for Sepolia and it's running flawlessly. High number of connected peers and /lighthouse/nat returns {"data":true}
On the other hand I have three pair of nodes (Nethermind + Lighthouse) for Gnosis and there is an issue with low peer count. /lighthouse/nat returns {"data":false}

Configs and versions are the same for all nodes, of course except --network=sepolia and --network=gnosis and all nodes are synced.

Version

Lighthouse -> v4.3.0
Nethermind -> 1.19.3

Present Behaviour

All nodes are running on the same EKS (AWS k8s) cluster with enabled wide range of TCP and UDP ports. Using telnet and nmap shows that all ports are open, but only sepolia node returns {"data":true} on /lighthouse/nat endpoint.

Nodes are deployed using latest (1.0.5) lighthouse Helm chart
Notable part of values.yaml

mode: "beacon"

p2pNodePort:
  enabled: true

extraArgs:
  - --network=gnosis
  - --execution-endpoint=http://gnosis-nethermind:8551
  - --validator-monitor-auto
  - --subscribe-all-subnets
  - --import-all-attestations

checkpointSync:
  enabled: true
  url: "https://checkpoint.gnosischain.com/"

Command used to start gnosis node

lighthouse beacon_node --datadir=/data --disable-upnp --disable-enr-auto-update --enr-address=$EXTERNAL_IP --enr-tcp-port=$EXTERNAL_PORT --enr-udp-port=$EXTERNAL_PORT --listen-address=0.0.0.0 --port=
9000 --discovery-port=9000 --http --http-address=0.0.0.0 --http-port=5052 --execution-jwt=/data/jwt.hex --metrics --metrics-address=0.0.0.0 --metrics-port=5054 --checkpoint-sync-url=https://checkpoint.gnosischain.com/ --network=gnos
is --execution-endpoint=http://gnosis-nethermind:8551 --validator-monitor-auto --subscribe-all-subnets --import-all-attestations

Command used to start sepolia node

lighthouse beacon_node --datadir=/data --disable-upnp --disable-enr-auto-update --enr-address=$EXTERNAL_IP --enr-tcp-port=$EXTERNAL_PORT --enr-udp-port=$EXTERNAL_PORT --listen-address=0.0.0.0 --port=
9000 --discovery-port=9000 --http --http-address=0.0.0.0 --http-port=5052 --execution-jwt=/data/jwt.hex --metrics --metrics-address=0.0.0.0 --metrics-port=5054 --checkpoint-sync-url=https://sepolia.checkpoint-sync.ethpandaops.io/ --
network=sepolia --execution-endpoint=http://sepolia-nethermind:8551 --validator-monitor-auto --subscribe-all-subnets --import-all-attestations

EXTERNAL_IP and EXTERNAL_PORT are properly set and used.

Expected Behaviour

Both sepolia and gnosis Lighthouse should return {"data":true} on /lighthouse/nat endpoint and have high number of connected (inbound and outbound) peers.

@AgeManning
Copy link
Member

When you say low peer count. Do you mean 0 peers, what number does it fluctuate around?

The configuration you have looks correct provided the EXTERNAL_IP and EXTERNAL_PORT are correct. The nat endpoint will only get set to true, once a single external node connects to you.

It seems on the gnosis chain that there is no external nodes connecting to you, this can be really only one of a few problems:

  • You are not contactable at EXTERNAL_IP EXTERNAL_PORT. You've said this is not the case, but i'd double check that both TCP AND UDP are reachable on this socket
  • Discovery is broken somehow in that you are not advertising your ENR for others to find and connect to you. I believe gnosis is a lighthouse-dominated chain. In Lighthouse's discovery, we prevent storing your ENR if you are connecting to us on a different socket than what your ENR says you are contactable on. i.e if your network setup is such that you send UDP messages outbound on socket 9050 (some routers do this) and you have port forwarded 9000, you will struggle to find peers and your ENR will not get advertised on the DHT.

It would be instructive to get maybe 30 seconds of discovery logs, to figure out exactly why you can't find peers.

To do this, run lighthouse with the -l flag, but also enable discovery logs via the env variable RUST_LOG=discv5=debug.

i.e from the CLI you could run:

RUST_LOG=discv5=debug lighthouse -l ...

@AgeManning AgeManning self-assigned this Jul 17, 2023
@vandot
Copy link
Author

vandot commented Jul 17, 2023

@AgeManning thanks for your inputs.
Yes, I mean 0. Node starts with 3 peers but pretty soon goes down to 0.
Problem is that now node is no longer synced, it drops to 0 peers too soon (I can start new fresh node if needed).
I triple checked EXTERNAL_IP and EXTERNAL_PORT connectability, as I mentioned I have Sepolia node on the same cluster with completely same config, except network and it works without any issue.
You can find the asked log output below

[2023-07-17T06:33:45Z DEBUG discv5::socket::recv] Recv handler starting
[2023-07-17T06:33:45Z DEBUG discv5::socket::send] Send handler starting
[2023-07-17T06:33:45Z DEBUG discv5::handler] Handler Starting
[2023-07-17T06:33:45Z INFO  discv5::service] Discv5 Service started
[2023-07-17T06:33:45Z INFO  discv5::service] Ip4
[2023-07-17T06:33:45Z DEBUG discv5::service] Sending RPC Request: id: 80517e92fbda0d1c: FINDNODE Request: distance: [252, 253, 251] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T06:33:45Z DEBUG discv5::service] Sending RPC Request: id: 6cd79e59f2571d83: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T06:33:45Z DEBUG discv5::service] Sending RPC Request: id: b7c45c59aa1e08e5: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T06:33:45Z DEBUG discv5::service] Sending RPC Request: id: 646c7924d961e027: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T06:33:45Z DEBUG discv5::service] Sending RPC Request: id: c12f03d6cd073530: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T06:33:45Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Outgoing
[2023-07-17T06:33:45Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T06:33:45Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Outgoing
[2023-07-17T06:33:45Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T06:33:45Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Outgoing
[2023-07-17T06:33:45Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T06:33:46Z DEBUG discv5::service] RPC Request timed out. id: 6cd79e59f2571d83
[2023-07-17T06:33:46Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T06:33:46Z DEBUG discv5::service] RPC Request timed out. id: c12f03d6cd073530
[2023-07-17T06:33:46Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T06:33:46Z DEBUG discv5::service] Sending RPC Request: id: 8657bb5c4259e42d: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T06:33:46Z DEBUG discv5::service] Sending RPC Request: id: bcbf5077a9759dd5: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T06:33:46Z DEBUG discv5::service] RPC Request timed out. id: 80517e92fbda0d1c
[2023-07-17T06:33:46Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T06:33:46Z DEBUG discv5::service] RPC Request timed out. id: b7c45c59aa1e08e5
[2023-07-17T06:33:46Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T06:33:46Z DEBUG discv5::service] Sending RPC Request: id: 3e8ca4412dd44ac5: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T06:33:46Z DEBUG discv5::service] RPC Request timed out. id: 646c7924d961e027
[2023-07-17T06:33:46Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T06:33:47Z DEBUG discv5::service] RPC Request timed out. id: 8657bb5c4259e42d
[2023-07-17T06:33:47Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T06:33:47Z DEBUG discv5::service] RPC Request timed out. id: bcbf5077a9759dd5
[2023-07-17T06:33:47Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T06:33:47Z DEBUG discv5::service] RPC Request timed out. id: 3e8ca4412dd44ac5
[2023-07-17T06:33:47Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T06:34:15Z DEBUG discv5::service] Sending RPC Request: id: e004f02edeb76ad8: FINDNODE Request: distance: [250, 251, 249] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T06:34:15Z DEBUG discv5::service] Sending RPC Request: id: 0dfbbcb14bca051b: FINDNODE Request: distance: [253, 254, 252] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T06:34:15Z DEBUG discv5::service] Sending RPC Request: id: 1ffed6e638dd890f: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T06:34:15Z DEBUG discv5::service] Sending RPC Request: id: e0da5d897ae57daa: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T06:34:15Z DEBUG discv5::service] Sending RPC Request: id: c6ac52098330ee60: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T06:34:15Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T06:34:15Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T06:34:15Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T06:34:15Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T06:34:16Z DEBUG discv5::service] RPC Request timed out. id: c6ac52098330ee60
[2023-07-17T06:34:16Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T06:34:16Z DEBUG discv5::service] RPC Request timed out. id: e0da5d897ae57daa
[2023-07-17T06:34:16Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T06:34:16Z DEBUG discv5::service] Sending RPC Request: id: c1144ed17cbabde8: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T06:34:16Z DEBUG discv5::service] Sending RPC Request: id: aac5d4db533bb82b: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T06:34:16Z DEBUG discv5::service] RPC Request timed out. id: e004f02edeb76ad8
[2023-07-17T06:34:16Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T06:34:16Z DEBUG discv5::service] Sending RPC Request: id: 733260130ca55a2b: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T06:34:16Z DEBUG discv5::service] RPC Request timed out. id: 1ffed6e638dd890f
[2023-07-17T06:34:16Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T06:34:16Z DEBUG discv5::service] RPC Request timed out. id: 0dfbbcb14bca051b
[2023-07-17T06:34:16Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T06:34:16Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T06:34:16Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T06:34:17Z DEBUG discv5::service] RPC Request timed out. id: c1144ed17cbabde8
[2023-07-17T06:34:17Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T06:34:17Z DEBUG discv5::service] RPC Request timed out. id: 733260130ca55a2b
[2023-07-17T06:34:17Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T06:34:17Z DEBUG discv5::service] RPC Request timed out. id: aac5d4db533bb82b
[2023-07-17T06:34:17Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T06:34:45Z DEBUG discv5::service] Sending RPC Request: id: 2bff3ebfea2cf2eb: FINDNODE Request: distance: [252, 253, 251] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T06:34:45Z DEBUG discv5::service] Sending RPC Request: id: 7dc498a56535ea1d: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T06:34:45Z DEBUG discv5::service] Sending RPC Request: id: d696fe0bcd12a6d3: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T06:34:45Z DEBUG discv5::service] Sending RPC Request: id: 99be5d6b22f03bb8: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T06:34:45Z DEBUG discv5::service] Sending RPC Request: id: 815fb7fe8c20f4d1: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T06:34:45Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T06:34:45Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T06:34:46Z DEBUG discv5::service] RPC Request timed out. id: 99be5d6b22f03bb8
[2023-07-17T06:34:46Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T06:34:46Z DEBUG discv5::service] RPC Request timed out. id: d696fe0bcd12a6d3
[2023-07-17T06:34:46Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T06:34:46Z DEBUG discv5::service] RPC Request timed out. id: 7dc498a56535ea1d
[2023-07-17T06:34:46Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T06:34:46Z DEBUG discv5::service] RPC Request timed out. id: 2bff3ebfea2cf2eb
[2023-07-17T06:34:46Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T06:34:46Z DEBUG discv5::service] Sending RPC Request: id: b4b8977372dcf161: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T06:34:46Z DEBUG discv5::service] Sending RPC Request: id: a2dcc8190a646a60: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T06:34:46Z DEBUG discv5::service] Sending RPC Request: id: 5426a7fcd3df019a: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T06:34:46Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T06:34:46Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T06:34:46Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T06:34:46Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T06:34:46Z DEBUG discv5::service] RPC Request timed out. id: 815fb7fe8c20f4d1
[2023-07-17T06:34:46Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T06:34:47Z DEBUG discv5::service] RPC Request timed out. id: a2dcc8190a646a60
[2023-07-17T06:34:47Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T06:34:47Z DEBUG discv5::service] RPC Request timed out. id: b4b8977372dcf161
[2023-07-17T06:34:47Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T06:34:47Z DEBUG discv5::service] RPC Request timed out. id: 5426a7fcd3df019a
[2023-07-17T06:34:47Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T06:35:15Z DEBUG discv5::service] Sending RPC Request: id: fcf2ab0233098906: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T06:35:15Z DEBUG discv5::service] Sending RPC Request: id: 5b7deb30b9d30358: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T06:35:15Z DEBUG discv5::service] Sending RPC Request: id: b619e2ab62c74c19: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T06:35:15Z DEBUG discv5::service] Sending RPC Request: id: 61aeec85cc4f9fea: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T06:35:15Z DEBUG discv5::service] Sending RPC Request: id: e9dd37582d713761: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T06:35:15Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T06:35:15Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T06:35:15Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T06:35:15Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T06:35:15Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T06:35:15Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T06:35:16Z DEBUG discv5::service] RPC Request timed out. id: e9dd37582d713761
[2023-07-17T06:35:16Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T06:35:16Z DEBUG discv5::service] Sending RPC Request: id: fd33e423ddd2c9d2: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T06:35:16Z DEBUG discv5::service] RPC Request timed out. id: 5b7deb30b9d30358
[2023-07-17T06:35:16Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T06:35:16Z DEBUG discv5::service] Sending RPC Request: id: 5ea4eb1d092e4be4: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T06:35:16Z DEBUG discv5::service] RPC Request timed out. id: fcf2ab0233098906
[2023-07-17T06:35:16Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T06:35:16Z DEBUG discv5::service] Sending RPC Request: id: 412604b416e3f446: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T06:35:16Z DEBUG discv5::service] RPC Request timed out. id: b619e2ab62c74c19
[2023-07-17T06:35:16Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T06:35:16Z DEBUG discv5::service] RPC Request timed out. id: 61aeec85cc4f9fea
[2023-07-17T06:35:16Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T06:35:17Z DEBUG discv5::service] RPC Request timed out. id: fd33e423ddd2c9d2
[2023-07-17T06:35:17Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T06:35:17Z DEBUG discv5::service] RPC Request timed out. id: 5ea4eb1d092e4be4
[2023-07-17T06:35:17Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T06:35:17Z DEBUG discv5::service] RPC Request timed out. id: 412604b416e3f446
[2023-07-17T06:35:17Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T06:35:45Z DEBUG discv5::service] Sending RPC Request: id: 46d4d90837779653: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T06:35:45Z DEBUG discv5::service] Sending RPC Request: id: c1906637bce96f32: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T06:35:45Z DEBUG discv5::service] Sending RPC Request: id: 253e7155548551c4: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T06:35:45Z DEBUG discv5::service] Sending RPC Request: id: 5c98b2c82153a31e: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T06:35:45Z DEBUG discv5::service] Sending RPC Request: id: 94740377023adec3: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T06:35:45Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T06:35:45Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T06:35:46Z DEBUG discv5::service] RPC Request timed out. id: 94740377023adec3
[2023-07-17T06:35:46Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T06:35:46Z DEBUG discv5::service] Sending RPC Request: id: 521947a2156ca177: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T06:35:46Z DEBUG discv5::service] RPC Request timed out. id: 5c98b2c82153a31e
[2023-07-17T06:35:46Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T06:35:46Z DEBUG discv5::service] Sending RPC Request: id: cbb5566cf71ed393: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T06:35:46Z DEBUG discv5::service] RPC Request timed out. id: 253e7155548551c4
[2023-07-17T06:35:46Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T06:35:46Z DEBUG discv5::service] Sending RPC Request: id: 11d410f6e51f2392: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T06:35:46Z DEBUG discv5::service] RPC Request timed out. id: c1906637bce96f32
[2023-07-17T06:35:46Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T06:35:46Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T06:35:46Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T06:35:46Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T06:35:46Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T06:35:46Z DEBUG discv5::service] RPC Request timed out. id: 46d4d90837779653
[2023-07-17T06:35:46Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T06:35:47Z DEBUG discv5::service] RPC Request timed out. id: cbb5566cf71ed393
[2023-07-17T06:35:47Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T06:35:47Z DEBUG discv5::service] RPC Request timed out. id: 521947a2156ca177
[2023-07-17T06:35:47Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T06:35:47Z DEBUG discv5::service] RPC Request timed out. id: 11d410f6e51f2392
[2023-07-17T06:35:47Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T06:36:15Z DEBUG discv5::service] Sending RPC Request: id: dca87fc0ccd32f47: FINDNODE Request: distance: [251, 252, 250] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T06:36:15Z DEBUG discv5::service] Sending RPC Request: id: 2c24b608aad90c7d: FINDNODE Request: distance: [253, 254, 252] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T06:36:15Z DEBUG discv5::service] Sending RPC Request: id: 37587330a6f3e714: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T06:36:15Z DEBUG discv5::service] Sending RPC Request: id: 5a85cf44feb3d509: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T06:36:15Z DEBUG discv5::service] Sending RPC Request: id: 7b9fc43588430a9b: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T06:36:15Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T06:36:15Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T06:36:16Z DEBUG discv5::service] RPC Request timed out. id: 7b9fc43588430a9b
[2023-07-17T06:36:16Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T06:36:16Z DEBUG discv5::service] RPC Request timed out. id: 5a85cf44feb3d509
[2023-07-17T06:36:16Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T06:36:16Z DEBUG discv5::service] RPC Request timed out. id: 37587330a6f3e714
[2023-07-17T06:36:16Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T06:36:16Z DEBUG discv5::service] RPC Request timed out. id: dca87fc0ccd32f47
[2023-07-17T06:36:16Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T06:36:16Z DEBUG discv5::service] Sending RPC Request: id: f38af76addd82fa8: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T06:36:16Z DEBUG discv5::service] Sending RPC Request: id: d643e8a5be5efa6c: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T06:36:16Z DEBUG discv5::service] Sending RPC Request: id: 3610032b930d6bb9: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T06:36:16Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T06:36:16Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T06:36:16Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T06:36:16Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T06:36:16Z DEBUG discv5::service] RPC Request timed out. id: 2c24b608aad90c7d
[2023-07-17T06:36:16Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T06:36:17Z DEBUG discv5::service] RPC Request timed out. id: 3610032b930d6bb9
[2023-07-17T06:36:17Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T06:36:17Z DEBUG discv5::service] RPC Request timed out. id: f38af76addd82fa8
[2023-07-17T06:36:17Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T06:36:17Z DEBUG discv5::service] RPC Request timed out. id: d643e8a5be5efa6c
[2023-07-17T06:36:17Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756

@vandot
Copy link
Author

vandot commented Jul 17, 2023

@AgeManning other 2 nodes I managed to sync, /lighthouse/nat still returns false and these are their discovery logs
node-2

[2023-07-17T09:24:00Z DEBUG discv5::socket::send] Send handler starting
[2023-07-17T09:24:00Z DEBUG discv5::handler] Handler Starting
[2023-07-17T09:24:00Z DEBUG discv5::socket::recv] Recv handler starting
[2023-07-17T09:24:00Z INFO  discv5::service] Discv5 Service started
[2023-07-17T09:24:00Z INFO  discv5::service] Ip4
[2023-07-17T09:24:00Z DEBUG discv5::service] Sending RPC Request: id: aa4fb515b3d22978: FINDNODE Request: distance: [249, 250, 248] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T09:24:00Z DEBUG discv5::service] Sending RPC Request: id: fc10d190d712a0cd: FINDNODE Request: distance: [253, 254, 252] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T09:24:00Z DEBUG discv5::service] Sending RPC Request: id: 514ff906e0b95fb6: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T09:24:00Z DEBUG discv5::service] Sending RPC Request: id: 5100650fd9ec5667: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T09:24:00Z DEBUG discv5::service] Sending RPC Request: id: 14e73cde094fbc09: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T09:24:00Z DEBUG discv5::service] Session established with Node: 0xe033..291c, direction: Outgoing
[2023-07-17T09:24:00Z DEBUG discv5::service] Node promoted to connected: 0xe033..291c
[2023-07-17T09:24:00Z DEBUG discv5::service] Session established with Node: 0x8bab..44e9, direction: Outgoing
[2023-07-17T09:24:00Z DEBUG discv5::service] Node promoted to connected: 0x8bab..44e9
[2023-07-17T09:24:01Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Outgoing
[2023-07-17T09:24:01Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T09:24:01Z DEBUG discv5::service] RPC Request timed out. id: 514ff906e0b95fb6
[2023-07-17T09:24:01Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T09:24:01Z DEBUG discv5::service] RPC Request timed out. id: 5100650fd9ec5667
[2023-07-17T09:24:01Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T09:24:01Z DEBUG discv5::service] Sending RPC Request: id: fdc14f8377a942cc: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T09:24:01Z DEBUG discv5::service] Sending RPC Request: id: 33a5c6bba8237406: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T09:24:01Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Outgoing
[2023-07-17T09:24:01Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T09:24:01Z DEBUG discv5::service] RPC Request timed out. id: 14e73cde094fbc09
[2023-07-17T09:24:01Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T09:24:01Z DEBUG discv5::service] Sending RPC Request: id: b80f166bab532d93: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T09:24:01Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Outgoing
[2023-07-17T09:24:01Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T09:24:01Z DEBUG discv5::service] RPC Request timed out. id: aa4fb515b3d22978
[2023-07-17T09:24:01Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T09:24:02Z DEBUG discv5::service] RPC Request timed out. id: fc10d190d712a0cd
[2023-07-17T09:24:02Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T09:24:02Z DEBUG discv5::service] RPC Request timed out. id: fdc14f8377a942cc
[2023-07-17T09:24:02Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T09:24:02Z DEBUG discv5::service] RPC Request timed out. id: 33a5c6bba8237406
[2023-07-17T09:24:02Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T09:24:02Z DEBUG discv5::service] RPC Request timed out. id: b80f166bab532d93
[2023-07-17T09:24:02Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T09:24:30Z DEBUG discv5::service] Sending RPC Request: id: af90634481a9a89c: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T09:24:30Z DEBUG discv5::service] Sending RPC Request: id: bf4454a1c97f85e8: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T09:24:30Z DEBUG discv5::service] Sending RPC Request: id: 9c17f84ac221f704: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T09:24:30Z DEBUG discv5::service] Sending RPC Request: id: 82160dfeb9c0154f: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T09:24:30Z DEBUG discv5::service] Sending RPC Request: id: 0aade81618c88275: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T09:24:30Z DEBUG discv5::service] Session established with Node: 0xe033..291c, direction: Incoming
[2023-07-17T09:24:30Z DEBUG discv5::service] Node promoted to connected: 0xe033..291c
[2023-07-17T09:24:30Z DEBUG discv5::service] Session established with Node: 0x8bab..44e9, direction: Incoming
[2023-07-17T09:24:30Z DEBUG discv5::service] Node promoted to connected: 0x8bab..44e9
[2023-07-17T09:24:31Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T09:24:31Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T09:24:31Z DEBUG discv5::service] RPC Request timed out. id: 0aade81618c88275
[2023-07-17T09:24:31Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T09:24:31Z DEBUG discv5::service] Sending RPC Request: id: 036dbc1798bbd418: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T09:24:31Z DEBUG discv5::service] RPC Request timed out. id: 82160dfeb9c0154f
[2023-07-17T09:24:31Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T09:24:31Z DEBUG discv5::service] Sending RPC Request: id: 907609cae2cf1139: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T09:24:31Z DEBUG discv5::service] RPC Request timed out. id: 9c17f84ac221f704
[2023-07-17T09:24:31Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T09:24:31Z DEBUG discv5::service] Sending RPC Request: id: c60cfa82644e7431: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T09:24:31Z DEBUG discv5::service] RPC Request timed out. id: af90634481a9a89c
[2023-07-17T09:24:31Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T09:24:31Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T09:24:31Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T09:24:31Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T09:24:31Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T09:24:32Z DEBUG discv5::service] RPC Request timed out. id: bf4454a1c97f85e8
[2023-07-17T09:24:32Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T09:24:32Z DEBUG discv5::service] RPC Request timed out. id: c60cfa82644e7431
[2023-07-17T09:24:32Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T09:24:32Z DEBUG discv5::service] RPC Request timed out. id: 907609cae2cf1139
[2023-07-17T09:24:32Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T09:24:32Z DEBUG discv5::service] RPC Request timed out. id: 036dbc1798bbd418
[2023-07-17T09:24:32Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T09:25:00Z DEBUG discv5::service] Sending RPC Request: id: c68395383328d613: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T09:25:00Z DEBUG discv5::service] Sending RPC Request: id: 118dc4291f9000c9: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T09:25:00Z DEBUG discv5::service] Sending RPC Request: id: 2bdf1babb7760a9f: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T09:25:00Z DEBUG discv5::service] Sending RPC Request: id: 1c51e9ae1a011a70: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T09:25:00Z DEBUG discv5::service] Sending RPC Request: id: 6a1404fc1dc81149: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T09:25:00Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T09:25:00Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T09:25:00Z DEBUG discv5::service] Session established with Node: 0x8bab..44e9, direction: Incoming
[2023-07-17T09:25:00Z DEBUG discv5::service] Node promoted to connected: 0x8bab..44e9
[2023-07-17T09:25:00Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T09:25:00Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T09:25:01Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T09:25:01Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T09:25:01Z DEBUG discv5::service] RPC Request timed out. id: 2bdf1babb7760a9f
[2023-07-17T09:25:01Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T09:25:01Z DEBUG discv5::service] Sending RPC Request: id: 96070e50b211c376: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T09:25:01Z DEBUG discv5::service] RPC Request timed out. id: c68395383328d613
[2023-07-17T09:25:01Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T09:25:01Z DEBUG discv5::service] Sending RPC Request: id: 25e9c8f42e889bfc: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T09:25:01Z DEBUG discv5::service] Session established with Node: 0xe033..291c, direction: Incoming
[2023-07-17T09:25:01Z DEBUG discv5::service] Node promoted to connected: 0xe033..291c
[2023-07-17T09:25:01Z DEBUG discv5::service] RPC Request timed out. id: 118dc4291f9000c9
[2023-07-17T09:25:01Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T09:25:01Z DEBUG discv5::service] Sending RPC Request: id: a1e587e64aa6e3ff: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T09:25:01Z DEBUG discv5::service] RPC Request timed out. id: 1c51e9ae1a011a70
[2023-07-17T09:25:01Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T09:25:02Z DEBUG discv5::service] RPC Request timed out. id: 6a1404fc1dc81149
[2023-07-17T09:25:02Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T09:25:02Z DEBUG discv5::service] RPC Request timed out. id: a1e587e64aa6e3ff
[2023-07-17T09:25:02Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T09:25:02Z DEBUG discv5::service] RPC Request timed out. id: 25e9c8f42e889bfc
[2023-07-17T09:25:02Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T09:25:02Z DEBUG discv5::service] RPC Request timed out. id: 96070e50b211c376
[2023-07-17T09:25:02Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T09:25:30Z DEBUG discv5::service] Sending RPC Request: id: bcb2d471447ae049: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T09:25:30Z DEBUG discv5::service] Sending RPC Request: id: fb0b573ef74b23a2: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T09:25:30Z DEBUG discv5::service] Sending RPC Request: id: 4e903f5fef823a85: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T09:25:30Z DEBUG discv5::service] Sending RPC Request: id: c52f67c15e0e4a67: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T09:25:30Z DEBUG discv5::service] Sending RPC Request: id: fd51fa4ad6957b7b: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T09:25:30Z DEBUG discv5::service] Session established with Node: 0xe033..291c, direction: Incoming
[2023-07-17T09:25:30Z DEBUG discv5::service] Node promoted to connected: 0xe033..291c
[2023-07-17T09:25:30Z DEBUG discv5::service] Session established with Node: 0x8bab..44e9, direction: Incoming
[2023-07-17T09:25:30Z DEBUG discv5::service] Node promoted to connected: 0x8bab..44e9
[2023-07-17T09:25:31Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T09:25:31Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T09:25:31Z DEBUG discv5::service] RPC Request timed out. id: fd51fa4ad6957b7b
[2023-07-17T09:25:31Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T09:25:31Z DEBUG discv5::service] RPC Request timed out. id: c52f67c15e0e4a67
[2023-07-17T09:25:31Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T09:25:31Z DEBUG discv5::service] Sending RPC Request: id: b75c37e302a5c102: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T09:25:31Z DEBUG discv5::service] Sending RPC Request: id: 4383844aeea04e62: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T09:25:31Z DEBUG discv5::service] RPC Request timed out. id: 4e903f5fef823a85
[2023-07-17T09:25:31Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T09:25:31Z DEBUG discv5::service] Sending RPC Request: id: 96d6159e1eb5fc39: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T09:25:31Z DEBUG discv5::service] RPC Request timed out. id: fb0b573ef74b23a2
[2023-07-17T09:25:31Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T09:25:31Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T09:25:31Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T09:25:31Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T09:25:31Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T09:25:32Z DEBUG discv5::service] RPC Request timed out. id: bcb2d471447ae049
[2023-07-17T09:25:32Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T09:25:32Z DEBUG discv5::service] RPC Request timed out. id: 4383844aeea04e62
[2023-07-17T09:25:32Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T09:25:32Z DEBUG discv5::service] RPC Request timed out. id: b75c37e302a5c102
[2023-07-17T09:25:32Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T09:25:32Z DEBUG discv5::service] RPC Request timed out. id: 96d6159e1eb5fc39
[2023-07-17T09:25:32Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756

node-3

[2023-07-17T09:25:32Z DEBUG discv5::socket::send] Send handler starting
[2023-07-17T09:25:32Z DEBUG discv5::socket::recv] Recv handler starting
[2023-07-17T09:25:32Z INFO  discv5::service] Discv5 Service started
[2023-07-17T09:25:32Z INFO  discv5::service] Ip4
[2023-07-17T09:25:32Z DEBUG discv5::handler] Handler Starting
[2023-07-17T09:25:32Z DEBUG discv5::service] Sending RPC Request: id: 50fc0d7bf654ef20: FINDNODE Request: distance: [252, 253, 251] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T09:25:32Z DEBUG discv5::service] Sending RPC Request: id: d1447419ed4122fe: FINDNODE Request: distance: [253, 254, 252] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T09:25:32Z DEBUG discv5::service] Sending RPC Request: id: 763c53f3ac865de5: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T09:25:32Z DEBUG discv5::service] Sending RPC Request: id: dd9881179bdc1ee3: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T09:25:32Z DEBUG discv5::service] Sending RPC Request: id: 3b72001846263de3: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T09:25:32Z DEBUG discv5::service] Session established with Node: 0xe033..291c, direction: Outgoing
[2023-07-17T09:25:32Z DEBUG discv5::service] Node promoted to connected: 0xe033..291c
[2023-07-17T09:25:32Z DEBUG discv5::service] Session established with Node: 0x8bab..44e9, direction: Outgoing
[2023-07-17T09:25:32Z DEBUG discv5::service] Node promoted to connected: 0x8bab..44e9
[2023-07-17T09:25:32Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Outgoing
[2023-07-17T09:25:32Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T09:25:33Z DEBUG discv5::service] RPC Request timed out. id: 50fc0d7bf654ef20
[2023-07-17T09:25:33Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T09:25:33Z DEBUG discv5::service] RPC Request timed out. id: d1447419ed4122fe
[2023-07-17T09:25:33Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T09:25:33Z DEBUG discv5::service] Sending RPC Request: id: ed00c44ca7035a7a: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T09:25:33Z DEBUG discv5::service] Sending RPC Request: id: 1c92467b7256d140: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T09:25:33Z DEBUG discv5::service] RPC Request timed out. id: 763c53f3ac865de5
[2023-07-17T09:25:33Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T09:25:33Z DEBUG discv5::service] Sending RPC Request: id: f080a14e8fe723c1: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T09:25:33Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Outgoing
[2023-07-17T09:25:33Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T09:25:33Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Outgoing
[2023-07-17T09:25:33Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T09:25:33Z DEBUG discv5::service] RPC Request timed out. id: dd9881179bdc1ee3
[2023-07-17T09:25:33Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T09:25:33Z DEBUG discv5::service] RPC Request timed out. id: 3b72001846263de3
[2023-07-17T09:25:33Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T09:25:34Z DEBUG discv5::service] RPC Request timed out. id: 1c92467b7256d140
[2023-07-17T09:25:34Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T09:25:34Z DEBUG discv5::service] RPC Request timed out. id: f080a14e8fe723c1
[2023-07-17T09:25:34Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T09:25:34Z DEBUG discv5::service] RPC Request timed out. id: ed00c44ca7035a7a
[2023-07-17T09:25:34Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T09:26:02Z DEBUG discv5::service] Sending RPC Request: id: c18403080c4c2a5e: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T09:26:02Z DEBUG discv5::service] Sending RPC Request: id: 8bf4a86c6aff8128: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T09:26:02Z DEBUG discv5::service] Sending RPC Request: id: 5eaa4ae47009070c: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T09:26:02Z DEBUG discv5::service] Sending RPC Request: id: f0ffddaf02994fe3: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T09:26:02Z DEBUG discv5::service] Sending RPC Request: id: 68d2fecb4ab465df: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T09:26:02Z DEBUG discv5::service] Session established with Node: 0xe033..291c, direction: Incoming
[2023-07-17T09:26:02Z DEBUG discv5::service] Node promoted to connected: 0xe033..291c
[2023-07-17T09:26:02Z DEBUG discv5::service] Session established with Node: 0x8bab..44e9, direction: Incoming
[2023-07-17T09:26:02Z DEBUG discv5::service] Node promoted to connected: 0x8bab..44e9
[2023-07-17T09:26:02Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T09:26:02Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T09:26:03Z DEBUG discv5::service] RPC Request timed out. id: 68d2fecb4ab465df
[2023-07-17T09:26:03Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T09:26:03Z DEBUG discv5::service] Sending RPC Request: id: d863bed9ba5ebb1a: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T09:26:03Z DEBUG discv5::service] RPC Request timed out. id: f0ffddaf02994fe3
[2023-07-17T09:26:03Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T09:26:03Z DEBUG discv5::service] Sending RPC Request: id: 6bfb8da9ee69f535: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T09:26:03Z DEBUG discv5::service] RPC Request timed out. id: 5eaa4ae47009070c
[2023-07-17T09:26:03Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T09:26:03Z DEBUG discv5::service] Sending RPC Request: id: 544bd0676162874f: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T09:26:03Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T09:26:03Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T09:26:03Z DEBUG discv5::service] RPC Request timed out. id: 8bf4a86c6aff8128
[2023-07-17T09:26:03Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T09:26:03Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T09:26:03Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T09:26:03Z DEBUG discv5::service] RPC Request timed out. id: c18403080c4c2a5e
[2023-07-17T09:26:03Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T09:26:04Z DEBUG discv5::service] RPC Request timed out. id: 6bfb8da9ee69f535
[2023-07-17T09:26:04Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T09:26:04Z DEBUG discv5::service] RPC Request timed out. id: d863bed9ba5ebb1a
[2023-07-17T09:26:04Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T09:26:04Z DEBUG discv5::service] RPC Request timed out. id: 544bd0676162874f
[2023-07-17T09:26:04Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T09:26:32Z DEBUG discv5::service] Sending RPC Request: id: f4f63fc8ddd66b19: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T09:26:32Z DEBUG discv5::service] Sending RPC Request: id: 1b79cd2966f725b1: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T09:26:32Z DEBUG discv5::service] Sending RPC Request: id: 13cf7163c7a6b71d: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T09:26:32Z DEBUG discv5::service] Sending RPC Request: id: 7735f42ad3ac2053: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T09:26:32Z DEBUG discv5::service] Sending RPC Request: id: 99f69076b52c19ac: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T09:26:32Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T09:26:32Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T09:26:32Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T09:26:32Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T09:26:33Z DEBUG discv5::service] RPC Request timed out. id: 99f69076b52c19ac
[2023-07-17T09:26:33Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T09:26:33Z DEBUG discv5::service] Sending RPC Request: id: 67072d2965c42eee: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T09:26:33Z DEBUG discv5::service] RPC Request timed out. id: 7735f42ad3ac2053
[2023-07-17T09:26:33Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T09:26:33Z DEBUG discv5::service] Sending RPC Request: id: e12aba852a79e623: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T09:26:33Z DEBUG discv5::service] RPC Request timed out. id: 1b79cd2966f725b1
[2023-07-17T09:26:33Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T09:26:33Z DEBUG discv5::service] Sending RPC Request: id: 6aad814f93cb17ca: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T09:26:33Z DEBUG discv5::service] RPC Request timed out. id: f4f63fc8ddd66b19
[2023-07-17T09:26:33Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T09:26:33Z DEBUG discv5::service] RPC Request timed out. id: 13cf7163c7a6b71d
[2023-07-17T09:26:33Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T09:26:33Z DEBUG discv5::service] Session established with Node: 0xe033..291c, direction: Incoming
[2023-07-17T09:26:33Z DEBUG discv5::service] Node promoted to connected: 0xe033..291c
[2023-07-17T09:26:33Z DEBUG discv5::service] Session established with Node: 0x8bab..44e9, direction: Incoming
[2023-07-17T09:26:33Z DEBUG discv5::service] Node promoted to connected: 0x8bab..44e9
[2023-07-17T09:26:33Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T09:26:33Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T09:26:34Z DEBUG discv5::service] RPC Request timed out. id: e12aba852a79e623
[2023-07-17T09:26:34Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T09:26:34Z DEBUG discv5::service] RPC Request timed out. id: 67072d2965c42eee
[2023-07-17T09:26:34Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c
[2023-07-17T09:26:34Z DEBUG discv5::service] RPC Request timed out. id: 6aad814f93cb17ca
[2023-07-17T09:26:34Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T09:27:02Z DEBUG discv5::service] Sending RPC Request: id: 0bf1e42afb000bc0: FINDNODE Request: distance: [254, 255, 253] to node: Node: 0x1755..fe88, addr: 18.198.130.54:9000
[2023-07-17T09:27:02Z DEBUG discv5::service] Sending RPC Request: id: bc014868b0fd6b81: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x7243..8c8d, addr: 3.26.206.142:9000
[2023-07-17T09:27:02Z DEBUG discv5::service] Sending RPC Request: id: 5e92957a9eb8b45c: FINDNODE Request: distance: [255, 256, 254] to node: Node: 0x6580..0756, addr: 3.126.169.151:9000
[2023-07-17T09:27:02Z DEBUG discv5::service] Sending RPC Request: id: 76b89739ef623120: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x947d..1ce1, addr: 107.22.4.120:9000
[2023-07-17T09:27:02Z DEBUG discv5::service] Sending RPC Request: id: bdd59dfa1985cd1e: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0x8bab..44e9, addr: 3.64.242.196:9000
[2023-07-17T09:27:02Z DEBUG discv5::service] Session established with Node: 0x1755..fe88, direction: Incoming
[2023-07-17T09:27:02Z DEBUG discv5::service] Node promoted to connected: 0x1755..fe88
[2023-07-17T09:27:02Z DEBUG discv5::service] Session established with Node: 0x6580..0756, direction: Incoming
[2023-07-17T09:27:02Z DEBUG discv5::service] Node promoted to connected: 0x6580..0756
[2023-07-17T09:27:02Z DEBUG discv5::service] Session established with Node: 0x8bab..44e9, direction: Incoming
[2023-07-17T09:27:02Z DEBUG discv5::service] Node promoted to connected: 0x8bab..44e9
[2023-07-17T09:27:02Z DEBUG discv5::service] Session established with Node: 0x947d..1ce1, direction: Incoming
[2023-07-17T09:27:02Z DEBUG discv5::service] Node promoted to connected: 0x947d..1ce1
[2023-07-17T09:27:03Z DEBUG discv5::service] RPC Request timed out. id: bc014868b0fd6b81
[2023-07-17T09:27:03Z DEBUG discv5::service] Node set to disconnected: 0x7243..8c8d
[2023-07-17T09:27:03Z DEBUG discv5::service] Sending RPC Request: id: b69851d732cbe1e5: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xe033..291c, addr: 3.75.159.31:9000
[2023-07-17T09:27:03Z DEBUG discv5::service] RPC Request timed out. id: 5e92957a9eb8b45c
[2023-07-17T09:27:03Z DEBUG discv5::service] Node set to disconnected: 0x6580..0756
[2023-07-17T09:27:03Z DEBUG discv5::service] Sending RPC Request: id: a9ada6daa528e48e: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xdbf0..a678, addr: 54.207.220.169:9000
[2023-07-17T09:27:03Z DEBUG discv5::service] RPC Request timed out. id: 0bf1e42afb000bc0
[2023-07-17T09:27:03Z DEBUG discv5::service] Node set to disconnected: 0x1755..fe88
[2023-07-17T09:27:03Z DEBUG discv5::service] Sending RPC Request: id: 881875a94dcf3208: FINDNODE Request: distance: [256, 255, 254] to node: Node: 0xcfe6..1e85, addr: 15.152.45.82:9000
[2023-07-17T09:27:03Z DEBUG discv5::service] Session established with Node: 0xe033..291c, direction: Incoming
[2023-07-17T09:27:03Z DEBUG discv5::service] Node promoted to connected: 0xe033..291c
[2023-07-17T09:27:03Z DEBUG discv5::service] RPC Request timed out. id: bdd59dfa1985cd1e
[2023-07-17T09:27:03Z DEBUG discv5::service] Node set to disconnected: 0x8bab..44e9
[2023-07-17T09:27:03Z DEBUG discv5::service] RPC Request timed out. id: 76b89739ef623120
[2023-07-17T09:27:03Z DEBUG discv5::service] Node set to disconnected: 0x947d..1ce1
[2023-07-17T09:27:04Z DEBUG discv5::service] RPC Request timed out. id: a9ada6daa528e48e
[2023-07-17T09:27:04Z DEBUG discv5::service] Node set to disconnected: 0xdbf0..a678
[2023-07-17T09:27:04Z DEBUG discv5::service] RPC Request timed out. id: 881875a94dcf3208
[2023-07-17T09:27:04Z DEBUG discv5::service] Node set to disconnected: 0xcfe6..1e85
[2023-07-17T09:27:04Z DEBUG discv5::service] RPC Request timed out. id: b69851d732cbe1e5
[2023-07-17T09:27:04Z DEBUG discv5::service] Node set to disconnected: 0xe033..291c

@AgeManning
Copy link
Member

Ok thank you for these logs.

The logs are saying that none of the bootnodes are responding to you any of your requests.

The main reason I can think of this is that you are sending outbound UDP packets not on EXTERNAL_IP EXTERNAL_PORT.

For example, you might be sending packets that have a src field of X.X.X.X:1040 and your EXTERNAL_PORT could be 9000. So even though port 9000 is open, a discovery node won't respond to you because the packets look like they are coming from another source.

Do you have some outbound route that is different from the inbound route?

One way to fix this, is just to remove the --disable-enr-auto-update --enr-address=$EXTERNAL_IP --enr-tcp-port=$EXTERNAL_PORT --enr-udp-port=$EXTERNAL_PORT CLI fields. This will let discovery figure it out for itself and discovery nodes will then start responding to you.

@AgeManning
Copy link
Member

I think it's possible to modify discovery to allow these kinds of things. We could respond with more nodes but never add your ENR to the DHT. It is kind of sweeping the core issue under the rug however. I think it might be best to have the node fail (as it is now) when there is a misconfiguration happening in the network somewhere.

I made this issue for discussion for reference: sigp/discv5#202

@vandot
Copy link
Author

vandot commented Jul 18, 2023

Will try removing enr related options and report back.
Nodes are deployed into EKS (AWS managed k8s) and exposed using NodePort. Geth and nethermind work flawlesly and also lighthouse used for sepolia chain, maybe I got lucky somehow with sepolia node or it's bootnodes behave differently.

@vandot
Copy link
Author

vandot commented Jul 18, 2023

Removed enr related options and now there are much more peers but all are Outgoing.
You can find discv5 logs attached.
discv5.tar.gz

@AgeManning
Copy link
Member

Ok yep, thanks for the logs.
So I had a quick look through. The way discovery works, is that it sends messages to all the peers it finds and it gets back a response where the peers tell us what ip and port we sent our messages on.

If they all agree that we are sending messages on X:Y, then we set our ENR to say we are contactable at X:Y. Your node is sending messages to peers with different port mappings. I.e peers are reporting your packets coming from X:A, X:B, X:C etc. This is typical for a node behind a symmetric NAT.

I think your problem lies in your SNAT configuration. If you can get your SNAT to specify a single source port, this will solve your problem. This way all packets coming from your node will look to originate from the same port (which is forwarded) and your ENR will be changed to this ip/port.

@AgeManning
Copy link
Member

AgeManning commented Jul 18, 2023

You can see the ports change for yourself, by looking for the PONG response in the logs. The PONG details the IP and PORT of what your peers see as the source of the messages you are sending to them.

@vandot
Copy link
Author

vandot commented Jul 19, 2023

Thanks for the help. I will close this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants