I wonder if safe_vault
overwriting the config automatically is wise. It could ask first, or perhaps better an option could be provided to allow or prevent overwriting the config. Thoughts @bochaco?
I think it should, however we should probably add flags to clients if you want to use connection info for connecting to other vaults than locally running one
I’m not sure how to use safe_auth --apps
either. I have the daemon running already and the following just hangs but possibly you aren’t supposed to run safe_auth
more than once?
safe_auth --apps
Secret:
Password:
Logged in the SAFE Network successfully!
I created a Ubuntu VM with Hyper-V on Windows 10 but I cannot make it work. I am new to Ubuntu Desktop, so this may be a basic usage error.
When I double click on safe-browser icon I get this error:
And in a terminal:
For those who want to get up and running on the shared vault as fast as possible, here’s what I did (but I did not do this fast…)
Get binary files and config file
- Download safe_vault, safe, and safe_auth
- Run safe_vault - it will tell you it’s making a config file. Make a note of where it says it’s putting it.
- Now, overwrite that config file it just made with this one, and never run safe_vault again (If you want to use the shared vault)
Create a new account with some secret and password that you will make up
-
safe_auth --test-coins
Start your daemon with the same secret and password that you used to create account
-
safe_auth --daemon 41805
- this command window cannot be closed now, so open a new one for the rest
Authorize your CLI
-
safe auth
- Go back to your other, open command window, where your daemon is running, and hit ‘y’ to authorize
Upload a directory and all it’s contents into the shared vault. Make a note of the hashes for each file
-
safe files put .your_dir_name --recursive
Tell your friends the hashes, so they can read the files
-
safe cat safe://hbyyyydumbcdx4yd55q4bg3yxfjkrw15rbepchpy5izded53useofe5fge > maidsafe.mp4
Also useful:
...
$ safe files put cyberpunk/ --recursive
FilesContainer created at: "safe://hnyynyzyny5xx5fhp5uyiedbrph3akrw4oeuy4a7fsm9crjjnsawg3jybobnc"
+ cyberpunk/banhammer.mp4 safe://hbyyyydw8ay879ejpdknrbmmig31gxjr9qexxqhe5bq3wsdhd3xwdxaasd
$ safe nrs create cyberpunk --link safe://hnyynyzyny5xx5fhp5uyiedbrph3akrw4oeuy4a7fsm9crjjnsawg3jybobnc?v=0
New NRS Map for "safe://cyberpunk" created at: "safe://hnyydyistmxhjpjw4txtik9187oe5wr3b6kg1qr83hn41dijjtcmuhuoxrbqh"
+ cyberpunk safe://hnyynyzyny5xx5fhp5uyiedbrph3akrw4oeuy4a7fsm9crjjnsawg3jybobnc?v=0
safe cat safe://cyberpunk
Files of FilesContainer (version 0) at "safe://cyberpunk":
+----------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| Name | Size | Created | Modified | Link |
+----------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /banhammer.mp4 | 931806 | 2019-08-30T19:48:56Z | 2019-08-30T19:48:56Z | safe://hbyyyydw8ay879ejpdknrbmmig31gxjr9qexxqhe5bq3wsdhd3xwdxaasd |
+----------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
And…
safe cat safe://dweb
Files of FilesContainer (version 0) at "safe://dweb":
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| Name | Size | Created | Modified | Link |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /404.html | 1513 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynb97jrsbxg3dnynczgoetg3xanitekfyhd1ep8q3syyax8recnuk |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /404/routeInfo.json | 82 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyd41w4pcnmioy9ri1idn5xqki7esoeh4apj7rhjmdqw7chc3kfc4g |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /about/index.html | 4436 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyn5oih7cgxd8zx134tr4uadbde6gt7fhz6a7hwhxhn44at1bajcbg |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /about/routeInfo.json | 1590 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyddwsgayu6eyyn6opmbji9xf3hef6ce3895iqy86r3j74m45fknmk |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/index.html | 26281 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynzq6ipkimu5fkz3pobkcxs31kpuwsuqeemc58u76o13bwepzke7s |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/001-how-to-set-up-your-own-dweb-site/index.html | 6739 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynpj5wdyug11sqpmrskgy91ptrw1xxcm1tm76ss8ddefk7f79uwfb |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/001-how-to-set-up-your-own-dweb-site/routeInfo.json | 2818 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydst43ay6oea5oww7tq6jrjfa7et76w9oq11rs8hingrmp3jub4g9 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/002-safegit-decentralised-git-on-safe-network/index.html | 33919 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyni4nhziwkbuu5a1ziizufit73kqmqxik6ejdsroubjdi6s6d9haj |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/002-safegit-decentralised-git-on-safe-network/routeInfo.json | 16435 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyd4xustss4gf1ayijw3xdbdyswgakyjdt3p64fw1gdbta9nz47soa |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/003-solid-filemanager-on-safe-network/index.html | 12283 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydacog7jtqci7jp977cx88j7iq5hz8o56xpmft3thriexq91gx3tj |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/003-solid-filemanager-on-safe-network/routeInfo.json | 5566 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynodt6gmjkhf861ur4ujnr9d9jkzptxiko6wkargqanx5fpf59czc |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/routeInfo.json | 24500 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyng8hwf91thzp8obcidzngk6gfszkaeqbkkc9h9yiraw6t7d1myri |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /images/safedrive-logo-017778b748a2fa41a1a79855bc90dd6dda5f5051_2_1064x1000.jpeg | 138141 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynee3dxo618qwkwucp1nkfcjco8msnamuh444qokgg5pzgjrnoeaq |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /images/safegit-logo-8a31ccf66202d8209de7345c105da82070b22876_2_1380x580.png | 13215 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydsb1y5jwnbs1hyc7imqaebstap75e4nia3nztstmtpjkbo4st1ui |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /images/safepresslogo.png | 25286 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynbtpmugmbgnj5cj5yo8tyf33dbaeks7a1h7yqhocbtam43bukqz9 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /images/solidonsafelogo.png | 15558 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynyzeowzzxxd5rzawyfn7hzf4t3meo9fkiokag65qssmuxchjm544 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /index.html | 9139 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydu5mwkxf4jztn1nr5yaa8rtxpfzyw56ffqp8a8feye35gi8gp737 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /main.b88055c4.js | 6371 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynw49wgw4c73nanfnknhcbs75jxyeijbm5qrcg5syoqeenzms1zcd |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /robots.txt | 14 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynf9frrhfe9tsmon5ssy53kxwx13jhxpas549u3gu6tiezyrnan7m |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /routeInfo.json | 3989 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyn4bhb4wtjgao664rzxg45igtpgissjsr7x13hwzrm4jo8yccumat |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /styles.09a99144.css | 361 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynrzfhe7xbk1hihejq93hozwddtcpsy5k4a7aiu78hjac4zgoxomm |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/src/containers/Post.81937a63.js | 4260 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynmsi6ikd8tbwc57nkjqwmowjy43bxqt3ja4yz9uqxr18o9fjd5p4 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/src/pages/404.b179122c.js | 255 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyd9wuw9fprzzqnpb3xsjhq4kpu5jkiax55qxfu6tskc3uu9g6ew53 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/src/pages/about.089f2a9f.js | 3802 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydz979x3pe17ne8n8hjtzexeemkosgym71s6rcd459i3z5bryxrjf |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/src/pages/blog.97a83f54.js | 507 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyn1fbt6u4yxjpzrgujie9my8irig314hnsd87c3zc4pjy64uq4zxi |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/src/pages/index.6e7af649.js | 4079 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynn3q1fcmxa4dzsf3oqqicf8ti8y4symyqoer74xmtk4e18fk9k3f |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/styles.09a99144.js | 82 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydcaipqe76qpnpxr9rtkkb9msf4w39suzi1zdta9en86bwtrycjrn |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/vendors~main.e0d0502a.js | 240918 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyd7zqih3pobjj73b3q3u1c8zdds515hwmq67qgaxud5j4yywc6iiw |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
I’ve built and run this, it opens and I entered the credentials from my shared vault account but it fails with this familiar error: Core error: Unexpected: Could not connect to the SAFE Network
Am I missing something?! I’m currently able to safe cat safe://test
etc but in a different terminal that I have already done safe auth
. Is there any thing else to do in the POC browser terminal?
It sounds like (since the PoC browser doesn’t have an authenticator ) you forgot to switch to the
NewDay
branch?
Make sure you clone the repo and then checkout NewDay
:
$ git clone https://github.com/maidsafe/safe_browser
$ cd safe_browser
$ git checkout NewDay
$ yarn && yarn start
Each one more magnificent than the last
Doh! Thanks Gabriel, I forgot the checkout.
Stream straight into vlc if using linux:
safe cat safe://hbyyyydumbcdx4yd55q4bg3yxfjkrw15rbepchpy5izded53useofe5fge | vlc -
Cat a dog!
safe cat safe://hbyyyydgtpdfuspaui6s4yozkyfbogrmf9jrt4zo6ea9nuspbdzhdtbfea | display
Or with NRS:
safe cat safe://lazydog | display
vlc didn’t work for me, complained about fd:/0 or something but the dog displayed! Nice
I have to say, this is great fun to play with! It’s all so intuitive and easy. No faffing about with registering a server, setting up FTP, DNS, etc. Just a few commands and you’re away! Very cool!
I’m getting the same problem on Ubuntu.
The first problem, the double click, is a very old ubuntu problem. Must use the terminal to run the browser.
About the second one, I also get the same error if I try to run the browser (and I checked that I have the correct Vault connection config file).

About the second one, I also get the same error if I try to run the browser (and I checked that I have the correct Vault connection config file).
Yes, that’s the one I meant to quote. It looks like the binary is looking for a local file on @bochaco 's machine!