Re: rpc error when installing chaincode


Got resolution from this thread:

@Fabric team,

Is this not a bug ? 
If the packaged tar is not removed, repeated builds are increasing the size of tar, eventually failing with this error.


On Friday, June 24, 2022, 07:19:43 PM GMT+5:30, satheesh via <> wrote:

When installing chaincode in a fabric network, I get below error:

# peer lifecycle chaincode install contract.tar.gz
Error: failed to endorse chaincode install: rpc error: code = ResourceExhausted desc = trying to send message larger than max (122921707 vs. 104857600)

Strangely this happens even after I shutdown my complete vm and created the network from scratch.

Is there anything I am missing ? Any resource issue in the vm ?
Appreciate any pointers.


Join { to automatically receive all group messages.