SAFE Network - TEST 6

@neo

So in the final network is it going to be that joe-public will not be able to run an app unless they have an account?

Yes. Unless you can envisage a useful App that doesn’t need to access your private SAFE storage that is. In that case the App would not need to ask for access.

Authorisation means giving the App permission to store data in your private SAFE storage, to spend your PUT balance etc, so yes, you have to have an account and be logged in to give an App access to it.

2 Likes

Remember that would include uploading public data too, not just your private SAFE data

But also plenty of APPs can work on public data. A youtube replacement for starters, the non-logged in version simply plays videos already uploaded.

The demo APP can access public data can’t it and download public files??

2 Likes

@neo you raise a valid question and I don’t know the answer to this part: can an unauthorised App use the Launcher NFS API to access public data?

Obviously an unauthorised App can access public shares through the Launcher intercepting and redirecting .safenet HTTP requests, but that’s not the same thing as doing directory or file GET on the Launcher NFS API.

@Krishna_Kumar, can you clear this up for us please? How would an unauthorised App list and read the directory tree of a public share?

4 Likes

This:

Already looks like Youtube, there are only a few elements missing.
Comments, but this can be done with messaging
Subscribe, ??? Decorum
Thumbs up/down
Views
vid details

Just a few things for starters.

1 Like

Read “Un-Registered Client Access Workflow”

3 Likes

Thanks @digipl - this addresses the issue but doesn’t really answer the question for me, and doesn’t go into what the un-registered API will look like.

It seems to say the user will need to be logged in, but I’m not sure why this needs to be the case and it may just be that I’m misunderstanding it - at first reading I find it hard to understand so clarification would help.

Well spotted @neo… as so often! :slight_smile:

2 Likes

I have it running with a demo site

http://trauma.stabby.safenet

I have found uploads stall-ish, and a file upload stopped with the display at 99% and didn’t complete in half an hour. I quit the demo and launcher and restated both. The upload had succeeded*, the app just never completed displaying the progress.

I have a vault going also, and that seems to be running ok.

This is on a Windows 7 laptop.

  • Actually it had NOT succeeded. The file, a 115k jpeg, WAS listed in the Private Data folder, but when downloaded, it turned out to be just HALF an image.

My wifi is a bit flakey, so sluggish response and the broken image might just be down to my connection.

1 Like

There seems to be a problem with incomplete uploads / downloads, files that are different sizes after they have been through the upload / download process. Obviously they are being corrupted somewhere in the process. It’s not all files, just some. Powerpoint files seem to present a particular problem (no idea why that should be or if it’s representative).

uuuuuh how awesome :open_mouth: my best female friend likes this series a lot! :smiley: now i’m afraid i finally might watch some episodes Oo

2 Likes

I just uploaded and downloaded the same image a couple times with different names. No problem this time.

aaaalright - but first things first :smiley: *enjoying-first-good-quality-video-on-safenet*

ps: oooooooooh nooooo only 22 minutes >.< how far has project decorum evolved…? Oo we need a forum inside safenet!!! :open_mouth:

1 Like

Is the Vault NOT supposed to be running alongside with the Launcher??
I tried running the launcher and the demo WITHOUT the vault and suddenly all connectivity issues within the SafeNet were solved.

That is strange, I haven’t tried that yet so I’m curious if that will solve some issues I’m having

This morning I tried the Launcher without running the vault and the checksum error in the new upload files disappear. (Windows 7).

So yes, there are some issues between Launcher and Vault.

1 Like

If Vault and Launcher are running together, and I close the Vault, the Launcher would lose connection from the Network.
I wonder how they interact each other.
Btw, without the Vault running the Demo App connects without any problem, and it doesn’t get stuck.
But I have problems uploading files and creating services. It gets stuck at “Uploading 99%” never finishes.
When I came later, I can’t use the same name for the service because it says that the directory already exists, but there is none listed so I can use it.

3 Likes

so this line here from my vault window tells me exactly how much data I have stored in my vault…

cheers
Al

2 Likes

I feel ya bro. I’m having the same issue. Posted on github and everything. Grrr it’s annoying. I upload and it gets stuck at 99% and when I close the app it says it’s already uploaded so I can’t reupload to access the services and files.

I had to stop and restart my vault. Unfortunately, my client process couldn’t be restarted anymore with following error:

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: DnsError::NfsError -> NfsError::CoreError -> No such data - CoreError::GetFailure::{ reason: NoSuchData, data_id: Structured(b733b7.., 15101) }', ../src/libcore/result.rs:785

To work around this problem, I had to create other users and dns entries. So now the updated sites are http://mystats2.safenet and http://safe-galaxy2.safenet. Currently there are 82 nodes and mine is at coordinates (x, y) = (57, 181).

Note: My previous sites still exist but are frozen.

some open source video to play. all three at once? yes you can :grin:
http://video.vault.safenet

(Ill get it working on chrome tomorrow, IE and Firefox should work)
not intended for full screen viewing.

3 Likes