holochain / holochain-rust

DEPRECATED. The Holochain framework implemented in rust with a redux style internal state-model.
GNU General Public License v3.0
1.12k stars 268 forks source link

Holochain conductor does not work with two instances defined #1459

Closed pythagorean closed 5 years ago

pythagorean commented 5 years ago

This is with v0.0.17-alpha2.

If I run the conductor with one instance defined, I am successfully able to start it and access the zome from my frontend. If I define a second instance with the same dna and a second agent, I have conductor errors and I cannot access the zome from my frontend for the first instance.

Here is the one instance TOML:

# -----------  Agents  -----------
[[agents]]
id = "test_agent1"
name = "Agent 1"
public_address = "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"
keystore_file = "conductor/agent1.keystore"

# -----------  DNA  -----------
[[dnas]]
id = "coolcats_dna"
file = "dna-src/dist/coolcats.dna.json"

[[instances]]
id = "coolcats_instance1"
agent = "test_agent1"
dna = "coolcats_dna"
[instances.storage]
type = "memory"

[[interfaces]]
id = "websocket_interface1"
[interfaces.driver]
type = "websocket"
port = 8888
[[interfaces.instances]]
id = "coolcats_instance1"

# -----------  UI  -----------
[[ui_bundles]]
id = "coolcats2_ui"
root_dir = "ui-src/target/deploy"

[[ui_interfaces]]
id = "ui-interface1"
bundle = "coolcats2_ui"
port = 8000
dna_interface = "websocket_interface1"

[network]
n3h_persistence_path = "/tmp"
bootstrap_nodes = []

[logger]
type = "simple"

Here is the startup log, which works:

$ holochain -c conductor/conductor-config-agent1.toml
Using config path: conductor/conductor-config-agent1.toml
Unlocking agent keys:
Unlocking key for agent 'test_agent1': 
Reading keystore from conductor/agent1.keystore
Spawning network with working directory: /tmp
response: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
response: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
(n3h-bin) [i] || workDir || /tmp
(n3h-bin) [i] got stdin config! {"webproxy":{"connection":{"rsaBits":1024,"bind":["wss://0.0.0.0:0/"]},"wssAdvertise":"auto","wssRelayPeers":null}}
(n3h-bin) [i] executing mode REAL
(*n3hMode*) [i] @@ CONFIG @@ {
  "network": {
    "id": "holochain closed alpha testnet d5d6c38c-648e-4ffc-b098-75d4181e639b",
    "useTransientTransportId": false,
    "idHash": "Pm2I3h2lUaHmnw1RHwTgR75IBfVYBtN0ZG5kfU2AB6g="
  },
  "ipc": {
    "connection": {
      "rsaBits": 1024,
      "bind": [
        "wss://127.0.0.1:0/"
      ]
    }
  },
  "mdns": {
    "enabled": true,
    "port": 55455
  },
  "webproxy": {
    "connection": {
      "rsaBits": 1024,
      "bind": [
        "wss://0.0.0.0:0/"
      ]
    },
    "wssAdvertise": "auto",
    "wssRelayPeers": null
  }
}
(wss-server-utils) [i] loaded rsa fingerprint qR3SVh9GvqvPrq0ZlLkjxRkDEZs=
(wss-connection) [i] listening at wss://127.0.0.1:57130/
(p2p-backend) [i] loadKeyFromDisk success - HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
(p2p-backend) [i] machineId: HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
(wss-server-utils) [i] loaded rsa fingerprint qR3SVh9GvqvPrq0ZlLkjxRkDEZs=
(wss-connection) [i] listening at wss://10.0.0.62:57132/
(@realmode@) [i] (ScIi)p2p bound wss://10.0.0.62:57132/?a=HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
Network spawned with bindings:
         - ipc: wss://127.0.0.1:57130/
         - p2p: ["wss://10.0.0.62:57132/?a=HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i"]
