GRPC received message is set to default when launching external chaincode in 2.2 #4802
Unanswered
ChrisBampis
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I m using HLF v2.2 and external chaincode as a service. After a lot of debugging I have realised that the cc launcher of the peer is limiting the received message to 4 MB. This is the default value set from the @grpc/grpc-js package export const DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH = 4 * 1024 * 1024; . When executing a large query I get the chaincode stream terminated.
I have tested the behaviour with IBP peer images and fabric images of v2.2. Has anyone run into this issue before?
Beta Was this translation helpful? Give feedback.
All reactions