[Offline] Another day another testnet

I am getting the same results summarized by @peca above. I always ran --local-addr and --public-addr with appropriate values before (prior testnets), and that worked when a NAT rule was setup on my router explicitly, and now its failing with addr in use. No other processes outside of a single sn_node are running other than the bare minimum processes when an Alpine LXC is spun up.

I tried without --skip-auto-port-forwarding but couldn’t see any automatic mapping taking place via UPnP either on the router backend.

4 Likes

Yep, same thing.
I have tried local 12001, public 12000 or local 12002, public 12005 - no difference

3 Likes

I’m terminating my Hetzner nodes for now to conserve my credit.
Ready to try again when we have learnt from tonights run. I’ll continue to put/get from home as long as the devs feel there is value in that.

2 Likes

1.2 gigs of speculative fiction audio book here.

safe://hyryyrysi7wn1us73ihwnstyo3c1kcgth4wcf16hfhh13aw9qrhf8mh7tqhnra?v=hsqj86k9wfthjkarrpwc1n4r8cecqx5e3hpnfquodnuqodf9fxzxy

4 Likes

That’s because you didn’t create a keypair for your CLI so it’s using random ones for each command, i.e. the FilesContainer cannot be mutated with a different keypair from then one used when it was created, which is the one owning the container.

Try running safe keys create --for-cli, then create a new FilesContainer, and after that you should be able to mutate it with safe files add as you were trying.

9 Likes

That should go in the OP for each testnet.

8 Likes
 S C:\Users\User_1> safe --version
sn_cli 0.68.2
PS C:\Users\User_1> safe networks add public https://sn-node.s3.eu-west-2.amazonaws.com/testnet_tool/public/network-contacts
Error:
   0: ←[91mFormat of the config file at 'C:\Users\User_1\.safe\cli\config.json' is not valid and couldn't be parsed←[0m
   1: ←[91munknown variant `ConnInfoLocation`, expected `Local` or `Remote` at line 1 column 41←[0m

Location:
   ←[35msn_cli\src\operations\config.rs←[0m:←[35m162←[0m

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
PS C:\Users\User_1> safe networks switch public

the pi is alive but get the above error on the windows laptop

1 Like

It could be you’ve got an old config format there.

You could try deleting the file, which should be at C:\Users\User_1\.safe\cli\config.json.

2 Likes

perhaps something like?

safe keys create --for-cli > ~/.safe/credentials.txt
safe wallet create >>~/.safe/credentials.txt
1 Like

The safe keys create --for-cli command outputs a file, you wouldn’t have to redirect it.

3 Likes

This much is true…

But my way gives you a handy txt file you can have open for cut’n’paste in another window :slight_smile:

3 Likes

All I know is that for the first, say 5, downloads the files were currupted (on win 11 machine). I then fired up a linux instance in a VM (on the same machine) and gets were fine there. I then came back to the native win 11 terminal and gets were fine. Nothing that I know changed on the machine (it could be that updates were running in the background)

2 Likes

Cool, thanks for the info. I might try this on my Windows machine tomorrow. Could be that we do have a genuine bug here still.

6 Likes

Failed twice at your audio book


willie@gagarin:~$ time safe cat safe://hyryyrysi7wn1us73ihwnstyo3c1kcgth4wcf16hfhh13aw9qrhf8mh7tqhnra?v=hsqj86k9wfthjkarrpwc1n4r8cecqx5e3hpnfquodnuqodf9fxzxy > JPL-audio-tome 

real	0m0.876s
user	0m0.025s
sys	0m0.008s
willie@gagarin:~$ ll JPL-audio-tome 
-rw-rw-r-- 1 willie willie 37892 Dec 16 20:40 JPL-audio-tome
1 Like

So it downloaded in 1 second?

Maybe that’s just the container?

What does safe files get say?

3 Likes

Its certainly not giving up so quick with get

Im running with RUST_LOG=sn_client=trace so something to look at if there is a problem

2 Likes

I tried the same thing - if you cat JPL-audio-tome you can see the contents so it’s just the container you’ve downloaded.

2 Likes

Worked perfect, thanks. Can upload and download on both with no problems.

3 Likes
time safe files get safe://hyryyrysi7wn1us73ihwnstyo3c1kcgth4wcf16hfhh13aw9qrhf8mh7tqhnra?v=hsqj86k9wfthjkarrpwc1n4r8cecqx5e3hpnfquodnuqodf9fxzxy
/neal.tar.gz.partaa - files: 1 of 137 (1%). transfer: 0 of 1292831799 (0%), file: 0 of 9437184 (0%)
/neal.tar.gz.partaa - files: 1 of 137 (1%). transfer: 9437184 of 1292831799 (1%), file: 9437184 of 9437184 (100%)
/neal.tar.gz.partab - files: 2 of 137 (1%). transfer: 9437184 of 1292831799 (1%), file: 0 of 9437184 (0%)
/neal.tar.gz.partab - files: 2 of 137 (1%). transfer: 18874368 of 1292831799 (1%), file: 9437184 of 9437184 (100%)
/neal.tar.gz.partac - files: 3 of 137 (2%). transfer: 18874368 of 1292831799 (1%), file: 0 of 9437184 (0%)
/neal.tar.gz.partac - files: 3 of 137 (2%). transfer: 28311552 of 1292831799 (2%), file: 9437184 of 9437184 (100%)
...
/neal.tar.gz.partfh - files: 136 of 137 (99%). transfer: 1274019840 of 1292831799 (99%), file: 0 of 9437184 (0%)
/neal.tar.gz.partfh - files: 136 of 137 (99%). transfer: 1283457024 of 1292831799 (99%), file: 9437184 of 9437184 (100%)
/neal.tar.gz.partfi - files: 137 of 137 (100%). transfer: 1283457024 of 1292831799 (99%), file: 0 of 9374775 (0%)
/neal.tar.gz.partfi - files: 137 of 137 (100%). transfer: 1292831799 of 1292831799 (100%), file: 9374775 of 9374775 (100%)
Done. Retrieved 137 files to .

real	5m49,214s
user	0m55,273s
sys	0m34,899
5 Likes
safe://hyryyryocbix9948ggakns14r8kizfaxuxnfpjf34y1sao7wkpuuuw8nrbonra?v=hbtjrd64h5xzyzt1tz97pyzr354jsyqjbumnjioxsquypbmznqwgy

Some music

3 Likes