-
Notifications
You must be signed in to change notification settings - Fork 516
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
Comments
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. |
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. |
I am using Linux OS. I am running everything locally on my linux machine. I
first started the VON Network as mentioned in the guidline. I then did
./run_demo faber and ./run_demo alice
…On Wed, Aug 14, 2019 at 3:03 AM Stephen Curran ***@***.***> wrote:
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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#139>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHQQSAGRSVYTS3OXWJRESEDQEMVRXANCNFSM4ILOUUNA>
.
|
Try running |
Closing this issue. Let us know if this is still an issue of concern and if the suggested solution did not work. |
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
The text was updated successfully, but these errors were encountered: