So it downloaded in 1 second?
Maybe that’s just the container?
What does safe files get
say?
So it downloaded in 1 second?
Maybe that’s just the container?
What does safe files get
say?
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
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.
Worked perfect, thanks. Can upload and download on both with no problems.
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
safe://hyryyryocbix9948ggakns14r8kizfaxuxnfpjf34y1sao7wkpuuuw8nrbonra?v=hbtjrd64h5xzyzt1tz97pyzr354jsyqjbumnjioxsquypbmznqwgy
Some music
Up to 846 files so far
safe files ls safe://hyryyryip96f9ojodzifniqn1zcu3wbqnhsiordj7o51jh5do86c596yhqhnra
Hmm… I make it 854
#GamesYouCanPlayAllNight
This new testnet is a great way to start the weekend.
Only halfway through A. Three days to ZZ Top.
A bit self-referential but there you go…
willie@gagarin:~/projects/maidsafe/safe_network$ time safe files put -r sn_node/
FilesContainer created at: "safe://hyryyrywzjbotkr5f8m3fmg8jogp8jxyubt64yy79ppgb19hkqprxkphhbynra?v=huaqamyf6bxord6ujsjwfjpkt4p5uy1bjwjauqfu1dni49tcc6ojo"
---+--------------------------------------------------------+--------------------------------------------------------------------|
| + | sn_node/src/storage/registers.rs | safe://hyryyyyjwcksyxo6gk5sthanuj89x6t9urieofmd7a6jzb5wcztwya5qwqr |
|---+--------------------------------------------------------+--------------------------------------------------------------------|
| + | sn_node/src/storage/used_space.rs | safe://hyryyyyepxm6eku5yibqi56nw3mmhma9t5qm7mpj6n8kmqcw34zj87a816w |
+---+--------------------------------------------------------+--------------------------------------------------------------------+
real 0m40.765s
user 0m0.934s
sys 0m0.438s
Wow this one seems to be going great. Well done again @maidsafe !
Rockers (split) is up in container:
safe://hyryyryudr7984zkjbjeryf4wbin4w7jdbt8cjtoyg7ajm7uu8scby4ruqrnra?v=hjnz935tgtdamw5gujakjuoxzf9ne5cttsdp8tikhfze31ifeneao
ok, the corruption of files is happening again using cat
in powershell, windows 11.
This is one of the OP links:
safe cat safe://hygoygycc11b4pmrcb97ro6ro3wxh3cfrgi7ctbiwyya8mkktq1j35ysmzh > 6.jpg
It retrieves a file that doesn’t open, and looking at it in hex it has the same characteristics as the previous corrupted files, i.e additional 00 characters:
Same command, in a VM running ubuntu, on the same machine, retrieves a valid jpg.
HEX of the valid files looks like this:
let me know if there’s any additional tests I can run or logs I can check
I think you have indeed found a bug. Nice one
Ok, now, this is interesting.
Same command in Command Prompt instead of PowerShell retrieves a correct file!
So the problem is with cat
(safe files get
with the container of the same file works fine) in PowerShell (and windows 11? should be easy to replicate)
PS found a similar issue here (same header and blank characters, so yes, looks like an encoding issue)
Also this seems to be related:
Last bit of info, and then I leave this to the pros: files downloaded with cat
in PowerShell seems to be encoded with:
Correct files are encoded as:
Aww yeah!
safe files put boot.png
FilesContainer created at: “safe://hyryyrytirxr1fkfjft6zsnbs8dkf4qtfbo8ewgdxqrgyj9n1sebooaxy5hnra?v=hwqwdtm8juz7skhntaer1fgjx4pxe7gcxxgio3yx9qky8s8zz5aao”
±–±---------±-------------------------------------------------------------------+
| + | boot.png | safe://hygoyeypezst8ia9cxk5bfo14bkuc9b15qo9xgnm79oso6qny15uc6fcnrc |
±–±---------±-------------------------------------------------------------------+
Is it expected to have new local sockets be created on every retry (30 seconds apart) while waiting to join the network, or should these local udp sockets be attempted to be re-used or earlier sockets be closed?
netstat -tulpn
udp 0 0 0.0.0.0:48854 0.0.0.0:* 37638/sn_node
udp 0 0 0.0.0.0:33354 0.0.0.0:* 37638/sn_node
udp 0 0 0.0.0.0:51744 0.0.0.0:* 37638/sn_node
udp 0 0 0.0.0.0:35641 0.0.0.0:* 37638/sn_node
udp 0 0 0.0.0.0:52451 0.0.0.0:* 37638/sn_node
The network is not accepting nodes right now. Retrying after 30 seconds.
The network is not accepting nodes right now. Retrying after 30 seconds.
The network is not accepting nodes right now. Retrying after 30 seconds.
The network is not accepting nodes right now. Retrying after 30 seconds.
The network is not accepting nodes right now. Retrying after 30 seconds.
The number of local udp ports opened matches exactly the number of waits and retries that are taking place, and both keeps rising every 30 seconds.
Side note: I still have not been able to successfully join to the network via home.
Have others outside of happybeing been able to connect as node operator via home or via cloud resources to the base 20 nodes setup by Maidsafe?
I can upload and download - But node keep timing out.
Encountered a timeout while trying to join the network. Retrying after 30 seconds.
repeats message. Nothing in log.
Edit: after checking on download of my upload (a jpg) and the default coast.jpg download. Neither are displaying for gimp - says they aren’t jpg’s. The coast jpg is 4.5mb, so seems like it did download something. my jpg is smaller than what it should be. So some sort of data corruption happening somewhere.
gimp error: “Not a JPEG file: starts with 0x50 0x72”
Nope. I guess it’s not full enough yet.
I uploaded about 5.5GB of files in two folders (1.6GB + 3.9GB) yesterday and they up- and downloaded very well. I’m checking now if they still download OK. Results for the smaller folder are very good for my connection:
Today:
real 8m4,693s
user 2m9,202s
sys 1m0,203s
Yesterday, about 10 hours ago:
real 8m29,209s
user 1m14,838s
sys 0m34,898s
So today it was a bit faster.
It is not only about sockets.
sn_node
used all my RAM over night, crashed lots of my services… even without connection to the network! (The network is not accepting nodes right now. Retrying after 30 seconds)
I never saw program which leaks memory so massively even before starting to make actual work.