Skip to main content

Questions tagged [peers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Substrate node not connecting to peers [closed]

Please any advice what to try if I can’t connect to peers? I made sure port 30333 is open. Could it be something related to ip4/ip6?
Joe's user avatar
  • 1
1 vote
0 answers
68 views

Make peers list persistent

So what I have: I have a testnet network, I run a full node and connect to a specific bootnode that I specify with arg --bootnodes; after connecting to the bootnode, info about other peers are ...
Giacomo Pirinoli's user avatar
0 votes
1 answer
20 views

Running 2 authority collators but they are not peering

two nodes are running in the same machine but not peering. Someone give some advice? 1st Authority: ./target/release/parachain-template-node -lbasic-authorship=trace --bob --collator --force-...
Ganesh11's user avatar
  • 1,241
0 votes
0 answers
12 views

unable to discover and connect the peer to the --chain contracts-rococo-local

I'm trying to have my node discover and connect to the blockchain terminal so that the peer count will update from 0 peers to 1 peers. However, I keep getting this message: 2024-03-15 18:38:36.394 ...
AndrewKim's user avatar
0 votes
1 answer
31 views

Connect a local node to the Rococo Parachain Network

Issue: Currently, I have a parachain and a relay chain running on Rococo testnet locally. I'm having trouble connecting my node to the parachain network (0 peers to 1 peer). Goal: I'm trying to ...
Peter Kim's user avatar
0 votes
0 answers
17 views

I'm trying to connect my node to the parachain that im logging in with on my express backend

My goal is to be able to see the discover, incoming connection, and accepting connection in the parachain network, which I'm guessing should update the Idle 0 Peers to 1 Peer. I'm still currently ...
AndrewKim's user avatar
4 votes
1 answer
236 views

How to get Multiaddr of a peer?

What is idiomatic way to get peer's Multiaddr given we have its PeerId? There exists get_authority_ids_by_peer_id which seems useful but when spinning up multiple nodes locally which connect to each ...
klbrvik's user avatar
  • 126
5 votes
0 answers
121 views

Query node information from PeerId only

How do I get Listen addresses of a node (and possibly other info like agent, protocols etc..) given that I only have node's PeerId? Is there any existing solutions available for this? Simple enter ...
Matt Duncan's user avatar
2 votes
1 answer
53 views

Can a node reconnect to a network without boot nodes

Is it possible to configure a full node to remember a list of last peers it connected to so when it restarts it doesn't need to rely on boot nodes to connect successfully to the chain network?
Mokhtar Naamani's user avatar
0 votes
1 answer
70 views

Tutorial - Simulate a network: I've started 4 nodes (Alice/Bob/Charlie/Eve), but not all of the nodes show '3 peers'

https://docs.substrate.io/tutorials/get-started/simulate-network/ While working on this tutorial, I decided to go beyond the Alice and Bob nodes and also started Charlie and Eve nodes. While adding ...
kenta_desu's user avatar
0 votes
2 answers
60 views

bootstrap a peer with a specific nodeId

If you have node keys (generated using subey), is it possible to use them to boot a peer with the corresponding peerId? is it possible to import the keys and thus have the same peerId without using --...
katapulte's user avatar
  • 161
1 vote
0 answers
34 views

Validator peers disconnecting after producing one block

I am facing an issue with my private chain where I have configured 1 bootnode, 4 validator nodes and 3 non-validator nodes. When I launch the network, the peers are detected, validator node validates ...
Kaveri's user avatar
  • 11
1 vote
1 answer
168 views

How to get the hex decoded version of a Peer Id?

I see this example on Substrate's docs: Node key: c12b6d18942f5ee8528c8e2baf4e147b5c5c18710926ea492d09cbd9f6c9f82a PeerID (generated from the node key): ...
Darian Foulds's user avatar
5 votes
2 answers
478 views

How to obtain a peer address?

In older versions of the Substrate node template, the node would print some helpful information on startup. For example it would print the ports being used for the websocket and p2p endpoints. It ...
JoshOrndorff's user avatar
  • 1,191
1 vote
1 answer
76 views

How do I get my nodes to find each other on macOS?

When I run Alice and Bob validators: ./target/release/polkadot --alice --validator --base-path /tmp/relay/alice --chain chainspec-raw.json --port 30333 --ws-port 9944 ./target/release/polkadot --bob -...
Bruno's user avatar
  • 8,365
1 vote
1 answer
102 views

How to get the Peer count in an Off Chain Worker?

I have an Off Chain Worker that validates some data in IPFS and then calls a function on chain to set the status to valid or invalid. That's all working fine. However, I do not need all nodes to ...
jpataylor's user avatar
  • 321
6 votes
1 answer
91 views

What factors determine who can peer with my node?

From a security standpoint I'd like to understand who can peer with my node. Let's say I make the chainspec public, and someone comes along with a different node binary, and peers with my node, with a ...
Purple_Turtle's user avatar
3 votes
0 answers
156 views

Troubleshooting : Peering connection failed due to libp2p error [closed]

Following the answer on this post : Need some help understanding this "unexpected end of file" error from my node trying to connect on remote TRACE tokio-runtime-worker sub-libp3p: Libp2p =&...
Purple_Turtle's user avatar
4 votes
1 answer
72 views

Nginx troubles on setting a remote validator node

So my node requires port 30333 to peer with other nodes, and since I am using Nginx on the server, I followed this guide : https://wiki.polkadot.network/docs/maintain-guides-how-to-setup-a-validator-...
Purple_Turtle's user avatar
5 votes
1 answer
307 views

How to limit libp2p traffic or set maximum number of peers

In running a polkadot node on the mainnet, i'd like to know how to limit the maximum number of peers, or if this functionality is already built into the protocol somehow. Since my network traffic is ...
jonaburg's user avatar