5-4/3/2(022) Playground! [Offline once more ]

Happy Friday :tada:

We have another wee playground set up for folk to dabble with this weekend. :trumpet:

This network is 30 nodes large, each with an 8gb storage capacity. We’d ask anyone wanting to join use a smilar sized node. There has been one split thus far.

You should be able to connect to with the 0.58.4 release thus:

  • remove ~/.safe

  • On unix: run curl https://raw.githubusercontent.com/maidsafe/safe_network/master/resources/scripts/install.sh | bash to install the CLI

  • On windows run: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/maidsafe/safe_network/main/resources/scripts/install.ps1'))

  • run safe --version to make sure you’re on the correct version (0.50.4 of the CLI).

  • run safe networks add playground https://safe-testnet-tool.s3.eu-west-2.amazonaws.com/public-node_connection_info.config

  • safe networks switch playground

And you should be good to go :tada: :beers:

If you’re wanting to try joining with a node (which may take a while):

safe node install
safe node join OR
safe node join --skip-auto-port-forwarding OR
safe node join --local-addr <ip of device running node>:<port> \
  --public-addr <your internet public ip>:<port opened on router> \
  --skip-auto-port-forwarding

The network has been hammered a reasonable amount so far, adults have around ~700mb of data on them just now.

Most of that’s junk test data, but there is a small set of jpgs uploaded at the following xorurls for anyone wanting to pull some data:

safe://hygoygyyb9nh1sbthce4khak48njcti18uzhba56mgru89bnmzzo3cz8s9j1y 
safe://hygoygyybbrpbh76ep7dw84t7r3stybfssm9wrpiqhxk19gtj3r7eb3rz384o 
safe://hygoygyybgsidcu168j7mj4rcd1d6io6uqcpgp9s831rcg75z8qyo6zg58tfy 
safe://hygoygyybgjptw3xbqqk4uihkr7hyrwnghfnzr5ddpfana4x1bhmy3ys8uffo 
safe://hygoygyyb11e1edd7u347a4y3d1ypqii88eajho9zuez4mmfmmaqiwg5apj5o 
safe://hygoygyybgc1kfx4b6u4pan9547o6gnmop5s8a7n953gzti7437qpdqnxxmxy 
safe://hygoygyyb45179qyo8ipaywqojrzmc1ht6fiiwzsfqgjphji1kfgpzdaqje3y 
safe://hygoygyybo4bm4ojo8gasdibez4yd5yk34on6d9cxyodypardp8pibcqyrd8o 
safe://hygoygyyboqgy5rpe1exa7935awsam1zc8wd51jqoxhn4dch817ds4cer3kmy 
safe://hygoygyyb3n3wqahmai8f9yk3u56hpt49ku7adwhdwhddzbyq51asnd5g9ado 
safe://hygoygyybsym3syjth5tuf9y5ny79kb1f4g9nnnry73xujejitxs1isqoawxy 
safe://hygoygyybhp4rcjtie16h3c6xdqdib5d5pb49xk1iohqy9qbu67ihspeodyzo 
safe://hygoygyyb533c9f6mekkyuu5dj39jctmdck5yp1hpdtwc6ignqerhw3fhpa4o 
safe://hygoygyybjo6tub35w68z9eyy4qj7j4ms3kxy6t5inf1a16x5enesireewqzo 
safe://hygoygyybqpzmtyc5twr51x7dwqjgrgwsn5hhtx6ddbrxr1hb41nq7fuhi9zo 
safe://hygoygyybecotf79qepzj3bdhhhqgptor5q74z8tbfgqg1nurhm6ho65tyw3o 
safe://hygoygyybn6gi537sw6jt57pxzsxypz1stwb6k9q8tpsm5yy6xyerb5p1bp4o 
safe://hygoygyybu7ofdt5onp4tk4z97bnqe4h998ou7k5p6hkjqje1j9mjbywgrq6y 
safe://hygoygyyb13q8pory4pq4c7wtjzwuognmwwtkzw8n9nrsusnummaa1g1gtweo 

What we’re testing

Right now, what we’re looking for is to test connection handling / general stability. We’ve seen an occasional issue with longer running tests (once in about 25 mins of a test run), as nodes currently dont retry cleaned up connections (they will eventually retry this, but it’s been so intermittent during testing this was not deemed to be a blocker atm :grimacing:).

If something does fail, please be sure to try again to verify any data failure. Please note the time of the failure (UTC), and if you can rerun your command with the logging variable applied, eg: RUST_LOG=safe_network=trace safe <command> and keep those logs, that would be mighty handy.