2019-05-31 11:01:43 ThreadId(1):conductor: starting signal loop
Reading DNA from dna-src/dist/coolcats.dna.json
Failed to load instance coolcats_instance1 from storage: ErrorGeneric("State could not be loaded due to NoneError")
Initializing new chain...
2019-05-31 11:01:43 ThreadId(0):dna/initialize: Couldn't get DNA and agent from chain: ErrorGeneric("Agent entry not found")
2019-05-31 11:01:43 ThreadId(0):dna/initialize: Initializing new chain from given DNA...
2019-05-31 11:01:43 ThreadId(0):debug/initialize: created public token: HashString("QmTN4G8abpd2vKNg1TndPoSWocyuM9TqY4JSmFqeQvuB7p")
2019-05-31 11:01:43 ThreadId(0):debug/conductor: Coolcats2 instantiated
adding ui interface ui-interface1
Successfully loaded 1 instance configurations
Starting instances...
Starting instance "coolcats_instance1"...
Starting interfaces...
Done.
Starting UI servers
Starting all servers
About to serve path "ui-src/target/deploy" at http://127.0.0.1:8000
2019-05-31 11:01:43 ThreadId(1):conductor: debug/conductor: adding broadcaster to map Ws(Sender { token: Token(18446744073709551610), channel: mio::channel::SyncSender<Command>, connection_id: 0 })
Listening on http://127.0.0.1:8000
Server started for "ui-interface1"
(@realmode@) [i] (ScIi) REGISTERED AGENT HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo hc://HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
2019-05-31 11:01:43 ThreadId(6):debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", entry_address: HashString("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 1"), "pub_sign_key": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), "provenances": Array([Array([String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), String("PzhfmVHffJ5MnPhlzJMfqQJsgQMotapkwjNZCQMBEgnvVJuMtAs48oC2NTxewcuFhX3pR5YhqQDPLbE0HzDSDw==")])]), "link": String("QmZCYh46a4kxLLXpoK8uYQXhFdA9d6SF7NJo3yRJt2c19z"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T15:01:43+00:00")})}) }
2019-05-31 11:01:43 ThreadId(6):debug/net/handle: HandleSendMessage: MessageData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-3", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", from_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", content: Object({"RequestValidationPackage": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir")}) }
2019-05-31 11:01:43 ThreadId(15):Sending validation package of entry HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir to agent HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
2019-05-31 11:01:43 ThreadId(6):debug/net/handle: SendMessageResult: MessageData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-3", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", from_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", content: Object({"ValidationPackage": Object({"chain_header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), "provenances": Array([Array([String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), String("PzhfmVHffJ5MnPhlzJMfqQJsgQMotapkwjNZCQMBEgnvVJuMtAs48oC2NTxewcuFhX3pR5YhqQDPLbE0HzDSDw==")])]), "link": String("QmZCYh46a4kxLLXpoK8uYQXhFdA9d6SF7NJo3yRJt2c19z"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T15:01:43+00:00")}), "source_chain_entries": Null, "source_chain_headers": Null, "custom": Null})}) }
2019-05-31 11:01:43 ThreadId(14):debug/workflow/hold_entry: got validation package
2019-05-31 11:01:43 ThreadId(14):debug/workflow/hold_entry: is valid! HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
2019-05-31 11:01:43 ThreadId(14):debug/workflow/hold_entry: HOLDING: HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
2019-05-31 11:01:50 ThreadId(4):debug/scheduled_jobs: tick

Here I have only added a second agent and a second instance with no other changes:

# -----------  Agents  -----------
[[agents]]
id = "test_agent1"
name = "Agent 1"
public_address = "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"
keystore_file = "conductor/agent1.keystore"

[[agents]]
id = "test_agent2"
name = "Agent 2"
public_address = "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"
keystore_file = "conductor/agent2.keystore"

# -----------  DNA  -----------
[[dnas]]
id = "coolcats_dna"
file = "dna-src/dist/coolcats.dna.json"

[[instances]]
id = "coolcats_instance1"
agent = "test_agent1"
dna = "coolcats_dna"
[instances.storage]
type = "memory"

[[instances]]
id = "coolcats_instance2"
agent = "test_agent2"
dna = "coolcats_dna"
[instances.storage]
type = "memory"

[[interfaces]]
id = "websocket_interface1"
[interfaces.driver]
type = "websocket"
port = 8888
[[interfaces.instances]]
id = "coolcats_instance1"

# -----------  UI  -----------
[[ui_bundles]]
id = "coolcats2_ui"
root_dir = "ui-src/target/deploy"

[[ui_interfaces]]
id = "ui-interface1"
bundle = "coolcats2_ui"
port = 8000
dna_interface = "websocket_interface1"

[network]
n3h_persistence_path = "/tmp"
bootstrap_nodes = []

[logger]
type = "simple"

Here is the startup log, which does not work:

$ holochain -c conductor/conductor-config-agents.toml
Using config path: conductor/conductor-config-agents.toml
Unlocking agent keys:
Unlocking key for agent 'test_agent1': 
Reading keystore from conductor/agent1.keystore
Unlocking key for agent 'test_agent2': 
Reading keystore from conductor/agent2.keystore
Spawning network with working directory: /tmp
response: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
response: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
(n3h-bin) [i] || workDir || /tmp
(n3h-bin) [i] got stdin config! {"webproxy":{"connection":{"rsaBits":1024,"bind":["wss://0.0.0.0:0/"]},"wssAdvertise":"auto","wssRelayPeers":null}}
(n3h-bin) [i] executing mode REAL
(*n3hMode*) [i] @@ CONFIG @@ {
  "network": {
    "id": "holochain closed alpha testnet d5d6c38c-648e-4ffc-b098-75d4181e639b",
    "useTransientTransportId": false,
    "idHash": "Pm2I3h2lUaHmnw1RHwTgR75IBfVYBtN0ZG5kfU2AB6g="
  },
  "ipc": {
    "connection": {
      "rsaBits": 1024,
      "bind": [
        "wss://127.0.0.1:0/"
      ]
    }
  },
  "mdns": {
    "enabled": true,
    "port": 55455
  },
  "webproxy": {
    "connection": {
      "rsaBits": 1024,
      "bind": [
        "wss://0.0.0.0:0/"
      ]
    },
    "wssAdvertise": "auto",
    "wssRelayPeers": null
  }
}
(wss-server-utils) [i] loaded rsa fingerprint qR3SVh9GvqvPrq0ZlLkjxRkDEZs=
(wss-connection) [i] listening at wss://127.0.0.1:57178/
(p2p-backend) [i] loadKeyFromDisk success - HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
(p2p-backend) [i] machineId: HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
(wss-server-utils) [i] loaded rsa fingerprint qR3SVh9GvqvPrq0ZlLkjxRkDEZs=
(wss-connection) [i] listening at wss://10.0.0.62:57180/
(@realmode@) [i] (ScIi)p2p bound wss://10.0.0.62:57180/?a=HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
Network spawned with bindings:
         - ipc: wss://127.0.0.1:57178/
         - p2p: ["wss://10.0.0.62:57180/?a=HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i"]
Reading DNA from dna-src/dist/coolcats.dna.json
2019-05-31 11:03:42 ThreadId(1):conductor: starting signal loop
Failed to load instance coolcats_instance1 from storage: ErrorGeneric("State could not be loaded due to NoneError")
Initializing new chain...
2019-05-31 11:03:42 ThreadId(0):dna/initialize: Couldn't get DNA and agent from chain: ErrorGeneric("Agent entry not found")
2019-05-31 11:03:42 ThreadId(0):dna/initialize: Initializing new chain from given DNA...
2019-05-31 11:03:42 ThreadId(0):debug/initialize: created public token: HashString("QmTN4G8abpd2vKNg1TndPoSWocyuM9TqY4JSmFqeQvuB7p")
2019-05-31 11:03:42 ThreadId(0):debug/conductor: Coolcats2 instantiated
Reading DNA from dna-src/dist/coolcats.dna.json
(@realmode@) [i] (ScIi) REGISTERED AGENT HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo hc://HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
2019-05-31 11:03:42 ThreadId(6):debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", entry_address: HashString("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 1"), "pub_sign_key": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), "provenances": Array([Array([String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), String("PzhfmVHffJ5MnPhlzJMfqQJsgQMotapkwjNZCQMBEgnvVJuMtAs48oC2NTxewcuFhX3pR5YhqQDPLbE0HzDSDw==")])]), "link": String("QmeBHKsiTEqWgQ3R1pDThY4M9V6KfctbyP3ECJCnVofMFj"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T15:03:42+00:00")})}) }
2019-05-31 11:03:42 ThreadId(6):debug/net/handle: HandleSendMessage: MessageData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-3", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", from_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", content: Object({"RequestValidationPackage": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir")}) }
2019-05-31 11:03:42 ThreadId(8):Sending validation package of entry HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir to agent HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
2019-05-31 11:03:42 ThreadId(6):debug/net/handle: SendMessageResult: MessageData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-3", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", from_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", content: Object({"ValidationPackage": Object({"chain_header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), "provenances": Array([Array([String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), String("PzhfmVHffJ5MnPhlzJMfqQJsgQMotapkwjNZCQMBEgnvVJuMtAs48oC2NTxewcuFhX3pR5YhqQDPLbE0HzDSDw==")])]), "link": String("QmeBHKsiTEqWgQ3R1pDThY4M9V6KfctbyP3ECJCnVofMFj"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T15:03:42+00:00")}), "source_chain_entries": Null, "source_chain_headers": Null, "custom": Null})}) }
2019-05-31 11:03:42 ThreadId(7):debug/workflow/hold_entry: got validation package
2019-05-31 11:03:42 ThreadId(7):debug/workflow/hold_entry: is valid! HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
2019-05-31 11:03:42 ThreadId(7):debug/workflow/hold_entry: HOLDING: HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
Failed to load instance coolcats_instance2 from storage: ErrorGeneric("State could not be loaded due to NoneError")
Initializing new chain...
2019-05-31 11:03:43 ThreadId(0):dna/initialize: Couldn't get DNA and agent from chain: ErrorGeneric("Agent entry not found")
2019-05-31 11:03:43 ThreadId(0):dna/initialize: Initializing new chain from given DNA...
2019-05-31 11:03:43 ThreadId(0):debug/initialize: created public token: HashString("QmTN4G8abpd2vKNg1TndPoSWocyuM9TqY4JSmFqeQvuB7p")
2019-05-31 11:03:43 ThreadId(0):debug/conductor: Coolcats2 instantiated
adding ui interface ui-interface1
Successfully loaded 2 instance configurations
Starting instances...
Starting instance "coolcats_instance2"...
Starting instance "coolcats_instance1"...
Starting interfaces...
Done.
Starting UI servers
Starting all servers
About to serve path "ui-src/target/deploy" at http://127.0.0.1:8000
2019-05-31 11:03:43 ThreadId(1):conductor: debug/conductor: adding broadcaster to map Ws(Sender { token: Token(18446744073709551610), channel: mio::channel::SyncSender<Command>, connection_id: 0 })
Server started for "ui-interface1"
Listening on http://127.0.0.1:8000
(@realmode@) [w] Received peerHoldRequest for untracked DNA HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka
2019-05-31 11:03:43 ThreadId(12):debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", entry_address: HashString("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 2"), "pub_sign_key": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), "provenances": Array([Array([String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), String("nohBAeSGT6OJTbO9T7g9VwwFDdNrZeUAH+mm5WJzNZ/HyACDJwkkMe9f8k42Z+6u5v5227scko7Yck/nDtSGCA==")])]), "link": String("QmRu7FyrtG2vxprfar5ZrFExRmP9H14YppYFLRVHHzzZQe"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T15:03:43+00:00")})}) }
2019-05-31 11:03:43 ThreadId(6):(@realmode@) [e] (ScIi) #### CHECK FAILED for (agent) "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka" + (DNA) "QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo" (sender: HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka)
debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", entry_address: HashString("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 2"), "pub_sign_key": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), "provenances": Array([Array([String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), String("nohBAeSGT6OJTbO9T7g9VwwFDdNrZeUAH+mm5WJzNZ/HyACDJwkkMe9f8k42Z+6u5v5227scko7Yck/nDtSGCA==")])]), "link": String("QmRu7FyrtG2vxprfar5ZrFExRmP9H14YppYFLRVHHzzZQe"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T15:03:43+00:00")})}) }
2019-05-31 11:03:43 ThreadId(6):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-6-3", to_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
2019-05-31 11:03:43 ThreadId(12):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-6-3", to_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
(@realmode@) [e] (ScIi) #### CHECK FAILED for (agent) "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka" + (DNA) "QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo" (sender: HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir)
2019-05-31 11:03:43 ThreadId(6):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-4", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
2019-05-31 11:03:43 ThreadId(12):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-4", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
Strict Fail on Unhandled Promise Rejection
Error: peerHoldRequest timed out during _track
    at N3hRealMode._track (/Users/mahakal/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.13-alpha/n3h.app/Contents/Resources/app.asar/lib/hackmode/realmode.js:1270:13)
