I'm using fabric tools provided for composer to deploy fabric network as it deploys 1 peer, 1 orderer, 1 couchdb, & 1 fabric-ca. I am able to install chain code on peer but instantiation fails with following error. I am using command on fabric-peer.
peer chaincode instantiate -o orderer.example.com:7050 -C composerchannel -n test -l node -v 1.0 -c '{"Args":["init","a", "100", "b","200"]}'
Error: could not assemble transaction, err Proposal response was not successful, error code 500, msg failed to execute transaction 83b806a14ec33d47e11950581357cc0ab05ef51dfb53d35c6b9f00eca7a49051: timeout expired while starting chaincode test:1.0 for transaction 83b806a14ec33d47e11950581357cc0ab05ef51dfb53d35c6b9f00eca7a49051
And if I check the logs of orderer I get:
2018-09-01 11:09:16.205 UTC [orderer/common/broadcast] Handle -> WARN 973 Error reading from 172.19.0.14:33674: rpc error: code = Canceled desc = context canceled