Join the NEW Community Test Network (Running Now): "community1"

It’s up to 4 now. We won’t see all that many until they officially shut down testnet3.

community1 might last a long time, undergoing upgrades of the binaries. It is like a car starting on a winter’s day and hardly any fuel and low battery.

We need seven for launchers to connect.

The testnet allows me to connection but that’s all now, for several hours.

eh - all my vaults disconnected a second ago Oo

What I’d like to know is: If there are “16 connections to 16 peers - direct: 16, punched: 0” then why is the routing table size 3.

I take “peers” to be other vaults, and “clients” to be launchers. Correct?

EDIT: It turns out that “peers” includes both vaults and clients (i.e., launchers), with clients counted twice. So when I run a launcher, the number of peers goes from 8 to 10.

today my vaults have big problems to keep connected Oo i don’t know whats different or if my ineternet is slow today … 2 running … i hope they stay connected

I did a restart so could I ask other vaults to also restart?

There were 7 entries in my routing table before the restart. The magic number! :slight_smile: There’s five right now but if the others restart then that should bring it back up to 7.

Then it’s time to fire up your launchers!

By the way, I cheated a wee bit by dropping in a newly compiled safe_vault (from source code hot off github), still nominally at version 0.8.1. I saw how many commits they had done today to the routing crate and reasoned that it couldn’t hurt. The compile pulled down the latest routing as well as kademlia and one or two others. Not sure what is really new except for routing.

Then I started some other vaults with the same binary, but listening on different ports than 5843, but otherwise with identical configs pointing to the starter vault. That is, I changed the number in their configs, on the line ““tcp_acceptor_port”: 5483”. Again, I figure that it can’t hurt, what with all the powerful hole-punching, because before I did that I was seeing many errors of “address already in use” from the multiple vaults on one machine, I thought that it seemed it might help. And indeed, the logs seem less verbose, due to one of today’s commits to routing and I don’t see that particular error so much.

I have put that newly-compiled Linux safe_vault binary here if you happened to want to drop it into your safe_vault folder and then restart.

Don’t forget to make it executable, since that flag could be lost during download:

    $ chmod +x ./safe_vault

Of course you know that you can download a file at the commandline, with:

    $ wget "http://91.121.173.204/safe_vault"

Note: You DON’T need to use the binary I’m running, the one from the (testnet3) redistributable (linked to in the OP) will do fine. I put the self-compiled binary in to get a bit more performance, and to see how it ran.

1 Like

hi all,

back on now comm1, 6 nodes in table…

rup

1 Like

I’ve now got seven in my routing table.

Registered a new account (fast).

The demo app timed out authorizing. Trying again…

Uploaded: http://test.bluebird.safenet

lol… i think 7 is me!!

node a808

rup

1 Like

connected nice and quick, connected to http://test.bluebird.safenet without any issue…

demo app not really working as not able to publish site or upload files.

will leave vault running, enjoy…

nite!

rup

I had to re-create my account, username and website from a couple of hours ago, although each step went quickly. That was after I had restarted all but one vault. the one I didn’t restart was the seeder.

There’s 7 vaults in my routing table. At that number, does routine churn destroy all data eventually, or is data lost only if vaults are manually restarted? So if the 7 are left alone then would data survive? I suspect it has more to do with the vaults more distant; chunks are getting stored there but you have no way of observing those vaults, so you’re counting on there being enough of them. The minimum therefore has to be more than 7. Just 7 vaults gets you in as a client, but for your data to survive there has to be some unknown-to-me number greater than 7.

Here’s an interesting, fun experiment:

  1. Create a safenet website, on whatever SAFE network your launcher is connecting to.

  2. On a Linux machine, run the launcher if it isn’t already running.

  3. Give the following command, substituting the name of your webpage for name-of-your-webpage.

    $ wget "http://name-of-your-webpage.safenet"

