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

Cannot run setup.js script #28

Open
lucianoacsilva opened this issue Jun 19, 2019 · 3 comments
Open

Cannot run setup.js script #28

lucianoacsilva opened this issue Jun 19, 2019 · 3 comments

Comments

@lucianoacsilva
Copy link

Hello,

When running the script setup.js, I got this error:

Error: Query response error: expected=ACCOUNT_RESPONSE, actual=ERROR_RESPONSE
Reason: {"reason":1,"message":"query signatories did not pass validation","errorCode":3}

I've already initialized Iroha and PostgresSQL DB. Someone knows what could be happening?

@Pobepto
Copy link
Contributor

Pobepto commented Jun 21, 2019

@lucianosilva44 Hi! Did you run iroha and postgresql via docker-compose?

@rockingeric
Copy link

Hello! I have the same issue, I followed Iroha documentation starting Iroha and PostgreSQL via docker run. Could you help me with that? Thank you!

I tried upgrading iroha-helpers to the latest and it didn't help.

This is a part of the output:

INFO

setting up accounts and assets with using '/root/iroha-wallet-js/scripts/wallets.json'
accounts: admin@iroha, alice@iroha
assets: AAAAA, DDDDD, CCCCC, BBBBB

INFO

trying to create an account: alice@iroha
Error: Query response error: expected=ACCOUNT_RESPONSE, actual=ERROR_RESPONSE
Reason: {"reason":1,"message":"query signatories did not pass validation","errorCode":3}
at /root/iroha-wallet-js/node_modules/iroha-helpers/lib/queries/index.js:90:21
at /root/iroha-wallet-js/node_modules/iroha-helpers/lib/queries/index.js:73:7
at Object.onReceiveStatus (/root/iroha-wallet-js/node_modules/grpc/src/client_interceptors.js:1207:9)
at InterceptingListener._callNext (/root/iroha-wallet-js/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/root/iroha-wallet-js/node_modules/grpc/src/client_interceptors.js:618:8)
at callback (/root/iroha-wallet-js/node_modules/grpc/src/client_interceptors.js:845:24)
initializing assets

aaaaa BEGIN

trying to create an asset: aaaaa#iroha (precision=18)
Error: Query response error: expected=ASSET_RESPONSE, actual=ERROR_RESPONSE
Reason: {"reason":1,"message":"query signatories did not pass validation","errorCode":3}
at /root/iroha-wallet-js/node_modules/iroha-helpers/lib/queries/index.js:330:21
at /root/iroha-wallet-js/node_modules/iroha-helpers/lib/queries/index.js:73:7
at Object.onReceiveStatus (/root/iroha-wallet-js/node_modules/grpc/src/client_interceptors.js:1207:9)
at InterceptingListener._callNext (/root/iroha-wallet-js/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/root/iroha-wallet-js/node_modules/grpc/src/client_interceptors.js:618:8)
at callback (/root/iroha-wallet-js/node_modules/grpc/src/client_interceptors.js:845:24)

Thank you!

@consultchwong
Copy link

consultchwong commented Sep 18, 2019

The wrong thing is the [email protected]. This private key depends on your local iroha network. The github one is not the same one as your local one. Try to replace this with your local one. It may be found in /opt/iroha_data.

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

4 participants