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

Can not connect bootstrap nodes when starting an optimism node #9052

Closed
1 task done
yutianwu opened this issue Jun 24, 2024 · 0 comments · Fixed by #9058
Closed
1 task done

Can not connect bootstrap nodes when starting an optimism node #9052

yutianwu opened this issue Jun 24, 2024 · 0 comments · Fixed by #9058
Labels
C-bug An unexpected or incorrect behavior S-needs-triage This issue needs to be labelled

Comments

@yutianwu
Copy link
Contributor

Describe the bug

The log shows there are no bootstrap nodes to connect when starting an optimism node:

2024-06-24T13:17:08.800142Z TRACE net::discv5: adding bootstrap nodes .. bootstrap_nodes={}

Steps to reproduce

  1. start node with command
RUST_LOG=trace ./op-reth node \
		--datadir=./opnode \
    --chain optimism \
    --rollup.sequencer-http https://mainnet-sequencer.optimism.io/ \
    --http \
    --ws \
    --authrpc.port 9651 \
    --authrpc.jwtsecret ./jwt.txt \
    --log.file.filter=trace \
    --log.file.directory ./opnode/logs \
    --port=60303 \
    --discovery.port=40404 \
    --discovery.v5.port=6020 \
    --debug.tip 0xc86d0b4b6e4713b048071e5cbebc0fa92fe5cfb85d529cbc39146ab159e414c0
  1. and check the logs:
2024-06-24T13:17:08.799211Z TRACE net::discv5: local ENR enr=Enr { id: Some("v4"), seq: 1, NodeId: 0xec11f96fad92cfc9f84a0d6614a7fb450b0a38902314f995a52f4e516b727e62, signature: "c159db111246cbfaf0f6d7623a3f0460dd36d177a7953d7b34f127123e5dce7d47aa99910eaee776cacdb15a0d6a533289879d910d00e0bfb6b9fd2d8982298a", IpV4 UDP Socket: None, IpV6 UDP Socket: None, IpV4 TCP Socket: None, IpV6 TCP Socket: None, Other Pairs: [("opel", "c7c68449fbfe1e80"), ("secp256k1", "a102cac708f84da27fdbb808de7355a82040adec840fed2941ef6c7b7fd389e629bc")], .. }
2024-06-24T13:17:08.799714Z TRACE mio::poll: registering event source with poller: token=Token(4418848128), interests=READABLE | WRITABLE    
2024-06-24T13:17:08.800142Z TRACE net::discv5: adding bootstrap nodes .. bootstrap_nodes={}

Node logs

No response

Platform(s)

Mac (Apple Silicon)

What version/commit are you on?

reth Version: 1.0.0-dev
Commit SHA: 31e247086
Build Timestamp: 2024-06-24T13:09:30.474410000Z
Build Features: jemalloc,optimism
Build Profile: release

What database version are you on?

❯ ./reth db version

Current database version: 2
Local database is uninitialized

Which chain / network are you on?

optimism

What type of node are you running?

Archive (default)

What prune config do you use, if any?

No response

If you've built Reth from source, provide the full command you used

make install-op

Code of Conduct

  • I agree to follow the Code of Conduct
@yutianwu yutianwu added C-bug An unexpected or incorrect behavior S-needs-triage This issue needs to be labelled labels Jun 24, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Reth Tracker Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug An unexpected or incorrect behavior S-needs-triage This issue needs to be labelled
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant