Q:

Smart contract upgrade timeout on hyperledger fabric

When upgrading a smart contract the following error occurs: 
Failed to invoke chaincode name:"lscc", error: timeout expired while starting chaincode couponcontract:8 for transaction
As this is an lscc error could anyone help on how to debug or identify what is causing it to break?

API version:
"dependencies": {
        "fabric-contract-api": "~1.4.0",
        "fabric-shim": "~1.4.0"
    },
Environment:
aws t2.micro

A:

I've found the problem.
As the hole network was installed in the same t2.micro instance, the process was consuming all the CPU when upgrading a contract. So, it was breaking duo the time elapsed was causing a timeout.
I changed it to a t2.Medium(2 cpu) and now it is working like a charm!!

