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

Get the op-node p2p info error #743

Open
shaokun11 opened this issue Jun 14, 2024 · 0 comments
Open

Get the op-node p2p info error #743

shaokun11 opened this issue Jun 14, 2024 · 0 comments
Labels
community-request docs updates requested by community or OP collective documentation Improvements or additions to documentation troubleshooting suggest new troubleshooting item or revise an existing item

Comments

@shaokun11
Copy link

Troubleshooting Category

Add troubleshooting item to a brand new page

What page will this troubleshooting item live?

https://docs.optimism.io/builders/node-operators/json-rpc#opp2p_peerstats

describe the problem from a developer's perspective, including any error message received

With cli cast rpc opp2p_discoveryTable --rpc-url http://localhost:9545 , it return server returned an error response: error code -32601: the method opp2p_discoveryTable does not exist/is not available. We use cast rpc optimism_syncStatus --rpc-url http://localhost:9545, it will correctly get the output

explain the solution to the problem identified above, use step-by-step instructions when possible

I think I maybe loss some option when start op-node,this is the start cli:
./bin/op-node
--l2=http://localhost:8551
--l2.jwt-secret=./jwt.txt
--sequencer.enabled
--sequencer.l1-confs=5
--verifier.l1-confs=4
--rollup.config=./rollup.json
--rpc.addr=0.0.0.0
--rpc.port=8547
--p2p.disable
--rpc.enable-admin
--p2p.sequencer.key=$GS_SEQUENCER_PRIVATE_KEY
--l1=$L1_RPC_URL
--l1.rpckind=$L1_RPC_KIND

Or how do I get the opp2p info ?

Additional context

No response

@shaokun11 shaokun11 added community-request docs updates requested by community or OP collective documentation Improvements or additions to documentation troubleshooting suggest new troubleshooting item or revise an existing item labels Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community-request docs updates requested by community or OP collective documentation Improvements or additions to documentation troubleshooting suggest new troubleshooting item or revise an existing item
Projects
None yet
Development

No branches or pull requests

1 participant