run 1 1vcpu-1gb-amd
run 2 1vcpu-2gb-amd
run 3 2vcpu-4gb
run 4 2vcpu-8gb
run 5 4vcpu-8gb-amd (amd is a premium droplet with newer/faster CPU and NVMe SSD)
willie@gagarin:~$ safe node join --skip-auto-port-forwarding --public-addr 9nnnnnnn5:35650
Joining network with contacts (PublicKey(155a..83b9), {46.101.73.110:12000, 64.227.33.197:12000, 134.122.96.185:12000, 134.122.100.241:12000, 134.122.102.30:12000, 134.122.104.0:12000, 134.122.104.128:12000, 134.122.106.118:12000, 134.122.106.119:12000, 134.122.106.123:12000, 134.122.106.131:12000, 134.122.106.134:12000, 134.122.106.137:12000, 134.122.106.138:12000, 134.122.106.144:12000, 134.122.106.150:12000, 134.122.106.156:12000, 134.122.106.162:12000, 159.65.89.122:12000, 178.62.29.52:12000, 178.62.94.170:12000}) ...
Storing nodes' generated data at /home/willie/.safe/node/local-node
Starting a node to join a Safe network...
Starting logging to file: "/home/willie/.safe/node/local-node"
willie@gagarin:~$ Error:
0: Cannot start node (log path: /home/willie/.safe/node/local-node). If this is the first node on the network pass the local address to be used using --first
1: Routing error:: Cannot connect to the endpoint: Failed to verify our public address with peer 46.101.73.110:12000
2: Cannot connect to the endpoint: Failed to verify our public address with peer 46.101.73.110:12000
3: Failed to verify our public address with peer 46.101.73.110:12000
4: We did not receive a response within the expected time
Location:
➤ 849744… Bootstrapping a new node.
WARN 2021-12-22T00:22:34.326157Z [/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/qp2p-0.27.2/src/endpoint.rs:L431]:
➤ bootstrap {bootstrap_nodes=[46.101.73.110:12000, 64.227.33.197:12000, 134.122.96.185:12000, 134.122.100.241:12000, 134.122.102.30:12000, 134.122.104.0:12000, 134.122.104.128:12000, 134.122.106.118:12000, 134.122.106.119:12000, 134.122.106.123:12000, 134.122.106.131:12000, 134.122.106.134:12000, 134.122.106.137:12000, 134.122.106.138:12000, 134.122.106.144:12000, 134.122.106.150:12000, 134.122.106.156:12000, 134.122.106.162:12000, 159.65.89.122:12000, 178.62.29.52:12000, 178.62.94.170:12000]}
➤ Configured external port (35650) does not match that seen by peers (56148)
still looks like setting public-ip:port is no use cos safe node join just assigns a random port anyway @chriso
Hmm, I’m not exactly sure what’s going on there. When I was changing the code for the node join command, this was how I was connecting to a remote network:
This configuration worked for me. My router had a rule for UDP to forward anything external on port 12000 to the internal IP of my laptop (192.168.1.50). I just have a crappy generic router direct from my ISP. Networking is not a particular expertise of mine.
The node binary seems to be aware of the port value you passed, so I’m not exactly sure where 56148 is coming from, or what that is exactly.
willie@gagarin:~$ safe files put 200MBtest
FilesContainer created at: "safe://hyryyryyngjquzayra8u3r4zb1y1u1ckpfguu3z44xfs4d39cg6jpcdgb9hcyeuy?v=hgip1akd6y1eg5cnzxjfqayrb7yyyobuttozu3uwcoggpcnoq1aho"
E 200MBtest <ClientError(NotEnoughChunks(191, 1))>
Got a wide range of ports open, test instance so I don’t really care. I wish I could specify node chunks location (since I have a separate volume block mounted somewhere else), but looks like @chriso is onto it