Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something error when I run getting-started-guide of indy-node #67

Open
michaekang opened this issue Jun 6, 2018 · 0 comments
Open

Something error when I run getting-started-guide of indy-node #67

michaekang opened this issue Jun 6, 2018 · 0 comments

Comments

@michaekang
Copy link

Hello
I am trying to complete the getting-started-guide and almost finished all the stuff, all the code and documentation look like so wonderful. And when I try to launch the agent process, the following error message:
Agent startup failed: [cause : Client hasn't finished catch-up with Pool Ledger yet or doesn't have sufficient number of connections]

My launch command is "python3 /usr/local/lib/python3.5/dist-packages/indy_client/test/agent/acme.py --port 6666 --network "private_network"

The full log as the following:

full log of agent process

:14:10,183 | DEBUG | init.py ( 59) | register | Registered VCS backend: bzr
2018-06-06 02:14:10,608 | INFO | notifier_plugin_manager.py ( 116) | importPlugins | Found notifier plugins: []
2018-06-06 02:14:11,655 | INFO | notifier_plugin_manager.py ( 116) | importPlugins | Found notifier plugins: []
2018-06-06 02:14:13,262 | DEBUG | port_dispenser.py ( 55) | get | new port dispensed: 6006
2018-06-06 02:14:13,440 | DEBUG | ledger.py ( 209) | start | Starting ledger...
2018-06-06 02:14:13,494 | DEBUG | ledger.py ( 76) | recoverTree | Recovering tree from transaction log
2018-06-06 02:14:13,602 | DEBUG | ledger.py ( 91) | recoverTree | Recovered tree in 0.10879356200166512 seconds
2018-06-06 02:14:13,605 | INFO | client.py ( 259) | setPoolParams | db5cd7 updated its pool parameters: f 0, totalNodes 0,minNodesToConnect 1, quorums {'propagate_primary': Quorum(1), 'bls_signatures': Quorum(0), 'consistency_proof': Quorum(1), 'ledger_status': Quorum(-1), 'prepare': Quorum(-1), 'ledger_status_last_3PC': Quorum(1), 'observer_data': Quorum(1), 'propagate': Quorum(1), 'checkpoint': Quorum(-1), 'reply': Quorum(1), 'election': Quorum(0), 'commit': Quorum(0), 'same_consistency_proof': Quorum(1), 'view_change_done': Quorum(0), 'view_change': Quorum(0), 'f': 0, 'timestamp': Quorum(1)}
2018-06-06 02:14:13,606 | INFO | zstack.py ( 274) | setupOwnKeysIfNeeded | Signing and Encryption keys were not found for Dk1D8SU8ZVo665oKMT17UJoAfEQStKcfvZAHfJG8Aduj. Creating them now
2018-06-06 02:14:13,611 | INFO | client.py ( 178) | init | Client db5cd7 found an empty node registry:
2018-06-06 02:14:13,612 | DEBUG | plugin_helper.py ( 23) | loadPlugins | Plugin loading started to load plugins from plugins_dir: /home/vagrant/.indy-cli/networks/private_network
2018-06-06 02:14:13,613 | DEBUG | plugin_helper.py ( 63) | loadPlugins | Total plugins loaded from plugins_dir /home/vagrant/.indy-cli/networks/private_network are : 0
2018-06-06 02:14:13,616 | DEBUG | selector_events.py ( 53) | init | Using selector: EpollSelector
2018-06-06 02:14:13,623 | INFO | walleted_agent.py ( 141) | _restoreWallet | Saved wallet "AcmeCorp" restored (/home/vagrant/.indy-cli/wallets/agents/acme-corp/acmecorp.wallet)
2018-06-06 02:14:13,628 | INFO | walleted_agent.py ( 150) | _restoreIssuerWallet | Saved wallet "issuer" restored (/home/vagrant/.indy-cli/wallets/agents/acme-corp/issuer/issuer.wallet)
2018-06-06 02:14:13,629 | INFO | looper.py ( 106) | init | Starting up indy-node
2018-06-06 02:14:13,631 | DEBUG | authenticator.py ( 31) | start | Starting ZAP at inproc://zeromq.zap.1
2018-06-06 02:14:13,632 | DEBUG | base.py ( 72) | allow | Allowing 0.0.0.0
2018-06-06 02:14:13,634 | DEBUG | base.py ( 112) | configure_curve | Configure curve: []
2018-06-06 02:14:13,636 | INFO | stacks.py ( 80) | start | CONNECTION: Dk1D8SU8ZVo665oKMT17UJoAfEQStKcfvZAHfJG8Aduj listening for other nodes at 0.0.0.0:6006
2018-06-06 02:14:13,637 | DEBUG | authenticator.py ( 31) | start | Starting ZAP at inproc://zeromq.zap.2
2018-06-06 02:14:13,638 | DEBUG | base.py ( 72) | allow | Allowing 0.0.0.0
2018-06-06 02:14:13,639 | DEBUG | base.py ( 112) | configure_curve | Configure curve: []
2018-06-06 02:14:13,641 | INFO | run_agent.py ( 79) | do_run | Running Acme Corp now (port: 6666)
2018-06-06 02:17:13,761 | ERROR | eventually.py ( 184) | eventually | is_connected failed; not trying any more because 120 seconds have passed; args were (<main.AcmeAgent object at 0x7f79f5480780>,)
2018-06-06 02:17:13,762 | ERROR | looper.py ( 251) | wrapper | Error while running coroutine wait_until_connected: NotConnectedToNetwork("Client hasn't finished catch-up with Pool Ledger yet or doesn't have sufficient number of connections",)
2018-06-06 02:17:13,764 | INFO | looper.py ( 274) | shutdown | Looper shutting down now...
2018-06-06 02:17:13,778 | INFO | walleted_agent.py ( 129) | _saveWallet | Active wallet "AcmeCorp" saved (/home/vagrant/.indy-cli/wallets/agents/acme-corp/acmecorp.wallet)
2018-06-06 02:17:13,783 | INFO | walleted_agent.py ( 129) | _saveWallet | Active wallet "issuer" saved (/home/vagrant/.indy-cli/wallets/agents/acme-corp/issuer/issuer.wallet)
2018-06-06 02:17:13,784 | INFO | zstack.py ( 327) | stop | stack Dk1D8SU8ZVo665oKMT17UJoAfEQStKcfvZAHfJG8Aduj closing its listener
2018-06-06 02:17:13,786 | DEBUG | authenticator.py ( 37) | stop | Stopping ZAP at b'inproc://zeromq.zap.1'
2018-06-06 02:17:13,787 | INFO | zstack.py ( 331) | stop | stack Dk1D8SU8ZVo665oKMT17UJoAfEQStKcfvZAHfJG8Aduj stopped
2018-06-06 02:17:13,788 | INFO | zstack.py ( 327) | stop | stack AcmeCorp closing its listener
2018-06-06 02:17:13,789 | DEBUG | authenticator.py ( 37) | stop | Stopping ZAP at b'inproc://zeromq.zap.2'
2018-06-06 02:17:13,789 | INFO | zstack.py ( 331) | stop | stack AcmeCorp stopped
2018-06-06 02:17:13,790 | INFO | looper.py ( 282) | shutdown | Looper shut down in 0.026 seconds.
2018-06-06 02:17:13,791 | ERROR | runnable_agent.py ( 53) | run_agent |

------------------------------------------------------------------ERROR------------------------------------------------------------------
Agent startup failed: [cause : Client hasn't finished catch-up with Pool Ledger yet or doesn't have sufficient number of connections]
------------------------------------------------------------------ERROR------------------------------------------------------------------

sys:1: RuntimeWarning: coroutine 'bootstrap_acme' was never awaited
###########################

-- ksh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant