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

Error in Starting Faber Agent on local machine for Open API Demo #139

Closed
muhammadusman93 opened this issue Aug 13, 2019 · 5 comments
Closed

Comments

@muhammadusman93
Copy link

Starting faber...

#1 Provision an agent and wallet, get back configuration details
Faber | Registering Faber Agent with seed d_000000000000000000000000666877
Faber | Got DID: PkycMbtb1iayz33JgqRgAU
Faber |
Faber | Shutting down
Faber | 2019-08-13 20:45:54,018 aries_cloudagent.commands.start ERROR Exception during startup:
Faber | Traceback (most recent call last):
Faber | File "/home/indy/aries_cloudagent/commands/start.py", line 66, in init
Faber | await startup
Faber | File "/home/indy/aries_cloudagent/commands/start.py", line 22, in start_app
Faber | await conductor.start()
Faber | File "/home/indy/aries_cloudagent/conductor.py", line 148, in start
Faber | await ledger_config(context, public_did)
Faber | File "/home/indy/aries_cloudagent/config/ledger.py", line 79, in ledger_config
Faber | taa_info = await ledger.get_txn_author_agreement()
Faber | File "/home/indy/aries_cloudagent/ledger/indy.py", line 569, in get_txn_author_agreement
Faber | self.taa_cache = await self.fetch_txn_author_agreement()
Faber | File "/home/indy/aries_cloudagent/ledger/indy.py", line 579, in fetch_txn_author_agreement
Faber | response_json = await self._submit(get_aml_req, sign=bool(did_info))
Faber | File "/home/indy/aries_cloudagent/ledger/indy.py", line 253, in _submit
Faber | f"Ledger rejected transaction request: {request_result['reason']}"
Faber | aries_cloudagent.ledger.error.LedgerTransactionError: Ledger rejected transaction request: client request invalid: InvalidClientRequest('invalid type: 7',)
Traceback (most recent call last):
File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/indy/demo/runners/faber.py", line 250, in
asyncio.get_event_loop().run_until_complete(main(args.port, args.timing))
File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "/home/indy/demo/runners/faber.py", line 119, in main
await agent.start_process()
File "/home/indy/demo/runners/support/agent.py", line 290, in start_process
await self.detect_process()
File "/home/indy/demo/runners/support/agent.py", line 385, in detect_process
+ f"Admin URL: {swagger_url}"
Exception: Timed out waiting for agent process to start. Admin URL: http://172.17.0.1:8021/api/docs/swagger.json

@swcurran
Copy link
Contributor

Hi @muhammadusman93

Could you please provide a bit more information about your local environment? Helpful info would be OS you are using, and the commands you have run to set up your environment and start the demo.

We'll take a look at where your run timed out.

@swcurran
Copy link
Contributor

Looks like the timeout occurred with a first call to the ledger (could be ledger not configured properly) and is related to the new Transaction Author Agreement (TAA) that was just added to Indy and ACA-Py. Perhaps the instance of the ledger you are using does not support the TAA. Either way, I'd be looking at what ledger you are using, how you started it, and how the Faber agent was told where the ledger is to be found.

@muhammadusman93
Copy link
Author

muhammadusman93 commented Aug 14, 2019 via email

@andrewwhitehead
Copy link
Contributor

Try running git pull and ./manage build in the von-network directory and restarting it. The latest release is on indy-node 1.9 and supports TAA.

@swcurran
Copy link
Contributor

Closing this issue. Let us know if this is still an issue of concern and if the suggested solution did not work.

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

3 participants