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

Disconnects both trusted and static nodes as "useless peers" #17181

Closed
pipermerriam opened this issue Jul 16, 2018 · 4 comments
Closed

Disconnects both trusted and static nodes as "useless peers" #17181

pipermerriam opened this issue Jul 16, 2018 · 4 comments

Comments

@pipermerriam
Copy link
Member

System information

Geth version: 1.8.12
OS & Version: OSX

Expected behaviour

I have a fully synced geth node and a trinity node running locally. The trinity node is in both the trusted and static nodes list. geth regularly drops the trinity node as a useless peer.

Actual behaviour

I expect trusted nodes and static nodes to be treated in such a way that they are allowed to remain connected even if they are determined to be useless.

Steps to reproduce the behaviour

Can provide if needed. I suspect it isn't.

Here are the logs I'm seeing

DEBUG[07-16|09:49:25.415] Removing p2p peer                        id=7b8fb3e32de9aa5d conn=trusted-inbound duration=15.010s peers=0 req=false err="useless peer"

and

DEBUG[07-16|09:49:49.025] Removing p2p peer                        id=7b8fb3e32de9aa5d conn=trusted-staticdial duration=15.007s peers=0 req=false err="useless peer"
@shazow
Copy link
Contributor

shazow commented Sep 4, 2018

Running into this also, on geth 1.8.15 on Linux, using a fully sync'ed geth node and a geth node in light client mode.

@shazow
Copy link
Contributor

shazow commented Sep 4, 2018

Actually I take mine back, I had to remove --syncmode fast from my full node which was conflicting with --lightserv 60. Seems to work now (tested on latest master, 42bd67b).

@ghost
Copy link

ghost commented Sep 4, 2018

I just debugged a similar issue a couple weeks ago and it was a protocol problem. One machine was able to speak les but not eth/62 not eth/63. We solved it by removing the --light command line option in one. Hope that helps.

@stale
Copy link

stale bot commented Sep 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status:inactive label Sep 6, 2019
@stale stale bot closed this as completed Oct 18, 2019
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