(n3h-bin) [e] Error: peerHoldRequest timed out during _track
    at N3hRealMode._track (/Users/mahakal/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.13-alpha/n3h.app/Contents/Resources/app.asar/lib/hackmode/realmode.js:1270:13)
Error occured in p2p network module, on tick: TransportError("Os { code: 61, kind: ConnectionRefused, message: \"Connection refused\" }")
Error occured in p2p network module, on tick: TransportError("Os { code: 61, kind: ConnectionRefused, message: \"Connection refused\" }")
2019-05-31 11:03:50 ThreadId(10):debug/scheduled_jobs: tick
pythagorean commented 5 years ago

If I am not able to use the same conductor configuration for multiple instances, I have to spin up multiple conductors like this:

conductor-start: dna ui-deploy
    holochain -c conductor/conductor-config-agent1.toml > /tmp/dna-testnet.log 2>&1 &
    @( tail +1 -f /tmp/dna-testnet.log & ) | grep -q p2p:
    @cat /tmp/dna-testnet.log | grep p2p: | cut -d'"' -f 2 > /tmp/dna-testnet.address
    @export BOOTSTRAP=`cat /tmp/dna-testnet.address`; \
        sed -e "s;_BOOTSTRAP_;$${BOOTSTRAP};" \
        < conductor/conductor-config-agent2.toml > /tmp/conductor-config-agent2.toml
    holochain -c /tmp/conductor-config-agent2.toml > /tmp/dna-testnet2.log 2>&1 &

