Closed zbbgit closed 2 years ago
when i add revocation function, error occurred when run command , how to solve and give some suggestion,THX~~
myorg-agent_1 | 2020-09-02 09:38:18,537 aries_cloudagent.core.dispatcher ERROR Handler error: revocation_create_registry myorg-agent_1 | Traceback (most recent call last): myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/revocation/routes.py", line 100, in revocation_create_registry myorg-agent_1 | tag_query={"cred_def_id": credential_definition_id}, myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/base.py", line 242, in fetch_all myorg-agent_1 | async for record in self: myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/base.py", line 279, in anext myorg-agent_1 | await self.open() myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/indy.py", line 325, in open myorg-agent_1 | self.store.wallet.handle, self.type_filter, query_json, options_json myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/indy/non_secrets.py", line 376, in open_wallet_search myorg-agent_1 | open_wallet_search.cb) myorg-agent_1 | indy.error.WalletQueryError myorg-agent_1 | 2020-09-02 09:38:18,543 aiohttp.server ERROR Error handling request myorg-agent_1 | Traceback (most recent call last): myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 418, in start myorg-agent_1 | resp = await task myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/web_app.py", line 458, in _handle myorg-agent_1 | resp = await handler(request) myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 119, in impl myorg-agent_1 | return await handler(request) myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/admin/server.py", line 187, in apply_limiter myorg-agent_1 | return await task myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/revocation/routes.py", line 100, in revocation_create_registry myorg-agent_1 | tag_query={"cred_def_id": credential_definition_id}, myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/base.py", line 242, in fetch_all myorg-agent_1 | async for record in self: myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/base.py", line 279, in anext myorg-agent_1 | await self.open() myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/indy.py", line 325, in open myorg-agent_1 | self.store.wallet.handle, self.type_filter, query_json, options_json myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/indy/non_secrets.py", line 376, in open_wallet_search myorg-agent_1 | open_wallet_search.cb) myorg-agent_1 | indy.error.WalletQueryError myorg-controller_1 | Exception in thread Thread-1: myorg-controller_1 | Traceback (most recent call last): myorg-controller_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/threading.py", line 916, in _bootstrap_inner myorg-controller_1 | self.run() myorg-controller_1 | File "/home/indy/src/issuer.py", line 261, in run myorg-controller_1 | create_and_publish_revocation_registry(self, credential_definition_id, 1000,agent_admin_url, public_tails_url ) myorg-controller_1 | File "/home/indy/src/issuer.py", line 98, in create_and_publish_revocation_registry myorg-controller_1 | revoc_response.raise_for_status() myorg-controller_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/requests/models.py", line 941, in raise_for_status myorg-controller_1 | raise HTTPError(http_error_msg, response=self) myorg-controller_1 | requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://172.24.205.88:8034/revocation/create-registry
when i add revocation function, error occurred when run command , how to solve and give some suggestion,THX~~
myorg-agent_1 | 2020-09-02 09:38:18,537 aries_cloudagent.core.dispatcher ERROR Handler error: revocation_create_registry myorg-agent_1 | Traceback (most recent call last): myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/revocation/routes.py", line 100, in revocation_create_registry myorg-agent_1 | tag_query={"cred_def_id": credential_definition_id}, myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/base.py", line 242, in fetch_all myorg-agent_1 | async for record in self: myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/base.py", line 279, in anext myorg-agent_1 | await self.open() myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/indy.py", line 325, in open myorg-agent_1 | self.store.wallet.handle, self.type_filter, query_json, options_json myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/indy/non_secrets.py", line 376, in open_wallet_search myorg-agent_1 | open_wallet_search.cb) myorg-agent_1 | indy.error.WalletQueryError myorg-agent_1 | 2020-09-02 09:38:18,543 aiohttp.server ERROR Error handling request myorg-agent_1 | Traceback (most recent call last): myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 418, in start myorg-agent_1 | resp = await task myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/web_app.py", line 458, in _handle myorg-agent_1 | resp = await handler(request) myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 119, in impl myorg-agent_1 | return await handler(request) myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/admin/server.py", line 187, in apply_limiter myorg-agent_1 | return await task myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/revocation/routes.py", line 100, in revocation_create_registry myorg-agent_1 | tag_query={"cred_def_id": credential_definition_id}, myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/base.py", line 242, in fetch_all myorg-agent_1 | async for record in self: myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/base.py", line 279, in anext myorg-agent_1 | await self.open() myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/aries_cloudagent/storage/indy.py", line 325, in open myorg-agent_1 | self.store.wallet.handle, self.type_filter, query_json, options_json myorg-agent_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/indy/non_secrets.py", line 376, in open_wallet_search myorg-agent_1 | open_wallet_search.cb) myorg-agent_1 | indy.error.WalletQueryError myorg-controller_1 | Exception in thread Thread-1: myorg-controller_1 | Traceback (most recent call last): myorg-controller_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/threading.py", line 916, in _bootstrap_inner myorg-controller_1 | self.run() myorg-controller_1 | File "/home/indy/src/issuer.py", line 261, in run myorg-controller_1 | create_and_publish_revocation_registry(self, credential_definition_id, 1000,agent_admin_url, public_tails_url ) myorg-controller_1 | File "/home/indy/src/issuer.py", line 98, in create_and_publish_revocation_registry myorg-controller_1 | revoc_response.raise_for_status() myorg-controller_1 | File "/home/indy/.pyenv/versions/3.6.9/lib/python3.6/site-packages/requests/models.py", line 941, in raise_for_status myorg-controller_1 | raise HTTPError(http_error_msg, response=self) myorg-controller_1 | requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http://172.24.205.88:8034/revocation/create-registry