We’d also like to see how data replication flows go on a larger, but more “natural” scale. (We’ve seen some issues here, so this is where the net may fail… we’ve changes coming in that should help this in the end too, but that’s still in the works). So hopefully folk are able to join okay as the network fills up. :crossed_fingers:

That’s it. Let us know how you get on! :raised_hands:

30 Likes

Hope this is still up later. Have fun everyone.

7 Likes

I checked the version but have a problem. Was ok last night trying a test with V0.50.3 with Josh (self built):

RUST_LOG=safe_network=trace safe node join --skip-auto-port-forwarding
Joining network with contacts (PublicKey(1703..15b2), {46.101.23.88:12000, 46.101.74.220:12000, 46.101.76.37:12000, 46.101.85.101:12000, 104.248.160.185:12000, 104.248.164.14:12000, 104.248.164.97:12000, 104.248.164.235:12000, 104.248.168.118:12000, 104.248.168.172:12000, 104.248.172.38:12000, 104.248.174.1:12000, 138.68.152.198:12000, 138.68.178.240:12000, 142.93.33.183:12000, 142.93.35.72:12000, 142.93.35.80:12000, 142.93.35.193:12000, 142.93.37.111:12000, 142.93.37.178:12000, 142.93.41.117:12000, 142.93.41.126:12000, 142.93.43.78:12000, 142.93.43.163:12000, 142.93.43.229:12000, 159.65.60.99:12000, 178.128.37.139:12000, 178.128.172.80:12000, 188.166.168.159:12000, 206.189.23.139:12000, 209.97.136.13:12000}) ...
Creating '/home/safe/.safe/node/local-node' folder
Storing nodes' generated data at /home/safe/.safe/node/local-node
Starting a node to join a Safe network...
Error:
   0: Error launching node
   1: Failed to start '/home/safe/.safe/node/sn_node' with args '["-vv", "--skip-auto-port-forwarding", "--root-dir", "/home/safe/.safe/node/local-node/", "--log-dir", "/home/safe/.safe/node/local-node/", "--genesis-key", "9703d970364f127d033baa838b10959957c05c38f67d24fea216f544709e4d4c8031f1d87a19c0dc00e30343de73d06d", "--hard-coded-contacts", "[\"46.101.23.88:12000\",\"46.101.74.220:12000\",\"46.101.76.37:12000\",\"46.101.85.101:12000\",\"104.248.160.185:12000\",\"104.248.164.14:12000\",\"104.248.164.97:12000\",\"104.248.164.235:12000\",\"104.248.168.118:12000\",\"104.248.168.172:12000\",\"104.248.172.38:12000\",\"104.248.174.1:12000\",\"138.68.152.198:12000\",\"138.68.178.240:12000\",\"142.93.33.183:12000\",\"142.93.35.72:12000\",\"142.93.35.80:12000\",\"142.93.35.193:12000\",\"142.93.37.111:12000\",\"142.93.37.178:12000\",\"142.93.41.117:12000\",\"142.93.41.126:12000\",\"142.93.43.78:12000\",\"142.93.43.163:12000\",\"142.93.43.229:12000\",\"159.65.60.99:12000\",\"178.128.37.139:12000\",\"178.128.172.80:12000\",\"188.166.168.159:12000\",\"206.189.23.139:12000\",\"209.97.136.13:12000\"]"]'
   2: No such file or directory (os error 2)

Location:
   /rustc/9d1b2106e23b1abd32fce1f17267604a5102f57a/library/core/src/convert/mod.rs:543

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

Am going to be away from net quite a bit today so if it’s just me don’t worry.

3 Likes

Also got

> safe networks add playground https://safe-testnet-tool.s3.eu-west-2.amazonaws.com/public-node_connection_info.config
Error: 
   0: Format of the config file at '/home/fred/.safe/cli/config.json' is not valid and couldn't be parsed
   1: unknown variant `ConnInfoUrl`, expected `NodeConfig` or `ConnInfoLocation` at line 1 column 45

Location:
   sn_cli/src/operations/config.rs:141

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

Hmmm, odd odd odd.

@happybeing that reads like the bin wasn’t installed? can you verify /home/safe/.safe/node/sn_node exists?


@neo did you remove ~/.safe beforehand?

2 Likes

Never had it on this computer

contents of the json file