So in this case consider the issue a feature request so this won't be necessary.

zippy commented 5 years ago

Hey @pythagorean in your second config, I don't see the second instance in the interface section. I think it should read:

[[interfaces]]
id = "websocket_interface1"
[interfaces.driver]
type = "websocket"
port = 8888
[[interfaces.instances]]
id = "coolcats_instance1"
[[interfaces.instances]]
id = "coolcats_instance2"
pythagorean commented 5 years ago

Correct, I didn't add it to the interfaces, because I just wanted to add the instance without giving an interface first. Adding the second instance in the interface section makes no difference in the result.

$ holochain -c conductor/conductor-config-agents.toml
Using config path: conductor/conductor-config-agents.toml
Unlocking agent keys:
Unlocking key for agent 'test_agent1': 
Reading keystore from conductor/agent1.keystore
Unlocking key for agent 'test_agent2': 
Reading keystore from conductor/agent2.keystore
Spawning network with working directory: /tmp
response: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
response: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
(n3h-bin) [i] || workDir || /tmp
(n3h-bin) [i] got stdin config! {"webproxy":{"connection":{"rsaBits":1024,"bind":["wss://0.0.0.0:0/"]},"wssAdvertise":"auto","wssRelayPeers":null}}
(n3h-bin) [i] executing mode REAL
(*n3hMode*) [i] @@ CONFIG @@ {
  "network": {
    "id": "holochain closed alpha testnet d5d6c38c-648e-4ffc-b098-75d4181e639b",
    "useTransientTransportId": false,
    "idHash": "Pm2I3h2lUaHmnw1RHwTgR75IBfVYBtN0ZG5kfU2AB6g="
  },
  "ipc": {
    "connection": {
      "rsaBits": 1024,
      "bind": [
        "wss://127.0.0.1:0/"
      ]
    }
  },
  "mdns": {
    "enabled": true,
    "port": 55455
  },
  "webproxy": {
    "connection": {
      "rsaBits": 1024,
      "bind": [
        "wss://0.0.0.0:0/"
      ]
    },
    "wssAdvertise": "auto",
    "wssRelayPeers": null
  }
}
(wss-server-utils) [i] loaded rsa fingerprint qR3SVh9GvqvPrq0ZlLkjxRkDEZs=
(wss-connection) [i] listening at wss://127.0.0.1:60098/
(p2p-backend) [i] loadKeyFromDisk success - HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
(p2p-backend) [i] machineId: HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
(wss-server-utils) [i] loaded rsa fingerprint qR3SVh9GvqvPrq0ZlLkjxRkDEZs=
(wss-connection) [i] listening at wss://10.0.0.62:60101/
(@realmode@) [i] (ScIi)p2p bound wss://10.0.0.62:60101/?a=HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
Network spawned with bindings:
         - ipc: wss://127.0.0.1:60098/
         - p2p: ["wss://10.0.0.62:60101/?a=HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i"]
