openwallet-foundation/owl-agent-test-harness

Indy ledger not starting error

georgepadayatti opened this issue · 3 comments

Ran the following command,

./manage run -d acapy -t @AcceptanceTest -t ~@wip 

Error encountered as given below:

Agents to be used:
  Acme - acapy
  Bob - acapy
  Faber - acapy
  Mallory - acapy

starting local von-network...
Cloning into 'von-network'...
remote: Enumerating objects: 2118, done.
remote: Counting objects: 100% (2118/2118), done.
remote: Compressing objects: 100% (857/857), done.
remote: Total 2118 (delta 1220), reused 2058 (delta 1208), pack-reused 0
Receiving objects: 100% (2118/2118), 58.44 MiB | 2.91 MiB/s, done.
Resolving deltas: 100% (1220/1220), done.
Creating ./tmp ...
[+] Running 14/14
 ⠿ Network von_von                Created                                                       0.1s
 ⠿ Volume "von_node4-data"        Created                                                       0.0s
 ⠿ Volume "von_client-data"       Created                                                       0.0s
 ⠿ Volume "von_webserver-cli"     Created                                                       0.0s
 ⠿ Volume "von_webserver-ledger"  Created                                                       0.0s
 ⠿ Volume "von_nodes-data"        Created                                                       0.0s
 ⠿ Volume "von_node1-data"        Created                                                       0.0s
 ⠿ Volume "von_node2-data"        Created                                                       0.0s
 ⠿ Volume "von_node3-data"        Created                                                       0.0s
 ⠿ Container von-node2-1          Started                                                       0.9s
 ⠿ Container von-node3-1          Started                                                       0.8s
 ⠿ Container von-node1-1          Started                                                       0.7s
 ⠿ Container von-node4-1          Started                                                       0.7s
 ⠿ Container von-webserver-1      Started                                                       0.9s
Want to see the scrolling container logs? Run "./manage logs"
waiting for ledger to start/respond............................................................
The Indy Ledger failed to start within 60 seconds.



The Indy Ledger is not running.
```

Tried it out and everything worked fine locally. This might be a combination of a recent break/fix in von-network and a docker thing. Could you try this:

  • Remove the rm -rf services/von-network/.build folder
  • In docker, docker rm images related to von
  • Try again.

To try out just the network, you can run:

  • ./manage service start von-network
  • curl http://localhost:9000 (or whatever ther resulting IP address is of your ledger)

I just pulled the latest code and ran the same command, and the ledger started for me. I did see issues with the agents starting however.

For the ledger startup issue. Try deleting the .build folder under services/von-network to ensure you have the latest version of von-network. There was a startup issue with von-network on some systems at one point.

If the problem persists, you can troubleshoot by going into the services/von-network/.build/von-network folder and running ./manage start --logs to see if there are any startup errors.

Thanks for the quick replies, will do as suggested.