Comments (7)
Closing because the issue per se is resolved, but that doesn't prevent further comments.
from nimbus-eth2.
Those curl
command results are not successfully getting checkpoint states either, they're just requesting the main website front pages of those sites.
If you use the /eth/v2/debug/beacon/states/finalized
REST endpoint shown by https://nimbus.guide/trusted-node-sync.html#sync-from-checkpoint-files directly via curl
, what happens?
# Obtain a state and a block from a Beacon API - these must be in SSZ format:
curl -o state.finalized.ssz \
-H 'Accept: application/octet-stream' \
http://localhost:5052/eth/v2/debug/beacon/states/finalized
# Start the beacon node using the downloaded state as starting point
./run-mainnet-beacon-node.sh \
--finalized-checkpoint-state=state.finalized.ssz
where localhost:5052
is one of the hosts from https://eth-clients.github.io/checkpoint-sync-endpoints/ instead
from nimbus-eth2.
Ty @tersec, the manual workaround worked flawlessly, stil unsure why the trusted-node-url
fails on all official holesky endpoints allwhile the manual curl to the same exact EP works.
Beacon node started sucesfully and is syncing:
from nimbus-eth2.
curl
required 1m7s to download the state, while the timeout for that request in Nimbus is 60s:
so likely trusted node sync's download attempt timed out while almost complete.
There's no strongly principled reason it must be exactly 60s, though. A machine which requires 10 minutes to download the state probably can't keep up with the ongoing Ethereum gossip anyway, but a more modest increase is reasonable. Created #6363 to increase this timeout to 90s, which would have sufficed here.
from nimbus-eth2.
Created #6363 to increase this timeout to 90s, which would have sufficed here.
Ty @tersec for the help!
IMHO, 120 would be a better, timeout, perhaps even 180? Network issues can occur even when you have a decent connection.
Question regarding this:
# Start the beacon node using the downloaded state as starting point
./run-mainnet-beacon-node.sh \
--finalized-checkpoint-state=state.finalized.ssz
I'm assuming I can I drop the --finalized-checkpoint-state=state.finalized.ssz
part on the next restart?
from nimbus-eth2.
Created #6363 to increase this timeout to 90s, which would have sufficed here.
Ty @tersec for the help!
IMHO, 120 would be a better, timeout, perhaps even 180? Network issues can occur even when you have a decent connection.
Question regarding this:
# Start the beacon node using the downloaded state as starting point ./run-mainnet-beacon-node.sh \ --finalized-checkpoint-state=state.finalized.ssz
I'm assuming I can I drop the
--finalized-checkpoint-state=state.finalized.ssz
part on the next restart?
Well, 90s is at least longer, so merged that. It can be changed later. Especially as the mainnet and Holesky states grow larger over time ("state bloat" has been a long discussed issue in Ethereum), this might have to increase by default.
And, yes, you can drop --finalized-checkpoint-state=state.finalized.ssz
next time.
from nimbus-eth2.
Ty @tersec for all your help!
from nimbus-eth2.
Related Issues (20)
- Clear single-vote attestations from pool when aggregate is full
- Optimizing syncing of sparse branches on stalled chain HOT 1
- Segmentation fault of 24.2.2 on Windows Server 2019 Standard HOT 10
- Nimbus CL < > Prysm VC incompatibility HOT 2
- Nimbus CL < > Lodestar VC incompatibility HOT 4
- Handle 404 errors in getAggregatedAttestation response HOT 1
- publishBlockV2 fails gossip validation for valid block HOT 7
- The debug REST API is not serving recent states (less than 2 days old) HOT 6
- Checkpoint-synced nodes appear to not use ERA files HOT 2
- Error: Unhandled exception: Asynchronous task [sendMessageSlow() at pubsubpeer.nim:301] was cancelled! [FutureDefect] HOT 8
- Release tarballs missing vendor folder
- Single command for beacon node and checkpoint sync. Remove separate command for `trustedNodeSync` HOT 1
- Require flag when resuming from past-weak-subjectivity database / genesis HOT 1
- build error: incompatible pointer type HOT 5
- Check conten-type and return 415 if not supported by route HOT 6
- Beacon node's P2P degrades permanently after 40 minutes of no connectivity HOT 8
- Bug: Error build with cmd "make -jX nimbus_beacon_node" HOT 10
- Compilation error when "import libp2p/multicodec" is added to sync_manager.nim HOT 12
- [SEC]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nimbus-eth2.