2019-05-31 12:58:44 ThreadId(1):conductor: starting signal loop
Reading DNA from dna-src/dist/coolcats.dna.json
Failed to load instance coolcats_instance1 from storage: ErrorGeneric("State could not be loaded due to NoneError")
Initializing new chain...
2019-05-31 12:58:44 ThreadId(0):dna/initialize: Couldn't get DNA and agent from chain: ErrorGeneric("Agent entry not found")
2019-05-31 12:58:44 ThreadId(0):dna/initialize: Initializing new chain from given DNA...
2019-05-31 12:58:44 ThreadId(0):debug/initialize: created public token: HashString("QmTN4G8abpd2vKNg1TndPoSWocyuM9TqY4JSmFqeQvuB7p")
2019-05-31 12:58:44 ThreadId(0):debug/conductor: Coolcats2 instantiated
Reading DNA from dna-src/dist/coolcats.dna.json
(@realmode@) [i] (ScIi) REGISTERED AGENT HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo hc://HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
2019-05-31 12:58:44 ThreadId(6):debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", entry_address: HashString("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 1"), "pub_sign_key": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), "provenances": Array([Array([String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), String("PzhfmVHffJ5MnPhlzJMfqQJsgQMotapkwjNZCQMBEgnvVJuMtAs48oC2NTxewcuFhX3pR5YhqQDPLbE0HzDSDw==")])]), "link": String("QmUnTrbEEZnefry5qDhNVCsUVuQafYcFQn2mynNWVxPHAs"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T16:58:44+00:00")})}) }
2019-05-31 12:58:44 ThreadId(6):debug/net/handle: HandleSendMessage: MessageData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-3", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", from_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", content: Object({"RequestValidationPackage": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir")}) }
2019-05-31 12:58:44 ThreadId(8):Sending validation package of entry HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir to agent HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
2019-05-31 12:58:44 ThreadId(6):debug/net/handle: SendMessageResult: MessageData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-3", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", from_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", content: Object({"ValidationPackage": Object({"chain_header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), "provenances": Array([Array([String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), String("PzhfmVHffJ5MnPhlzJMfqQJsgQMotapkwjNZCQMBEgnvVJuMtAs48oC2NTxewcuFhX3pR5YhqQDPLbE0HzDSDw==")])]), "link": String("QmUnTrbEEZnefry5qDhNVCsUVuQafYcFQn2mynNWVxPHAs"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T16:58:44+00:00")}), "source_chain_entries": Null, "source_chain_headers": Null, "custom": Null})}) }
2019-05-31 12:58:44 ThreadId(7):debug/workflow/hold_entry: got validation package
2019-05-31 12:58:44 ThreadId(7):debug/workflow/hold_entry: is valid! HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
2019-05-31 12:58:44 ThreadId(7):debug/workflow/hold_entry: HOLDING: HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
Failed to load instance coolcats_instance2 from storage: ErrorGeneric("State could not be loaded due to NoneError")
Initializing new chain...
2019-05-31 12:58:44 ThreadId(0):dna/initialize: Couldn't get DNA and agent from chain: ErrorGeneric("Agent entry not found")
2019-05-31 12:58:44 ThreadId(0):dna/initialize: Initializing new chain from given DNA...
2019-05-31 12:58:45 ThreadId(0):debug/initialize: created public token: HashString("QmTN4G8abpd2vKNg1TndPoSWocyuM9TqY4JSmFqeQvuB7p")
2019-05-31 12:58:45 ThreadId(0):debug/conductor: Coolcats2 instantiated
adding ui interface ui-interface1
Successfully loaded 2 instance configurations
Starting instances...
Starting instance "coolcats_instance1"...
Starting instance "coolcats_instance2"...
Starting interfaces...
(@realmode@) [w] Received peerHoldRequest for untracked DNA HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka
2019-05-31 12:58:45 ThreadId(12):debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", entry_address: HashString("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 2"), "pub_sign_key": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), "provenances": Array([Array([String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), String("nohBAeSGT6OJTbO9T7g9VwwFDdNrZeUAH+mm5WJzNZ/HyACDJwkkMe9f8k42Z+6u5v5227scko7Yck/nDtSGCA==")])]), "link": String("QmdSZefiWZRBstJMzf2boWT4xhyStRa3yHF7ZbCVzdCQc1"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T16:58:45+00:00")})}) }
(@realmode@) [e] (ScIi) #### CHECK FAILED for (agent) "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka" + (DNA) "QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo" (sender: HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka)
2019-05-31 12:58:45 ThreadId(12):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-6-3", to_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
2019-05-31 12:58:45 ThreadId(1):conductor: debug/conductor: adding broadcaster to map Ws(Sender { token: Token(18446744073709551610), channel: mio::channel::SyncSender<Command>, connection_id: 0 })
2019-05-31 12:58:45 ThreadId(6):debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", entry_address: HashString("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 2"), "pub_sign_key": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), "provenances": Array([Array([String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), String("nohBAeSGT6OJTbO9T7g9VwwFDdNrZeUAH+mm5WJzNZ/HyACDJwkkMe9f8k42Z+6u5v5227scko7Yck/nDtSGCA==")])]), "link": String("QmdSZefiWZRBstJMzf2boWT4xhyStRa3yHF7ZbCVzdCQc1"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T16:58:45+00:00")})}) }
Done.
Starting UI servers
Starting all servers
About to serve path "ui-src/target/deploy" at http://127.0.0.1:8000
Server started for "ui-interface1"
2019-05-31 12:58:45 ThreadId(6):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-6-3", to_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
Listening on http://127.0.0.1:8000
(@realmode@) [e] (ScIi) #### CHECK FAILED for (agent) "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka" + (DNA) "QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo" (sender: HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir)
2019-05-31 12:58:45 ThreadId(6):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-4", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
2019-05-31 12:58:45 ThreadId(12):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-4", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
Strict Fail on Unhandled Promise Rejection
Error: peerHoldRequest timed out during _track
    at N3hRealMode._track (/Users/mahakal/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.13-alpha/n3h.app/Contents/Resources/app.asar/lib/hackmode/realmode.js:1270:13)
