-
Notifications
You must be signed in to change notification settings - Fork 38
Couldn't connect to the Safe Network #321
Comments
I think that is because there is no test net running right now. You can still build the project against mock_routing and run a local version if you want to play with the API. |
Having same issue. |
Same here |
There is no testnet running right now, so it's normal to see this error. Developers can use "mock routing" (a simulated version of the network) to build apps 🙂 For the current SAFE API, you can follow the instructions in the README of SAFE Launcher to build it using mock routing. |
This is my terminal output: :~$ safe_launcher
/opt/maidsafe/safe_launcher/safe_launcher
DEBUG 00:47:58.695 - Starting FFI worker client
DEBUG 00:47:58.707 - Sending message to FFI - bdcd718e-6ce1-427d-ba62-0a2ae20e06b6 - get-log-path -
DEBUG 00:47:58.731 - Application starting
TRACE 22:47:58.860616219 [safe_core::ffi mod.rs:415] FFI Dropping vector.
DEBUG 00:47:58.922 - Sending FFI initialisation request
DEBUG 00:47:58.923 - Sending message to FFI - 5fbb8bc2-2f25-48f2-9e71-48615b7fd805 - connect -
DEBUG 00:47:58.924 - FFI response code 0 for id - logFilePath
TRACE 22:47:58.924762677 [safe_core::ffi mod.rs:181] FFI create unregistered client.
TRACE 22:47:58.924796261 [safe_core::core::client mod.rs:78] Creating unregistered client.
DEBUG 00:47:58.973 - FFI/mod/auth.js - Create Unregistered Client Handle
TRACE 22:47:59.232302323 [safe_core::core::client mod.rs:87] Waiting to get connected to the Network...
DEBUG 22:48:09.326849453 [routing::core core.rs:1080] Disconnected(bc3312..) Failed to bootstrap.
TRACE 22:48:09.326926557 [safe_core::core::client::message_queue message_queue.rs:172] EventReceiverThread received: Event::Terminate
INFO 22:48:09.326948995 [safe_core::core::client::message_queue message_queue.rs:193] Received a Terminate event. Informing 1 observers.
WARN 22:48:09.326968874 [safe_core::core::client mod.rs:91] Could not connect to the Network. Unexpected: Disconnected
INFO 22:48:09.327740179 [safe_core::ffi mod.rs:182]
FFI cross-boundary error propagation:
--------------------------------------------------
| **ERRNO: -15** Operation aborted - CoreError::OperationAborted
--------------------------------------------------
DEBUG 00:48:09.328 - Network state change event received :: 1 :: false
INFO 00:48:09.329 - Network connection lost |
@gubi: The SAFE Network Alpha 1 network has been offline since March 14 (see this post), so it's normal to see this error. See the weekly dev updates for more info on what we're working on: https://safenetforum.org/c/development/updates |
Wait. :~$ safe-launcher
info: Server started
debug: Add event listener - error
debug: Add event listener - started
debug: Add event listener - stopped
debug: Add event listener - sesssion_created
debug: Add event listener - session_creation_failed
debug: Add event listener - session_removed
debug: Add event listener - data_uploaded
debug: Add event listener - data_downloaded
debug: Add event listener - activity_new
debug: Add event listener - activity_update
debug: Add event listener - auth_request
debug: Add event listener - invite_token
info: API server started
I 17-05-07 23:23:35.320003 Bootstrapping(ceef6d..) Failed to bootstrap. Terminating.
I 17-05-07 23:23:35.320116 Received a Terminate event. Informing 1 observers.
W 17-05-07 23:23:35.320156 Could not connect to the Network. Unexpected: Disconnected
I 17-05-07 23:23:35.320574
FFI cross-boundary error propagation:
--------------------------------------------------
| **ERRNO: -15** FfiError::CoreError -> Operation aborted - CoreError::OperationAborted
--------------------------------------------------
error: FFI :: Auth :: Get unregistered session :: -15 Any suggestions? |
SAFE Launcher version 0.8.0 was for the Alpha 1 network. And SAFE Launcher v0.11.0 was for the Test 16 network. Test 16 has been offline since April 19 (see this post), so it's normal to see this error. |
Ok, great. |
If you'd like to try SAFE Launcher, you can follow the instructions in the README to build it using the mock network (a simulation of the network): https://github.com/maidsafe/safe_launcher#installation 🙂 You could also try to build the SAFE Authenticator (which is going to replace SAFE Launcher in the next testnet) as we explained in the last dev update: https://safenetforum.org/t/maidsafe-dev-update-may-4-2017/13527 I would also recommend reading this blog post for more info: https://blog.maidsafe.net/2017/05/04/safe-network-development-summary-may-2017/
|
Ok, cool many thanks 🙂 |
Too bad the testnet isn't running all the time. Would have been cool to see it working. |
Hello Safers
I installed Safe Launcher and allowed its connections through firewall, but I get this message when I try to connect "Couldn't connect to the Safe Network".
Any help will be appreciated.
Thanks in advance.
The text was updated successfully, but these errors were encountered: