Troubleshooting #
Messages are quoted as specborn prints them; … stands for the variable part. Errors that stop the node are printed on standard error prefixed specborn: and the process exits with status 1; usage errors exit with status 2 (CLI reference).
The node does not start #
| Message | Cause and fix |
|---|---|
run: --datadir, --network and --el-genesis are required | the three inputs are needed; see the CLI reference |
run: --bootnodes or --peers is required | give bootnode records (discovery) or a peers file, or both |
specborn: … naming a port (JSON-RPC or beacon API) that cannot be bound | another program uses 127.0.0.1:8545 (or 5052); choose another port with --rpc-port N / --beacon-api-port N, or --no-rpc |
run: --beacon-api-port needs --beacon-api | add --beacon-api or drop the port |
unknown or incomplete option: … | a misspelt flag, a flag without its value, or run --help (not supported: use specborn --help) |
--run-for-ms: not a number: … | give milliseconds as a plain decimal number |
no such file or directory (…) followed by file: …/config.yaml | --network DIR has no config.yaml |
config.yaml: config: PRESET_BASE … is not carried (only mainnet) | only the mainnet preset is supported (Networks) |
config.yaml: config: missing … | config.yaml lacks a key the node needs; there are no defaults for network parameters |
this node starts at a Fulu or Gloas genesis (FULU_FORK_EPOCH or GLOAS_FORK_EPOCH 0) | specborn run cannot start on this network (for example Hoodi, Sepolia or mainnet); see Networks |
genesis.ssz: … does not exist, genesis.json: … does not exist, execution genesis block: … does not exist | a file is missing from --network DIR, or the --el-genesis path is wrong |
execution genesis hash 0x… is not the beacon state's 0x… | the --el-genesis block belongs to another chain or another genesis; fetch it again from the same network |
execution genesis: the fork active at the genesis timestamp is Cancun; …, execution genesis: Amsterdam is active at the genesis timestamp but the beacon genesis is not Gloas, execution genesis: the beacon genesis is Gloas but Amsterdam is not active at the execution genesis timestamp | the execution genesis does not fit the beacon genesis: a Cancun execution genesis (such as Hoodi's) is refused, and Amsterdam must be active at the execution genesis exactly when the beacon genesis is Gloas. The --network files are of another network, or mixed |
execution genesis: … (other) | the block does not decode, or its state root is not the root of genesis.json's allocation |
genesis.json: config has the key "…" twice, … has the keys "…" and "…", which geth reads as one key, … key "…" is "…" for geth | genesis.json has a duplicated key, or a key in another case than the node reads (geth matches keys case-insensitively and takes the last duplicate); the node refuses such a file rather than read it differently from geth. Keep one key, spelled as the message says |
genesis.json: config.… is not a fork time or block, … is not an unsigned 64-bit integer, … does not fit … | a fork time, block number, chainId, timestamp, blobSchedule value or alloc balance / nonce is not a plain number (a JSON integer, a decimal string or a 0x hex string) in range |
store: … holds another chain | the data directory was used for another network; use another directory |
store: open failed (…locked) | another specborn process uses this data directory; stop it first |
store: open failed (…) naming an I/O failure | /usr/bin/sync is missing or failed, or the directory is not writable (Data directory) |
peers: bad line: …, peers: bad IPv4 address …, peers: bad port …, peers: bad peer id … | fix the peers file (format) |
el-peers: bad line: …, el-peers: bad IPv4 address …, el-peers: bad port …, el-peers: the public key must be 64 bytes | fix the execution peers file (format) |
Validator keys and slashing protection #
The validator commands manage files; specborn run --validator-keys performs the validator duties and block proposals (Validators). Never use real validator keys with specborn.
| Message | Cause and fix |
|---|---|
run: --validator-password-file needs --validator-keys | the password file is only read when keys are loaded; add --validator-keys or drop the option |
specborn: validator keys: --validator-keys: no imported keystore in … then specborn: not starting | nothing was imported into this --datadir; run specborn validator keys import first, with the same data directory |
specborn: validator keys: N of M validator keystore(s) failed to load: followed by one line per file, then specborn: not starting | the node starts only if every imported keystore loads; each line names the file and the reason |
…: no stored password (…) and no --validator-password-file given | the keystore was imported with --no-store-password; give the password with --validator-password-file FILE |
…: not imported: checksum mismatch: wrong password or corrupted keystore | the password file does not hold this keystore's password (one password per import; import keystores with different passwords in separate runs) |
specborn validator keys import: no keystore*.json files in … | --keystores must name the directory that holds the keystore*.json files |
…: not imported: a different keystore for 0x… is already in … | a different keystore for the same public key was imported before; specborn never replaces an imported keystore |
warning: … has mode …: it is accessible to its group or to others; use chmod 600 | restrict the keystore or password file (chmod 600); the import still proceeds |
warning: …: weak KDF parameters (…); fine for a devnet, not for real funds | the keystore was made with test-strength parameters (devnet tools do this) |
import: --datadir given twice (or another flag) | each validator keys import flag may be given once |
no slashing protection database here yet: give the chain's genesis_validators_root to create one | the first import or register into a data directory needs --genesis-validators-root 0x… |
the document belongs to another chain (genesis_validators_root differs) | the interchange file is from another network than the database; nothing was imported |
… exists; refusing to overwrite it | export --file must name a file that does not exist yet |
no slashing protection database in … | export from a data directory that has no database |
cannot open the slashing protection store: … | for example another process holds the database's lock, such as a running specborn run --validator-keys; stop it first (import and export run only while nothing uses the database) |
specborn: N validator key(s) are not registered in the slashing protection database (…); not starting | every key must have a history in the database before the node signs: import the history from the client the key came from, or register keys that never signed on this chain |
specborn: slashing protection database: … | the database could not be opened for this chain (for example it was created for another genesis_validators_root, or it is locked) |
run: --doppelganger-epochs, --doppelganger-opt-out and --allow-time-jump need --validator-keys | these options only apply with keys |
run: --doppelganger-epochs and --doppelganger-opt-out exclude each other | give one of them |
specborn: --doppelganger-epochs 0 needs the explicit --doppelganger-opt-out | use --doppelganger-opt-out alone to turn the protection off |
duties: DOPPELGANGER DETECTED in epoch …, exit status 3 | another instance signed with one of the keys during the watch window. Find and stop it before starting again; do not opt out of the protection to get past this |
lines with refused: …optimisticHead in the first slots after a start | the head's payload had not been executed yet; duties start once the head is VALID |
lines with refused: …timeJump for every duty | the key's newest signature in the database is more than 6 hours old (a long outage or a wrong clock); check the clock, then restart once with --allow-time-jump (Time-jump gate) |
--fee-recipient: not a 20-byte hex address: … or --graffiti: more than 32 bytes, exit status 2 | give 40 hex digits (with or without 0x); keep the graffiti to 32 bytes of UTF-8 |
propose: block proposal enabled (fee recipient 0x0000000000000000000000000000000000000000, …) | no --fee-recipient was given: fees of proposed blocks go to the zero address (Fee recipient and graffiti) |
propose: slot … too late in the slot …, not proposed (or propose(gloas): …) | the node reached the slot's proposal after the deadline (one third of the slot for Fulu, the Gloas attestation due time); usually a slow or loaded host, or the node was still catching up |
propose: slot … refused: time jump: … | the key's newest signature is more than 6 hours old; nothing was signed for that slot (Time-jump gate) |
propose: slot … refused: … | the proposal failed a check (for example an optimistic head) or the slashing-protection database refused the block; the slot is not retried |
The node runs but does not sync #
- Status lines say
sync=SYNCING(no_peer_status). No peer completed the libp2p handshake andStatusexchange. Check that the peers in the peers file are running and reachable (address, TCP port, peer id: a wrong peer id fails the Noise handshake). With--verbose, connection attempts and their errors are printed. On a devnet, rerun thepreparestep of the quick start after restarting the devnet: ports and peer ids change. peer N: disconnected (…); not dialed again for … s. The node closed or lost the connection and pauses before redialing; a peer that sent too many invalid messages is paused for 600 seconds. Repeatedgoodbye, reason …lines mean the peer asked to disconnect (for example because it has too many peers).sync: no progress for … s below the peers' head. Range sync stalled; the node goes back and asks again, from another peer when it can. Persisting stalls with a single peer usually mean that peer is not serving the range.- No execution peers. The node opens eth sessions only with a JSON-RPC server or a transaction pool (
--no-rpc --no-poolhas none). Execution peers come from bootnode records with anethentry (discovery) and from--el-peers; on a devnet whose execution clients do not answer discovery with each other's records, list them in an--el-peersfile. - The head lags by a slot at epoch boundaries. On Hoodi the first blocks of an epoch took 3 to 6 seconds to import (epoch processing over about 1.7 million validators), so at three quarters of the slot the head can still be the previous block (
docs/pieces/cpsync.md§14.4). This is a known performance limit. gossip_ev_droppedgrows. More than 4,096 gossip messages arrived between two iterations of the event loop: the machine is too slow or overloaded; dropped gossip is caught up by range sync.
Restarts #
store: the snapshot is not used (…). The newest snapshot failed one of its checks and was ignored; the node starts from genesis and either replays the stored items or, if older items were already deleted, syncs again from its peers. Nothing that failed a check is used. Expect a longer start.store: the snapshot's execution state is of chain id X, but genesis.json gives chain id Y: not starting, nothing deleted. The data directory was written for a network with chain id X, andgenesis.jsonin--network DIRnames chain id Y: one of the two is of another network (usually the wronggenesis.json). Nothing in the data directory was changed. Give the network directory the data directory was made with, or use another--datadir.- The node exits during replay with
store: item … missingor a decode error. The data directory is damaged within the range that must be replayed. Move it aside and start with an empty directory.
Checkpoint sync #
anchor state: …/anchor block: …. The file does not decode for the fork of its epoch, or is from before Fulu (anchor at epoch …: before Fulu (not supported)).- The anchor is refused as not followable. Rule A3: the anchor block must be at the first slot of its epoch; fetch a finalized state and block again (Checkpoint sync).
- The state and block do not match. Finality advanced between the two downloads; fetch both again.
weak-subjectivity checkpoint UNRESOLVABLE: …or a violation message. The checkpoint you gave is not on the chain the node holds: either the checkpoint or the anchor is wrong. Do not continue; obtain both again from independent sources.store: … holds the items of another anchor. The data directory belongs to a run with another anchor. Use a fresh--datadirfor a new anchor; the same anchor may reuse its directory (the execution state of a Fulu catch-up is resumed from it).- The execution catch-up does not start (exit 1, the message after
specborn checkpoint-sync:):--el-genesis and --el-state: give one execution start(give one);--el-genesis: needs backfill (…)(drop--no-backfill);--el-genesis: a Gloas anchor needs a chain that is Gloas from genesis,--el-genesis: a Fulu anchor needs a chain that is Fulu from genesis (…)(the genesis catch-up does not fit this chain; on Hoodi and Sepolia it never does);--el-state: supported for a Fulu anchor;--el-state: the state is at execution block N, above the anchor's payload M: …(give a state at or below the anchor's payload);execution state: chain id X, the network's is Yorexecution state: not a Prague/Osaka/BPO state (kind 0)(a state of another network or fork);store: the persisted execution state is not at the recorded blockorstore: the persisted execution state fails its checks (…)(the data directory is damaged, or--networknames another chain id than the one the directory was written for: check--network, else use a fresh directory). el=waiting_for_start_block(…)for a long time, thenexecution catch-up: stopped: …. The start block was not confirmed by the finalized chain; see Checkpoint sync.
Local devnets #
- The devnet does not start: Teku reports
missing or invalid values for constants MAX_PER_EPOCH_ACTIVATION_CHURN_LIMIT_GLOAS, …. The configuration was started with the pinned ethereum-package release and its default genesis generator, which do not write the Gloas constants that current Teku releases require (and whose Gloas genesis lacks the EIP-8282 system contracts every Amsterdam block calls). This is recorded for the default configuration oftestnet/kurtosis/node-devnet.sh(gloas-genesis-devnet.yaml). Use the configuration of the quick start, which pins a newer genesis generator (docs/pieces/node.mdW7r8.2;docs/pieces/cpsync.md§23.2). refusing to start a devnet: latest client releases could not be resolved.testnet/kurtosis/update-client-images.pycould not get an answer: GitHub could not be reached or its API quota (60 unauthenticated requests an hour) is spent, a container registry refused the query and the image is not available locally, or none of a client's last 10 releases has a published image. Retry later. When only a client's newest release has no image yet, the script does not refuse: it uses the newest of the last 10 releases whose image exists and printsnewest release … has no image yet(also intestnet/kurtosis/clients.lock).
Getting help #
There is no public issue tracker or chat yet. When you report a problem to the maintainers, include the commit you built, the exact command line, the output from the start, and the network.