(n3h-bin) [e] Error: peerHoldRequest timed out during _track
    at N3hRealMode._track (/Users/mahakal/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.13-alpha/n3h.app/Contents/Resources/app.asar/lib/hackmode/realmode.js:1270:13)
Error occured in p2p network module, on tick: TransportError("Os { code: 61, kind: ConnectionRefused, message: \"Connection refused\" }")
Error occured in p2p network module, on tick: TransportError("Os { code: 61, kind: ConnectionRefused, message: \"Connection refused\" }")
2019-05-31 12:58:50 ThreadId(4):debug/scheduled_jobs: tick
pythagorean commented 5 years ago

I also tried making an entirely second interface with a different port, as I don't know how I can select the appropriate instance from my UI otherwise. The error occurs just by adding the second instance no matter whether or how I enable any interfaces for it.

[[interfaces]]
id = "websocket_interface1"
[interfaces.driver]
type = "websocket"
port = 8888
[[interfaces.instances]]
id = "coolcats_instance1"

[[interfaces]]
id = "websocket_interface2"
[interfaces.driver]
type = "websocket"
port = 8889
[[interfaces.instances]]
id = "coolcats_instance2"

Here is the output with this configuration:

$ holochain -c conductor/conductor-config-agents.toml
Using config path: conductor/conductor-config-agents.toml
Unlocking agent keys:
Unlocking key for agent 'test_agent1': 
Reading keystore from conductor/agent1.keystore
Unlocking key for agent 'test_agent2': 
Reading keystore from conductor/agent2.keystore
Spawning network with working directory: /tmp
response: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
response: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })
(n3h-bin) [i] || workDir || /tmp
(n3h-bin) [i] got stdin config! {"webproxy":{"connection":{"rsaBits":1024,"bind":["wss://0.0.0.0:0/"]},"wssAdvertise":"auto","wssRelayPeers":null}}
(n3h-bin) [i] executing mode REAL
(*n3hMode*) [i] @@ CONFIG @@ {
  "network": {
    "id": "holochain closed alpha testnet d5d6c38c-648e-4ffc-b098-75d4181e639b",
    "useTransientTransportId": false,
    "idHash": "Pm2I3h2lUaHmnw1RHwTgR75IBfVYBtN0ZG5kfU2AB6g="
  },
  "ipc": {
    "connection": {
      "rsaBits": 1024,
      "bind": [
        "wss://127.0.0.1:0/"
      ]
    }
  },
  "mdns": {
    "enabled": true,
    "port": 55455
  },
  "webproxy": {
    "connection": {
      "rsaBits": 1024,
      "bind": [
        "wss://0.0.0.0:0/"
      ]
    },
    "wssAdvertise": "auto",
    "wssRelayPeers": null
  }
}
(wss-server-utils) [i] loaded rsa fingerprint qR3SVh9GvqvPrq0ZlLkjxRkDEZs=
(wss-connection) [i] listening at wss://127.0.0.1:60326/
(p2p-backend) [i] loadKeyFromDisk success - HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
(p2p-backend) [i] machineId: HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
(wss-server-utils) [i] loaded rsa fingerprint qR3SVh9GvqvPrq0ZlLkjxRkDEZs=
(wss-connection) [i] listening at wss://10.0.0.62:60328/
(@realmode@) [i] (ScIi)p2p bound wss://10.0.0.62:60328/?a=HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
Network spawned with bindings:
         - ipc: wss://127.0.0.1:60326/
         - p2p: ["wss://10.0.0.62:60328/?a=HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i"]
