"community1" Test Network is Alive, Join Us!

Just a reminder that this network is still operating and the plan is to upgrade the binary on the seed vault to the latest released version after the next official testnet (testnet4, early next week).

My testing on client_test_2 (the droplet network put up yesterday for app developers) shows that the newer binary probably does a better job of data retention (if we assume that the effect is not due to their having a slightly larger number of vaults.

The binary to be used in testnet4 will, hopefully, be just as good. Thatā€™s the one Iā€™ll install on community1ā€™s seed vault.

Please note that once that change is made, your existing vaults and launchers wonā€™t be able to connect to it; you will need to upgrade to the same vault software and launchers (the ones to be released for testnet4).

hi all,

have added a second vault on: 185.16.37.156

if it would be handy to make it a seeder please let me know what else i need to do other than open 5438 tcp/udp

rup

2 Likes

Thank you! Iā€™ll add it once we can confirm it is acting as a contact.

I ran a vault just now with only your IP in its config, and with no other vaults running on the LAN, and it just listened for a couple of minutes and then gave an error ā€œaddress already in useā€ and then exited the program. I ran the test twice with the same result.

If your vault were accessible then I would expect this test vault to request a tunnel and it would join the network that way.

If it werenā€™t accessible then I would expect this test vault to just listen forever, with occasional restarts.

Could I ask you to confirm the config and the command you are using? And let me know your operating system.

Assuming Linux, the command should (at this point) be:

    $ ./safe_vault

(donā€™t type the dollar sign)

The config might be:

{
  "hard_coded_contacts": [
    {
      "tcp_acceptors": [
        "91.121.173.204:5483"
      ],
      "tcp_mapper_servers": []
    },
    {
      "tcp_acceptors": [
        "185.16.37.156:5483"
      ],
      "tcp_mapper_servers": []
    }
  ],
  "tcp_acceptor_port": 5483,
  "service_discovery_port": null,
  "bootstrap_cache_name": null,
  "tcp_mapper_servers": [],
  "network_name": "community1"
}

Letā€™s do that and then we can go to the next step.

hi,

have tweaked the config as above so please have a sniff nowā€¦

rup

1 Like

ps. it looks pretty busy now so i think from what i can see it might be doing the bizā€¦

r

Iā€™m still getting ā€œaddress already in use.ā€

Letā€™s check four more things:

  1. Are you running the default binary for community1 (the link is in the OP). Not the one put up yesterday.

  2. Do you see any entries in your routing table?

  3. Did you start the vault without any flags (i.e., no --first)?

If the answer is yes to all three of those, then letā€™s try opening the firewall port (since my assumptions have proven innaccurate):

    $ sudo iptables -I INPUT -p tcp --dport 5483 -j ACCEPT

(on Linux)

  1. Is the port directly connected to the Internet? I.e., if you are on NAT then you need to redirect the port to your computer. (I know Crust can do marvellous things, but letā€™s stick to what we know)

lolā€¦

running 0.8.1 as used in test3

routing table size is 16

INFO 15:59:15.124254498 [routing::core core.rs:1574] Node(54c7..) Added 296f.. to routing table.
INFO 15:59:15.124460981 [routing::core core.rs:414]  ------------------------------------------------------- 
INFO 15:59:15.124498712 [routing::core core.rs:416] | Node(54c7..) PeerId(042d..) - Routing Table size:  16 |
INFO 15:59:15.124533174 [routing::core core.rs:417]  ------------------------------------------------------- 
INFO 15:59:15.363691139 [routing::stats stats.rs:127] Stats - Sent 12500 messages in total, 34 uncategorised
INFO 15:59:15.364157643 [routing::stats stats.rs:130] Stats - Direct - NodeIdentify: 20, NewNode: 61, ConnectionUnneeded: 0
INFO 15:59:15.364377220 [routing::stats stats.rs:134] Stats - Requests - Get: 1790, Put: 1371, Post: 263, Delete: 0, GetNetworkName: 1, ExpectCloseNode: 7, GetCloseGroup: 324, Refresh: 5301, Connect: 4, ConnectionInfo: 694, GetPublicId: 0, GetPublicIdWithConnectionInfo: 0
INFO 15:59:15.364637388 [routing::stats stats.rs:149] Stats - Responses - GetSuccess: 1592, GetFailure: 4, PutSuccess: 480, PutFailure: 4, PostSuccess: 312, PostFailure: 0, DeleteSuccess: 0, DeleteFailure: 0, GetCloseGroup: 235, GetPublicId: 0, GetPublicIdWithConnectionInfo: 0, GetNetworkName: 3

used:

./safe_vault

to start server operation

routing to internet is pretty clean with no nat just a couple of routers between the server and freedomā€¦

traceroute to bbc.co.uk (212.58.244.22), 30 hops max, 60 byte packets
 1  185.16.37.129 (185.16.37.129)  0.452 ms  0.337 ms  0.987 ms
 2  r1atm.skynode.pl (185.16.37.5)  0.943 ms  0.696 ms  0.650 ms
 3  te0-0-1-1.rcr11.b036814-0.waw01.atlas.cogentco.com (149.6.70.193)  0.979 ms  3.123 ms  3.110 ms
 4  be2407.ccr21.waw01.atlas.cogentco.com (154.54.37.57)  1.257 ms  1.567 ms  1.497 ms
 5  be2250.ccr21.bts01.atlas.cogentco.com (154.54.60.245)  14.225 ms  14.013 ms be2251.ccr22.bts01.atlas.cogentco.com (154.54.60.249)  14.230 ms
 .........

ufw (not using iptables) settings:


To                         Action      From
--                         ------      ----
22/tcp                     ALLOW       Anywhere
22/udp                     ALLOW       Anywhere
5438/tcp                   ALLOW       Anywhere
5438/udp                   ALLOW       Anywhere
9090/tcp                   ALLOW       Anywhere
5222                       ALLOW       Anywhere
5269                       ALLOW       Anywhere
22/tcp (v6)                ALLOW       Anywhere (v6)
22/udp (v6)                ALLOW       Anywhere (v6)
5438/tcp (v6)              ALLOW       Anywhere (v6)
5438/udp (v6)              ALLOW       Anywhere (v6)
9090/tcp (v6)              ALLOW       Anywhere (v6)
5222 (v6)                  ALLOW       Anywhere (v6)
5269 (v6)                  ALLOW       Anywhere (v6)

so as far as i can see iā€™m good to goā€¦

rup

have cleared everything down and restarted the vaultā€¦ its picking up table entries and has reached 16ā€¦

now busy receiving data:

drwxr-xr-x  2 root     root     147456 May 27 16:17 safe-vault.bvFjwjnU1rTh

rup

btwā€¦

where are you connecting in from?

iā€™ve got:

.nl
.fi
.se
.de
.net
.ch
.com

nice to see such an international collectionā€¦ :wink:

rup

1 Like

Your port is not accessible.

You need to be listening on a port accessible from the Internet. As I mentioned, if youā€™re on NAT then you will need to redirect that port (with a rule in your router).

This is what I see when I telnet to the existing seed vault:

    $ telnet 91.121.173.204 5483
    Trying 91.121.173.204...
    Connected to 91.121.173.204.
    Escape character is '^]'.

This is what I see when I telnet to you:

    $ telnet 185.16.37.156 5483
    Trying 185.16.37.156...

have telnetted it myself but was unsure if i should expect to see anything backā€¦

will investigate furtherā€¦ and let you know when its sortedā€¦

rup

1 Like

I donā€™t know about UFW, but with IPTABLES in its default setup, if you reboot, you need to apply the port opening rule again (or set up saving of rules).

OK! I see you now!

Iā€™ll add it to the config.

hi,

yepā€¦ ufw was being naughtyā€¦

reinstalled and cleaned up rulesā€¦ hurrah!

rup

1 Like

Somebodyā€™s doing a lot of restartsā€¦

Someone is running or trying to run the newer version of the vault released on Thursday, and IT IS CAUSING SERIOUS PROBLEMS WITH THE SEED VAULT AND THEREFORE WITH THE NETWORK.

Most of the log, SINCE THURSDAY, which has bloated to 15MB, consists of the line:

ERROR 23:59:34.966929639 [crust::connection connection.rs:416] Incompatible protocol version.

The log is being truncated, perhaps because of the flood of these error messages, and the vault has restarted at least once without any other apparent cause.

Please use ONLY the binary linked in the OP of this topic, until Maidsafe provides some way to simply ignore incompatible binaries rather than having an extended conversation with them.

EDIT: Iā€™ve opened an issue on this.

I have restarted the vault, just to confirm that my analysis of the situation is correct, and not a fault state in the vault.

That was me :slight_smile:

Are you 212...* ? (20 chars)

Donā€™t think that was my ip but I was doing some testing earlier today, including a ton of restarts.