Assemble at the Start Line. The Beta is About to Begin

As far as I can see in the logs I can’t connect to the peer I add and things die. What could this be due to?

[2024-06-09T14:01:06.228918Z DEBUG safenode] safenode built with git version: 35ee1e6 / stable-4thJune2024 / 35ee1e6 / 2024-06-04
[2024-06-09T14:01:06.228929Z INFO safenode] Node started with initial_peers ["/ip4/151.251.146.231/udp/12001/quic-v1/p2p/12D3KooWPPeoFcydRPPmfsh8t86WprzBHBN8AgJ5jc5fPaysrgU6"]
[2024-06-09T14:01:06.228964Z DEBUG safenode] Node's owner set to: Some("dimitarsafenetworkbulgaria")
[2024-06-09T14:01:06.228971Z INFO safenode] Starting node ...
[2024-06-09T14:01:06.230327Z INFO sn_networking::driver] Process (PID: 5314) with PeerId: 12D3KooW9pUAckUiBhBn6YAEa5YWBR4oobHcanfapa77VhffLPoK
[2024-06-09T14:01:06.230512Z INFO sn_networking::driver] Self PeerID 12D3KooW9pUAckUiBhBn6YAEa5YWBR4oobHcanfapa77VhffLPoK is represented as kbucket_key 62544b828f0f52778773f6cb74cc9a926aba80988f5604fe97e1ca1286073a52
[2024-06-09T14:01:06.230674Z INFO sn_networking::driver] Building request response with "/safe/node/0.16"
[2024-06-09T14:01:06.231049Z INFO sn_networking::record_store] Attempting to repopulate records from existing store...
[2024-06-09T14:01:06.232312Z INFO sn_networking::driver] Building Identify with identify_protocol_str: "safe/0.16" and identify_version: "safe/node/0.16"
[2024-06-09T14:01:06.235689Z INFO sn_networking::relay_manager] Setting relay client mode to false
[2024-06-09T14:01:06.417411Z INFO sn_networking::network_discovery] Time to generate NetworkDiscoveryCandidates: 180.736358ms
[2024-06-09T14:01:06.417428Z INFO sn_networking::network_discovery] The generated network discovery candidates currently cover these ilog2 buckets: [(239, 1), (242, 1), (243, 1), (244, 2), (245, 5), (246, 5), (247, 5), (248, 5), (249, 5), (250, 5), (251, 5), (252, 5), (253, 5), (254, 5), (255, 5)]
[2024-06-09T14:01:06.417777Z INFO sn_networking::driver] Listening on ListenerId(1) with addr: "/ip4/0.0.0.0/udp/12001/quic-v1"
[2024-06-09T14:01:06.418018Z DEBUG sn_node::node] Replication interval set to 37s
[2024-06-09T14:01:06.418321Z INFO safenode::rpc_service] RPC Server listening on 127.0.0.1:45291
[2024-06-09T14:01:06.418509Z INFO sn_networking::event::swarm] Local node is listening ListenerId(1) on "/ip4/127.0.0.1/udp/12001/quic-v1/p2p/12D3KooW9pUAckUiBhBn6YAEa5YWBR4oobHcanfapa77VhffLPoK"
[2024-06-09T14:01:06.418673Z DEBUG sn_node::node] BadNodesCheck interval set to 115s
[2024-06-09T14:01:06.418672Z INFO sn_networking::event::swarm] Local node is listening ListenerId(1) on "/ip4/192.168.1.4/udp/12001/quic-v1/p2p/12D3KooW9pUAckUiBhBn6YAEa5YWBR4oobHcanfapa77VhffLPoK"
[2024-06-09T14:01:06.418857Z INFO sn_networking::event::swarm] Local node is listening ListenerId(1) on "/ip4/192.168.195.131/udp/12001/quic-v1/p2p/12D3KooW9pUAckUiBhBn6YAEa5YWBR4oobHcanfapa77VhffLPoK"
[2024-06-09T14:01:06.420021Z WARN sn_transfers] Using compile-time PAYMENT_FORWARD_PK: 8c2f406a52d48d48505e1a3fdbb0c19ab42cc7c4807e9ea19c1fff3e5148f3bbe53431ec5a07544aaeef764e073e4b2f
[2024-06-09T14:01:06.420131Z DEBUG sn_node::node] BalanceForward interval set to 440s to: "8c2f406a52d48d48505e1a3fdbb0c19ab42cc7c4807e9ea19c1fff3e5148f3bbe53431ec5a07544aaeef764e073e4b2f"
[2024-06-09T14:01:06.421375Z ERROR sn_node::node] Failed to dial /ip4/151.251.146.231/udp/12001/quic-v1/p2p/12D3KooWPPeoFcydRPPmfsh8t86WprzBHBN8AgJ5jc5fPaysrgU6: DialError(DialPeerConditionFalse(NotDialing))
[2024-06-09T14:01:06.421375Z ERROR sn_node::node] Failed to dial /ip4/151.251.146.231/udp/12001/quic-v1/p2p/12D3KooWPPeoFcydRPPmfsh8t86WprzBHBN8AgJ5jc5fPaysrgU6: DialError(DialPeerConditionFalse(NotDialing))
[2024-06-09T14:01:06.421531Z DEBUG sn_logging::metrics] {"physical_cpu_threads":4,"system_cpu_usage_percent":6.9109125,"process":{"cpu_usage_percent":0.004600156,"memory_used_mb":24,"bytes_read":0,"bytes_written":4096,"total_mb_read":0,"total_mb_written":0}}
[2024-06-09T14:01:06.432135Z INFO sn_networking::event::kad] New peer added to routing table: PeerId("12D3KooWPPeoFcydRPPmfsh8t86WprzBHBN8AgJ5jc5fPaysrgU6"), now we have #1 connected peers
[2024-06-09T14:01:06.432164Z INFO sn_networking::event] Peer PeerId("12D3KooWPPeoFcydRPPmfsh8t86WprzBHBN8AgJ5jc5fPaysrgU6") has a Some(255) distance to us
[2024-06-09T14:01:06.432189Z INFO sn_networking::event] kBucketTable has 1 kbuckets 1 peers, [(0, 1, 255)], estimated network size: 2
[2024-06-09T14:01:06.432196Z INFO sn_networking::event::kad] Performing the first bootstrap
[2024-06-09T14:01:06.436026Z INFO sn_networking::event::kad] kad_event::RoutingUpdated 1: PeerId("12D3KooWPPeoFcydRPPmfsh8t86WprzBHBN8AgJ5jc5fPaysrgU6"), is_new_peer: true old_peer: None
[2024-06-09T14:01:06.436289Z INFO sn_networking::event::swarm] external address: new candidate has a different port, not adding it. address=/ip4/62.73.69.36/udp/63269/quic-v1 our_port=12001
[2024-06-09T14:01:06.436316Z INFO sn_node::log_markers] PeersInRoutingTable(1)```

---
*Privacy. Security. Freedom*
2 Likes

sudo safenode-manager add --owner jamsplayer --count 1 ╔═══════════════════════════╗ ║ Add Safenode Services ║ ╚═══════════════════════════╝ 1 service(s) to be added Retrieving latest version for safenode... Using cached safenode version 0.108.2... Download completed: /var/safenode-manager/downloads/safenode Services Added: ✓ safenode1 - Safenode path: /var/safenode-manager/services/safenode1/safenode - Data path: /var/safenode-manager/services/safenode1 - Log path: /var/log/safenode/safenode1 - RPC port: 127.0.0.1:49859 [!] Note: newly added services have not been started

sudo safenode-manager start ╔═════════════════════════════╗ ║ Start Safenode Services ║ ╚═════════════════════════════╝ Refreshing the node registry... Attempting to start safenode1... Failed to start 1 service(s): ✕ safenode1: The 'safenode1' service has failed to start Error: 0: Failed to start one or more services

Location: sn_node_manager/src/cmd/node.rs:705

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets.

Does this help?

Also not sure how to post the code without being a big block. Is a snapshot better?

1 Like

I get this os error when installing safenode-manager as well. Not sure it matters though?

Installing safenode-manager for x86_64-apple-darwin at /Users/myname/.local/bin... Retrieving latest version for safenode-manager... Installing safenode-manager version 0.9.6... [00:00:02] [########################################] 4.87 MiB/4.87 MiB (0s) safenode-manager 0.9.6 is now available at /Users/myname/.local/bin/safenode-manager Error: No such file or directory (os error 2)

Location: src/install.rs:364:25

1 Like

Try with:


Privacy. Security. Freedom

2 Likes
sudo safenode-manager start
╔═════════════════════════════╗
║   Start Safenode Services   ║
╚═════════════════════════════╝
Refreshing the node registry...
Attempting to start safenode1...
Attempting to start safenode2...
Failed to start 2 service(s):
✕ safenode1: The 'safenode1' service has failed to start
✕ safenode2: The 'safenode2' service has failed to start
Error: 
   0: Failed to start one or more services

Location:
   sn_node_manager/src/cmd/node.rs:705

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Nice! Thanks as always D

@chriso If you happen to have a sec, any suggestions or ideas?

2 Likes

I see. The reason I asked is that the path shown in your window starts at ‘/share’ but I now realise it is just that part of it is not showing.

We’ll have to try to get to the bottom of whatever is wrong because it will be affecting other people as well…

1 Like

I think that will matter…

1 Like

The particular machine is behind a router and I have done port forwarding but when I use online checker it shows me that the port is closed. I also tried enabling DMZ Host and UPnP with no success.

I think I’ll wait for the new version of the launchpad…


Privacy. Security. Freedom

1 Like

Sorry, I’m not following. What will matter?

Just been spinning my tires trying to get use out of this old Mac and my brain is melting :melting_face:

1 Like

You said this:-

"
I get this os error when installing safenode-manager as well. Not sure it matters though?

Installing safenode-manager for x86_64-apple-darwin at /Users/myname/.local/bin... Retrieving latest version for safenode-manager... Installing safenode-manager version 0.9.6... [00:00:02] [########################################] 4.87 MiB/4.87 MiB (0s) safenode-manager 0.9.6 is now available at /Users/myname/.local/bin/safenode-manager Error: No such file or directory (os error 2)

Location: src/install.rs:364:25
"

I think it will matter that it can’t find that directory.

What is the contents of .local/bin
?

2 Likes

The problem is size limit on service definition file on some systems.

1 Like

Oh, yes. I’m no seasoned veteran of CLI but I will try to find out the contents of .local/bin

Thanks

2 Likes

I made progress with the os error. Had to create directories and permissions (even though I’m already on administrator account)

But my nodes still fail to start. I’m running behind a router so how is NAT done? Do I need to specify with a from home flag or something?

1 Like

Yes, without port forwarding and behind a NAT you will need to use the home-network option. But the nodes should still start without it. Just not be useful. So if they’re not starting it must be something else that is wrong.

2 Likes

Okay, thanks.

Do you mind just for shits and giggles plus future reference, what is the from home flag and is that done after adding nodes before you start or before adding nodes?

Looks like —home-network with the add command but I’m not sure where in the command

1 Like

It’s --home-network.

There is another option as well which you can try instead: --upnp which attempts to open ports specified with the --ports flag but is just stick with the home network one for now.

2 Likes

Alright I’ll try again soon. Need to go outside and touch grass

1 Like

Is it normal to have this many errors in my nodes?

1 Like

I’ve also seen that in my logs. I’m guessing that’s not a good thing for the rewards reaching the mother ship and getting them recognised on Discord.

3 Likes

I think it should probably not be an error but just info that if the balance is 0 there is nothing to send to maidsafe. But not sure! Need to search the logs for cases where the array preceding this error is not empty.

3 Likes