2019-05-31 13:08:00 ThreadId(1):conductor: starting signal loop
Reading DNA from dna-src/dist/coolcats.dna.json
Failed to load instance coolcats_instance1 from storage: ErrorGeneric("State could not be loaded due to NoneError")
Initializing new chain...
2019-05-31 13:08:00 ThreadId(0):dna/initialize: Couldn't get DNA and agent from chain: ErrorGeneric("Agent entry not found")
2019-05-31 13:08:00 ThreadId(0):dna/initialize: Initializing new chain from given DNA...
2019-05-31 13:08:00 ThreadId(0):debug/initialize: created public token: HashString("QmTN4G8abpd2vKNg1TndPoSWocyuM9TqY4JSmFqeQvuB7p")
2019-05-31 13:08:00 ThreadId(0):debug/conductor: Coolcats2 instantiated
Reading DNA from dna-src/dist/coolcats.dna.json
(@realmode@) [i] (ScIi) REGISTERED AGENT HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo hc://HcScIi9N8apdUo7giik383U8qA97Rfm6EMa3BHVzPwzborrw8qmuj9mdQqxwc3i
2019-05-31 13:08:00 ThreadId(6):debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", entry_address: HashString("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 1"), "pub_sign_key": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), "provenances": Array([Array([String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), String("PzhfmVHffJ5MnPhlzJMfqQJsgQMotapkwjNZCQMBEgnvVJuMtAs48oC2NTxewcuFhX3pR5YhqQDPLbE0HzDSDw==")])]), "link": String("QmZWuoJ4DJqBTAeo6jCW84csdCi3EkQzNmXzfHSPc5knxz"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T17:08:00+00:00")})}) }
2019-05-31 13:08:00 ThreadId(6):debug/net/handle: HandleSendMessage: MessageData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-3", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", from_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", content: Object({"RequestValidationPackage": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir")}) }
2019-05-31 13:08:00 ThreadId(8):Sending validation package of entry HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir to agent HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
2019-05-31 13:08:00 ThreadId(6):debug/net/handle: SendMessageResult: MessageData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-3", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", from_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", content: Object({"ValidationPackage": Object({"chain_header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), "provenances": Array([Array([String("HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir"), String("PzhfmVHffJ5MnPhlzJMfqQJsgQMotapkwjNZCQMBEgnvVJuMtAs48oC2NTxewcuFhX3pR5YhqQDPLbE0HzDSDw==")])]), "link": String("QmZWuoJ4DJqBTAeo6jCW84csdCi3EkQzNmXzfHSPc5knxz"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T17:08:00+00:00")}), "source_chain_entries": Null, "source_chain_headers": Null, "custom": Null})}) }
2019-05-31 13:08:00 ThreadId(7):debug/workflow/hold_entry: got validation package
2019-05-31 13:08:00 ThreadId(7):debug/workflow/hold_entry: is valid! HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
2019-05-31 13:08:00 ThreadId(7):debug/workflow/hold_entry: HOLDING: HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir
Failed to load instance coolcats_instance2 from storage: ErrorGeneric("State could not be loaded due to NoneError")
Initializing new chain...
2019-05-31 13:08:01 ThreadId(0):dna/initialize: Couldn't get DNA and agent from chain: ErrorGeneric("Agent entry not found")
2019-05-31 13:08:01 ThreadId(0):dna/initialize: Initializing new chain from given DNA...
2019-05-31 13:08:01 ThreadId(0):debug/initialize: created public token: HashString("QmTN4G8abpd2vKNg1TndPoSWocyuM9TqY4JSmFqeQvuB7p")
2019-05-31 13:08:01 ThreadId(0):debug/conductor: Coolcats2 instantiated
adding ui interface ui-interface1
Successfully loaded 2 instance configurations
Starting instances...
Starting instance "coolcats_instance1"...
Starting instance "coolcats_instance2"...
Starting interfaces...
2019-05-31 13:08:01 ThreadId(1):conductor: debug/conductor: adding broadcaster to map Ws(Sender { token: Token(18446744073709551610), channel: mio::channel::SyncSender<Command>, connection_id: 0 })
(@realmode@) [w] Received peerHoldRequest for untracked DNA HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka
Done.
2019-05-31 13:08:01 ThreadId(1):conductor: debug/conductor: adding broadcaster to map Ws(Sender { token: Token(18446744073709551610), channel: mio::channel::SyncSender<Command>, connection_id: 0 })
Starting UI servers
Starting all servers
About to serve path "ui-src/target/deploy" at http://127.0.0.1:8000
Server started for "ui-interface1"
Listening on http://127.0.0.1:8000
2019-05-31 13:08:01 ThreadId(12):debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", entry_address: HashString("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 2"), "pub_sign_key": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), "provenances": Array([Array([String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), String("nohBAeSGT6OJTbO9T7g9VwwFDdNrZeUAH+mm5WJzNZ/HyACDJwkkMe9f8k42Z+6u5v5227scko7Yck/nDtSGCA==")])]), "link": String("QmVhA5LhzjbkDum5qXN9eiwzREAzdoAM1J64sUqmdZGg9S"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T17:08:01+00:00")})}) }
(@realmode@) [e] (ScIi) #### CHECK FAILED for (agent) "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka" + (DNA) "QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo" (sender: HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka)
2019-05-31 13:08:01 ThreadId(12):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-6-3", to_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
2019-05-31 13:08:01 ThreadId(6):debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", entry_address: HashString("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 2"), "pub_sign_key": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), "provenances": Array([Array([String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), String("nohBAeSGT6OJTbO9T7g9VwwFDdNrZeUAH+mm5WJzNZ/HyACDJwkkMe9f8k42Z+6u5v5227scko7Yck/nDtSGCA==")])]), "link": String("QmVhA5LhzjbkDum5qXN9eiwzREAzdoAM1J64sUqmdZGg9S"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T17:08:01+00:00")})}) }
2019-05-31 13:08:01 ThreadId(6):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-6-3", to_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
(@realmode@) [e] (ScIi) #### CHECK FAILED for (agent) "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka" + (DNA) "QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo" (sender: HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir)
2019-05-31 13:08:01 ThreadId(6):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-4", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
2019-05-31 13:08:01 ThreadId(12):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-4", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
Strict Fail on Unhandled Promise Rejection
Error: peerHoldRequest timed out during _track
    at N3hRealMode._track (/Users/mahakal/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.13-alpha/n3h.app/Contents/Resources/app.asar/lib/hackmode/realmode.js:1270:13)
