radicle-dev / radicle-bins

Collection of radicle binaries.
Other
21 stars 9 forks source link

Peer count not appearing correctly on the seed page #83

Closed viraptor closed 3 years ago

viraptor commented 3 years ago

While using net-next upstream connected to the seed, I can see the peer marked as connected on the /peers endpoint, but the count is stuck at 0. (both on the main page and in /info endpoint).

When the upstream node connected, the seed logged:

Mar 17 10:35:09 radicle-seed radicle-seed-node[3601]: Mar 17 10:35:09.110  INFO incoming: librad::net::protocol::io::streams: new ingress uni stream remote_id=hynmraey7hm8q4g7ipnnejc6oah9fccfnppa49xntoyxo6wgr6y1uh remote_addr=220....
Mar 17 10:35:10 radicle-seed radicle-seed-node[3601]: Mar 17 10:35:10.765  WARN periodic_tasks: librad::net::protocol::membership::periodic: nothing to shuffle
Mar 17 10:35:10 radicle-seed radicle-seed-node[3601]: Mar 17 10:35:10.999  INFO incoming: librad::net::protocol::io::streams: new ingress uni stream remote_id=hynmraey7hm8q4g7ipnnejc6oah9fccfnppa49xntoyxo6wgr6y1uh remote_addr=220....
Mar 17 10:35:11 radicle-seed radicle-seed-node[3601]: Mar 17 10:35:11.000  WARN librad::net::protocol::io::recv::gossip: gossip recv error err=Cbor(Decode(TypeMismatch(24, "expected array")))
Mar 17 10:35:11 radicle-seed radicle-seed-node[3601]: Mar 17 10:35:11.000  INFO incoming: librad::net::protocol::io::streams: new ingress uni stream remote_id=hynmraey7hm8q4g7ipnnejc6oah9fccfnppa49xntoyxo6wgr6y1uh remote_addr=220....
Mar 17 10:35:11 radicle-seed radicle-seed-node[3601]: Mar 17 10:35:11.000  INFO incoming: librad::net::protocol::io::streams: new ingress uni stream remote_id=hynmraey7hm8q4g7ipnnejc6oah9fccfnppa49xntoyxo6wgr6y1uh remote_addr=220....
Mar 17 10:35:11 radicle-seed radicle-seed-node[3601]: Mar 17 10:35:11.000  INFO radicle_seed: Discovered new URN rad:git:hnrkk458xbhmjopnxs7ezpoprip7tc6nr414o/rad/id from peer hynmraey7hm8q4g7ipnnejc6oah9fccfnppa49xntoyxo6wgr6y1uh
...

The count doesn't change after a few reconnections.

viraptor commented 3 years ago

Who has two thumbs and didn't rebuild the ui assets after the upgrade? This guy!