You will get an error message: “unable to resolve.”

  1. Now do this:
    $ export http_proxy=http://visualiser.maidafe.net/safe_proxy.pac

That command sets an environment variable that is accepted on most Linux systems as the system proxy. And by the way, it doesn’t matter whether you have set your browser proxy.

  1. Now if you do the preceding wget command, it downloads an index.html.

  2. Open that file in your browser, and you will find it is an Apache test file, from a Maidsafe webserver, and not your uploaded webpage!

  3. Now do this:

    $ export http_proxy=http://127.0.0.1:8101
  1. Run the wget again. You will download your SAFE webpage!

  2. Run this command to put your environment back to the way it was:

    $ unset http_proxy

Experiment with other variables, options, values and utilities, such as ftp_proxy, curl, and so on.

2 Likes

Here’s another fun experiment: How to keep your data alive FOREVER! (or not, lol)

The results aren’t in yet for this one:

The premise is that inactivity on test nets is what eventually kills launcher sessions, credentials, IDs and safenet webpages.

  1. Create a safenet webpage.

  2. On a Linux box, run the launcher.

  3. Create a shell script that downloads your webpage. Something like:

#! /bin/sh
# keepalive, a script to download my webpage

export http_proxy=http://127.0.0.1:8101

wget "http://test.bluebird.safenet"

# to clean up afterwards:
unset http_proxy

Then:

    $ chmod +x keepalive

and:

    $ crontab -e

… to open your cron job editor, and add a line like this, and save:

    0 */1 * * * ~/bin/keepalive 

… or whatever the path is to your script.

That will do the download every hour, at 1 o’clock, 2 o’clock, and so on.

2 Likes

15 minutes ago crashed the machine on which I was running a bunch of vaults. I fear that I might have lost some data (sorry about that) including my own. I can login quickly but the demo app times out. But my safenet webpage is still there!

The seed vault, on my cloud server, has been rock-sold, though, and running continuously since the last reboot 11 hours ago.

EDIT: After thinking some more about this I have concluded that the failure of demo app to run is due to inactivity of some particular data that is only accessed when demo app is run. My hourly cron job has been exercising both the safenet website and the launcher (i.e., the credentials, if that makes sense), but without starting up the demo app often enough, something is lost.

Is someone uploading a large amount of data? It seems to be bogging down with frequent time-outs.

I was finding that my non-SAFE usage of the Internet was timing out; SSH sessions were crashing, due to the six vaults on my LAN sucking up all the bandwidth.

To deal with this I have segmented my LAN into two VLANs: one that allows the vaults 80% up and down bandwidth, and the other for my other usage.

So now I can easily access the Internet, but the vaults are struggling with the amount of requests they are getting, with frequent time-outs.

Launcher users: It would help to hold off on uploading your music collection going all the way back back to The Doors, and instead to add an extra vault or two.

The current version of safe_vault makes no distinction between vaults that have a lot of bandwidth and those that have only a little. So the seed vault is very stable because, at least in part, it is on a huge pipe by itself, while the six on my LAN are struggling, sharing 80% of a consumer broadband connection.

I am loth to reconfigure the cloud server to run multiple vaults, since it has been doing so well, rock-solid for days now.

I’ve added a feature request for some way of adjusting this. For all I know there might already be a hidden way to do this.

2 Likes

:joy:

What about making a new topic with this text as OP? This topic is very long, and the hard coded contacts in the OP are not correct anymore. A new topic called: “Community1 testnet is alive, join us” or something like that would clear things up a bit I think.

Yes, I’d be happy to do that, but I don’t know whether we would get extra participants that way. I haven’t had any feedback other than people already on community1. Are people overlooking it because of the out-dated info?

Some are I think…

2 Likes

OK, I have done that. I suggest that people continue their comments there, and discontinue use of this topic. I’ll add a note to the OP to that effect.

1 Like

Please continue discussions in the topic

This topic left open in case there are any issues not relevant to the continuation topic.

1 Like