composer network ping --card admin@blockchaingrades-network Error: Error trying to ping. Error: Composer runtime (0.19.13) is not compatible with client (0.20.0) Command failed
相关问题
- chaincode in hyperledger composer vs chaincode in
- How to get timestamp when transaction is committed
- Instantiating Chaincode in Hyperledger Composer wi
- How to deploy Hyperledger Composer to “Azure Hyper
- Hyperledger-Composer: Issuing identity using REST-
相关文章
- Does Composer needs an already built Fabric networ
- Error: Cannot find module './api' (Hyperle
- how to access the 'eventEmitted' field in
- Hyperledger Composer - ACL Rule with function in c
- Get Count of assets in HyperLedger Composer Query?
- Hyperledger composer network install
- Getting timestamps in deterministic way in Hyperle
- is there any size limit for pdf in hyperledger fab
As your error says you are using the composer client version 0.20.0 that is incompatible with your composer runtime version 0.19.13.
If you run
composer -v
you will see v0.20.0A solution is to uninstall the version 0.20.0 of your client and to reinstall the client 0.19.13. You can do this with the following commands:
Worked for me (same error with client version 0.19.15 and runtime version 0.19.12)
either downgrade your composer-rest-server version to version 0.19.13 (npm install -g composer-cli@0.19.13) or update your composer-cli version to version 0.20.0 (npm install -g composer-rest-server@0.20)
upgrading runtime to 0.20.0 may not be enough. I faced the same situation - i upgraded everything to 0.20.0 version but i still had this error. What worked for me was i had to delete all docker containers with command with command:
then i run startFabric.sh script, created archive, installed and started network, imported card and pinged network to check if it works. I recommend you to use stopFabric --> teardownFabric --> teardownAllDocker scripts then remove docker containers with command above, (you can also reset docker with
systemctl restart docker
command and then start everything again. In my case it helped.