Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

light client peering issues #10036

Closed
5chdn opened this issue Dec 9, 2018 · 1 comment
Closed

light client peering issues #10036

5chdn opened this issue Dec 9, 2018 · 1 comment
Labels
A3-stale 🍃 Pull request did not receive any updates in a long time. No review needed at this stage. Close it. F2-bug 🐞 The client fails to follow expected behavior. M4-core ⛓ Core client code / Rust. P5-sometimesoon 🌲 Issue is worth doing soon. Q5-substantial 📓 Can be fixed by a developer with decent experience.
Milestone

Comments

@5chdn
Copy link
Contributor

5chdn commented Dec 9, 2018

  • Parity Ethereum version: 2.2.4
  • Operating system: Linux
  • Installation: one-line installer
  • Fully synchronized: no
  • Network: ethereum
  • Restarted: yes

Just take a look at the peer numbers:

❯ parity --light --no-hardcoded-sync --base-path /tmp/parity/1 --reserved-peers ~/Desktop/Dümp/light 
2018-12-09 12:45:08  Starting Parity-Ethereum/v2.2.4-beta-f44d885-20181205/x86_64-linux-gnu/rustc1.30.1
2018-12-09 12:45:08  Keys path /tmp/parity/1/keys/ethereum
2018-12-09 12:45:08  DB path /tmp/parity/1/chains_light/ethereum/db/906a34e69aec8c0d
2018-12-09 12:45:08  Running in experimental Light Client mode.
2018-12-09 12:45:08  Debug API is not available in light client mode.
2018-12-09 12:45:08  Debug API is not available in light client mode.
2018-12-09 12:45:13  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed  13/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:45:13  Public node URL: enode://30d532d3dccfa6fce79c277755e9f8890aa7277b2b6b222df8a578ea7d90993a0c005540c527548fe93043e932a3bed3d3c2eaeb74675394466d1e71b7e497c0@192.168.43.131:30303
2018-12-09 12:45:18  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed  12/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:45:23  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   6/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:45:28  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   4/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:45:33  Syncing #2350116 0x2e47…f2de     0.0 hdr/s    291+    0 Qed   5/50 peers   664 bytes cache 228 KiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:45:38  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  29952+    0 Qed   6/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:45:43  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30087+    0 Qed   6/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:45:48  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30054+    0 Qed   6/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:45:53  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30011+    0 Qed   6/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:45:58  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30074+    0 Qed   7/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:03  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30065+    0 Qed   9/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:08  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  29949+    0 Qed   9/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:13  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30066+    0 Qed   9/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:18  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30063+    0 Qed  12/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:23  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  29982+    0 Qed  10/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:28  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  29001+    0 Qed  11/50 peers   664 bytes cache 21 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:33  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  27246+    0 Qed   8/50 peers   664 bytes cache 20 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:38  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  24106+    1 Qed   6/50 peers   664 bytes cache 18 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:43  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  21287+    0 Qed   6/50 peers   664 bytes cache 16 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:48  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  29984+    0 Qed   7/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:53  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30022+    0 Qed   6/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:46:58  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30105+    0 Qed   7/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:03  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30094+    0 Qed   7/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:08  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  29986+    0 Qed   8/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:13  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30001+    0 Qed   9/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:18  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30020+    0 Qed   9/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:23  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30102+    0 Qed  10/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:28  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  29983+    0 Qed  11/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:33  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30057+    0 Qed  10/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:38  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30032+    0 Qed  12/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:43  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30048+    0 Qed  11/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:48  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  30060+    0 Qed  11/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:53  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  29975+    0 Qed  11/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:47:58  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  29998+    0 Qed  12/50 peers   664 bytes cache 22 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:03  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  28681+    0 Qed  13/50 peers   664 bytes cache 21 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:08  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  24609+    0 Qed   5/50 peers   664 bytes cache 18 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:13  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  20675+    0 Qed   5/50 peers   664 bytes cache 15 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:18  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  17533+    0 Qed   5/50 peers   664 bytes cache 13 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:23  Syncing #2350116 0x2e47…f2de     0.0 hdr/s  13436+    0 Qed   5/50 peers   664 bytes cache 10 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:28  Syncing #2350116 0x2e47…f2de     0.0 hdr/s   9580+    0 Qed   5/50 peers   664 bytes cache 7 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:33  Syncing #2350116 0x2e47…f2de     0.0 hdr/s   5604+    0 Qed   5/50 peers   664 bytes cache 4 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:38  Syncing #2350116 0x2e47…f2de     0.0 hdr/s   1826+    0 Qed   5/50 peers   664 bytes cache 1 MiB queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:43  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   6/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:48  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   7/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:53  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   8/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:48:58  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   7/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:49:03  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   6/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:49:08  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   6/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:49:13  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   9/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:49:18  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   9/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:49:23  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed  10/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:49:28  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   9/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:49:33  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed  10/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs
2018-12-09 12:49:38  Syncing #2350116 0x2e47…f2de     0.0 hdr/s      0+    0 Qed   8/50 peers   664 bytes cache 0 bytes queue  RPC:  0 conn,    0 req/s,    0 µs

Peers seem to disconnect the light client, but why? Strongly related to #9965 ?

A full node on the same machine easily maintains 25 peers.

Also, unrelated, did we never fix the light sync getting stuck? #6319

@5chdn 5chdn added F2-bug 🐞 The client fails to follow expected behavior. P5-sometimesoon 🌲 Issue is worth doing soon. M4-core ⛓ Core client code / Rust. labels Dec 9, 2018
@5chdn 5chdn added this to the 2.3 milestone Dec 9, 2018
@5chdn 5chdn modified the milestones: 2.3, 2.4 Jan 10, 2019
@5chdn 5chdn modified the milestones: 2.4, 2.5 Feb 21, 2019
@soc1c soc1c modified the milestones: 2.5, 2.6 Apr 2, 2019
@ordian ordian modified the milestones: 2.6, 2.7 Jul 12, 2019
@AlexRychkov
Copy link

AlexRychkov commented Oct 25, 2019

Is it planned to resolve soon or better to set up full node? I have the same on light node in ropsten now for a couple of weeks. (version 2.5.9, 2.6.4-beta)
I tried to reinstall one time and redownload many times and nothing helps now (early node restarting was helpful and machine reboot too).

@niklasad1 niklasad1 added the Q5-substantial 📓 Can be fixed by a developer with decent experience. label Oct 25, 2019
@adria0 adria0 added the A3-stale 🍃 Pull request did not receive any updates in a long time. No review needed at this stage. Close it. label Jul 27, 2020
@adria0 adria0 closed this as completed Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A3-stale 🍃 Pull request did not receive any updates in a long time. No review needed at this stage. Close it. F2-bug 🐞 The client fails to follow expected behavior. M4-core ⛓ Core client code / Rust. P5-sometimesoon 🌲 Issue is worth doing soon. Q5-substantial 📓 Can be fixed by a developer with decent experience.
Projects
None yet
Development

No branches or pull requests

6 participants