Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Teku client lost all peers and no new peers until restart

See original GitHub issue


Im trying to stake with teku, latest version teku-21.9.1

Acceptance Criteria

It works

Steps to Reproduce (Bug)

I run teku as expected

title "teku pyrmont eth-goerli.alchemyapi"
set eth_svc=
set JAVA_HOME=C:\Java\openjdk-16.0.1
bin/teku.bat --network=pyrmont --eth1-endpoint=%eth_svc% --data-path test-data --p2p-nat-method=UPNP

Expected behavior: [What you expect to happen] I expect network to sync. It does not. Other clients like Prysm and Lighthouse works perfectly

Actual behavior: [What actually happens] Peer count goes down to zero and stop sync.

Frequency: [What percentage of the time does it occur?] 100%

Versions (Add all that apply)

  • Software version: [teku --version] teku/v21.9.1/windows-x86_64/oracle_openjdk-java-16

  • Java version: [java -version] openjdk 16.0.1 2021-04-20 OpenJDK Runtime Environment (build 16.0.1+9-24) OpenJDK 64-Bit Server VM (build 16.0.1+9-24, mixed mode, sharing)

  • OS Name & Version: [cat /etc/*release] windows

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

ajsuttoncommented, Sep 17, 2021

Thanks for logging this. The log you’ve included is only the console output. Teku sends most of it’s log information to a log file by default which is in test-data\logs\teku.log if you could give us that log it would be very useful in helping to track down what’s going wrong here.

kirillpcommented, Sep 20, 2021

I filed a new issue regarding this:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Options - Teku
Teku will refuse new peer requests that would cause the number of peers to exceed this value. The default is 100 . p2p-port...
Read more >
Guide to Staking on Ethereum (Ubuntu/Goerli/Teku)
This is a step-by-step guide to staking on the Ethereum Goerli test network via an Execution Client and the Teku Consensus Client.
Read more >
Missed validations since merge (Besu/Prysm) : r/ethstaker
I have different Besu logs than I did before the merge, look: ... Peers: 16 ... and here is something not great on...
Read more >
Insecura - my consensus for the pyrmont network
Should the client encounter a malicious node, it could be tricked ... the canonical history simply because there are more peers serving it....
Read more >
Eth2 Implementers' Call #46 - 2020-08-20 - HackMD
Also Medalla issues: Losing peers. Rejected by other clients if gossip is enabled during sync. PR is in progress to not subscribe to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found