(n3h-bin) [e] Error: peerHoldRequest timed out during _track
    at N3hRealMode._track (/Users/mahakal/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.13-alpha/n3h.app/Contents/Resources/app.asar/lib/hackmode/realmode.js:1270:13)
Error occured in p2p network module, on tick: TransportError("Os { code: 61, kind: ConnectionRefused, message: \"Connection refused\" }")
Error occured in p2p network module, on tick: TransportError("Os { code: 61, kind: ConnectionRefused, message: \"Connection refused\" }")
2019-05-31 13:08:10 ThreadId(10):debug/scheduled_jobs: tick
pythagorean commented 5 years ago

I see in my original post I misstated that I had added a second interface rather than saying I had added a second instance, I will edit it.

pythagorean commented 5 years ago

Okay I went line by line through the first logs I posted and here are the potentially significant additions to the one with two instances:

(@realmode@) [w] Received peerHoldRequest for untracked DNA HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka
2019-05-31 11:03:43 ThreadId(12):debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", entry_address: HashString("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 2"), "pub_sign_key": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), "provenances": Array([Array([String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), String("nohBAeSGT6OJTbO9T7g9VwwFDdNrZeUAH+mm5WJzNZ/HyACDJwkkMe9f8k42Z+6u5v5227scko7Yck/nDtSGCA==")])]), "link": String("QmRu7FyrtG2vxprfar5ZrFExRmP9H14YppYFLRVHHzzZQe"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T15:03:43+00:00")})}) }
2019-05-31 11:03:43 ThreadId(6):(@realmode@) [e] (ScIi) #### CHECK FAILED for (agent) "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka" + (DNA) "QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo" (sender: HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka)
debug/net/handle: HandleStoreEntry: EntryData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), provider_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", entry_address: HashString("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), entry_content: Object({"entry": Object({"AgentId": Object({"nick": String("Agent 2"), "pub_sign_key": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka")})}), "header": Object({"entry_type": String("AgentId"), "entry_address": String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), "provenances": Array([Array([String("HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka"), String("nohBAeSGT6OJTbO9T7g9VwwFDdNrZeUAH+mm5WJzNZ/HyACDJwkkMe9f8k42Z+6u5v5227scko7Yck/nDtSGCA==")])]), "link": String("QmRu7FyrtG2vxprfar5ZrFExRmP9H14YppYFLRVHHzzZQe"), "link_same_type": Null, "link_update_delete": Null, "timestamp": String("2019-05-31T15:03:43+00:00")})}) }
2019-05-31 11:03:43 ThreadId(6):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-6-3", to_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
2019-05-31 11:03:43 ThreadId(12):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-6-3", to_agent_id: "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
(@realmode@) [e] (ScIi) #### CHECK FAILED for (agent) "HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka" + (DNA) "QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo" (sender: HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir)
2019-05-31 11:03:43 ThreadId(6):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-4", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
2019-05-31 11:03:43 ThreadId(12):warning/net/handle: FailureResult: FailureResultData { dna_address: HashString("QmfE9eAqSAAKPKDSru2d8giUWdfqoiT988kYW8aVQpyMmo"), request_id: "puid-1-4", to_agent_id: "HcSCiH48BaDmgheazcQ5SKkbCCRfsrnpoMTMDFJh4BxyewhhIGgaxqB3Ior3pir", error_info: String("No routing for agent id \"HcSCICF4Hgx3K9frixvZexQde9Igv5uz83e5i9oQcYnRv8i8bPUQY4buSpndeka\"") }
Strict Fail on Unhandled Promise Rejection
Error: peerHoldRequest timed out during _track
    at N3hRealMode._track (/Users/mahakal/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.13-alpha/n3h.app/Contents/Resources/app.asar/lib/hackmode/realmode.js:1270:13)
(n3h-bin) [e] Error: peerHoldRequest timed out during _track
    at N3hRealMode._track (/Users/mahakal/Library/Application Support/org.holochain.holochain/n3h-binaries/v0.0.13-alpha/n3h.app/Contents/Resources/app.asar/lib/hackmode/realmode.js:1270:13)
Error occured in p2p network module, on tick: TransportError("Os { code: 61, kind: ConnectionRefused, message: \"Connection refused\" }")
Error occured in p2p network module, on tick: TransportError("Os { code: 61, kind: ConnectionRefused, message: \"Connection refused\" }")
Connoropolous commented 5 years ago

Hey @pythagorean are you still seeing this issue?

pythagorean commented 5 years ago

Yes, but it may be moot now, since I can spin up two Conductors and let them find one another rather than trying to make multiple instances within a single Conductor toml file.

pythagorean commented 5 years ago

Let me know if I should close this or feel free to do so if it isn't a priority to use a single toml file and Conductor to serve multiple instances.

Connoropolous commented 5 years ago

Yes, you'd be correct in saying that supporting that use case isn't a priority. Glad your immediate issues are resolved!