{“networks”:{“fleming-testnet”:{“ConnInfoUrl”:“https://sn-node.s3.eu-west-2.amazonaws.com/config/node_connection_info.config”}}}

Version was correct too

EDIT: Let me delete the directory and try again

1 Like

Correct @joshuef fixed with safe node install :smile: and I’m in!

Seeing PUTS and GETS in vdash as expected.

10 Likes

@joshuef Worked once I tried again after deleting the directory. I will continue

4 Likes

So I have not been joining the testnets recently. How do I monitor the state of the node?

1 Like

I think @happybeing’s vdash is probably the simplest overview. Otherwise you’re looking for log files in ~/.safe/node/ I think

4 Likes

My node was almost immediately accepted and promoted to Adult.

I can’t seem to PUT even the tiniest file.

sascha@heffaklumpen-mint:~$ time safe files put Downloads/Test.txt 
Error: 
   0: ClientError: Error received from the network: InsufficientAdults { prefix: Prefix(0), expected: 4, found: 1 } for cmd: MsgId(0f24..cb40)
   1: Error received from the network: InsufficientAdults { prefix: Prefix(0), expected: 4, found: 1 } for cmd: MsgId(0f24..cb40)
   2: Failed to store data. Insufficient replication count at section Prefix(0). Expected 4, found 1.

Location:
   sn_cli/src/subcommands/files.rs:218

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

real	1m50,560s
user	0m0,212s
sys	0m0,027s

I can DOG, but I can’t seem to CAT even the first example file. Or it’s taking long. How big is it?

5 Likes

Likewise [chars]

4 Likes

seems like sn nets now are fast becoming unusable… noticed that multiple times in a few days ago in my nets…

1 Like

first test image errored out:

safe cat safe://hygoygyyb9nh1sbthce4khak48njcti18uzhba56mgru89bnmzzo3cz8s9j1y > testimage.jpg
Error:
   0: NetDataError: Failed to GET file: NotEnoughChunksRetrieved { expected: 11, retrieved: 2 }

Location:
   sn_cli/src/subcommands/cat.rs:49

same error with trace

2 Likes

I just managed to put, dog and cat a tiny file.

sascha@heffaklumpen-mint:~$ time safe files put ./Downloads/Test.txt 
FilesContainer created at: "safe://hyryyryyn5hbmmh9hsussggapkut4fp65dhu3iaebz3cs4okwaa1h8maenafoeuy?v=hqgduejma94s5ojeh31tdosxuediwjaprs5woutg3tad1d83a8szy"
+---+----------------------+----------------------------------------------------------------------+
| + | ./Downloads/Test.txt | safe://hy8oycyybo9y5d8dex3txbjaegrrh1k7osxfq388duwy4b9s7qwxqkh7z61uy |
+---+----------------------+----------------------------------------------------------------------+

real	0m6,898s
user	0m0,554s
sys	0m0,025s
sascha@heffaklumpen-mint:~$ safe dog safe://hy8oycyybo9y5d8dex3txbjaegrrh1k7osxfq388duwy4b9s7qwxqkh7z61uy

== URL resolution step 1 ==
Resolved from: safe://hy8oycyybo9y5d8dex3txbjaegrrh1k7osxfq388duwy4b9s7qwxqkh7z61uy
= File =
XOR-URL: safe://hy8oycyybo9y5d8dex3txbjaegrrh1k7osxfq388duwy4b9s7qwxqkh7z61uy
XOR name: 0x87c1b19c687e62f0a7083109c92bb0b3caec9ce39d01a0fedd751ee573b7f4a6
Native data type: PublicFile
Media type: text/plain
sascha@heffaklumpen-mint:~$ time safe cat safe://hy8oycyybo9y5d8dex3txbjaegrrh1k7osxfq388duwy4b9s7qwxqkh7z61uy > Downloads/Test_down.txt 

real	0m1,322s
user	0m0,027s
sys	0m0,010s
2 Likes

I noticed that with dreamnets, if you cat an old file error if you make a put and then cat it works but again after a while same cat errors

1 Like
time safe cat safe://hy8oycyybo9y5d8dex3txbjaegrrh1k7osxfq388duwy4b9s7qwxqkh7z61uy > Test_down.txt

real    0m1.271s
user    0m0.024s
sys     0m0.012s
2 Likes

Got a node waiting in the wings.
Upload gave me: InsufficientAdults { prefix: Prefix(0), expected: 4, found: 1 } for cmd: MsgId(eaf5…82b7)

@Sascha I could get your test.txt.

@chriso is the transfer progress in get new or have I simply missed it somehow in the past? I presume it is new I don’t use get much!

2 Likes

get was like that it outputs one by one at 0% and if successful 100% of a file

2 Likes

It displays % progress on large files. I guess I need to use it more!

1 Like