How to build the SAFE Browser and upload a website with Mock-Vault

happen to have a linux compiled version handy? you seem to be the man for that :slight_smile:

As a matter of fact I do…

4 Likes

Has anyone managed to get this running on Windows? When running pack-authenticator it just runs endlessly (I think it just hangs) and I’m not sure if it’s complete or not. If I ctrl+c it, I’m able to compile the browser but when clicking on the rocket nothing happens.

1 Like

Some of us linux guys are still having bother. Best ask @polpolrene .

1 Like

Hm, strange. Just tried it on linux and get the same behavior. When looking into the dev tools I see the js error: request to http://localhost:8100/0.5/auth failed, reason: connect ECONNREFUSED 127.0.0.1:8100
when clicking on the rocket sign.

It seems that it’s still trying to connect to a launcher or something. I’ve definitely switched to dev branch.

EDIT:
Out of curiosity downloaded @JPL 's compiled version. Same result. It seems it’s a problem of my system (both windows and the linux VM). :confused: Has anyone experienced this error or has an idea what could be blocking the connection to localhost?

1 Like

That’s weird. Skype maybe?? (Wild guess). What version of Linux are you using?

Are you using anything listed here http://www.adminsub.net/tcp-udp-port-finder/8100 ???

I try several times to build the Safe Browser on windows. I don`t have problems with the pack-authenticator (Build and finish OK) but the Browser show some errors when rebuild native modules.
As you, I’m able to compile the browser but without response when click the rocket or Enter safe-auth://home in the address bar.

1 Like

When you click on the icon, do you also get the error I mentioned above (right click, inspect element -> console)?

@JPL I’m using Debian 8. I don’t think it’s related to an app blocking a port, because the error happens on both my Windows (host) and Linux (guest) system.

There are the errors I have when install the dependencies in windows.

and a couple of times this error. Always the doble backslash trying to execute node.exe. I see the same error in Maidsafe’s Appveyor test.

Not in my case.

1 Like

Has anyone made any more progress on this lately?
I have been busy with other stuff so have not been touching it at all the past day or so.

1 Like

I think I got to about the same place as you as far as I can tell - managed to create a simple Hello World website and view it, then got lots of error messages trying to make another one.

2 Likes

Yes this is where I got stuck too (Linux)

No need to build the browser and authenticator anymore (although for fun and interest):

3 Likes

Yep - seems to work OK - but because I have no local SAFE content and I cannot get the web_host_manager to work, I have nothing to browse to… :frowning:

EDIT: What do I have to do to make web_hosting_manager work with mock_routing?

3 Likes

Hello,

I’ve tried it yesterday, and uploading/browsing to a simple website worked for me (not gotten to the SAFE api’s).
You do the same like before (e.g. my instructions of 14 days ago), but without the safe_browser part of course.

2 Likes

Could you upload the hosting_manager binaries somewhere? I wasn’t able to build it. Neither on Debian, nor ubuntu. :confused:

4 Likes

I’m stuck at “Waiting For Authorisation”.

I have no clue what to do here. I assume that the SAFE Hosting Manager has to communicate with the SAFE Browser somehow and that it will show up in Authorised applications, but I wouldn’t know how.

[Update]

I didn’t read the Prerequisites and installed keytar. Didn’t change anything though.

This is the output by the way:

[admin@Safe-Dev linux-unpacked]$ ./safe_hosting_manager 
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Gkr-Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
[PLUGINS] Loading from /home/admin/Projects/safe_browser/app/node_modules
packagejson
[AUTO-UPDATE] Error: Disabled. Only available on macOS and Windows.
Registering protocol handler: safe
Registering protocol handler: safe-auth
Wiring up Web API: safeApp
Wiring up Web API: safeCipherOpt
Wiring up Web API: safeImmutableData
Wiring up Web API: safeCrypto
Wiring up Web API: safeCryptoKeyPair
Wiring up Web API: safeCryptoSecEncKey
Wiring up Web API: safeCryptoPubEncKey
Wiring up Web API: safeCryptoSignKey
Wiring up Web API: safeMutableData
Wiring up Web API: safeMutableDataEntries
Wiring up Web API: safeMutableDataKeys
Wiring up Web API: safeMutableDataValues
Wiring up Web API: safeMutableDataMutation
Wiring up Web API: safeMutableDataPermissions
Wiring up Web API: safeMutableDataPermissionsSet
Wiring up Web API: safeNfs
Wiring up Web API: safeAuthenticator
1 Like

Thanks for continuing to try.

This is the cutting edge of SAFE!
(for app devs)

As soon as this web_hosting_manager starts working, we can start uploading and testing out our code!!

1 Like