#Increasing gRPC message size is not working -- RESOURCE_EXHAUSTED error

2 messages · Page 1 of 1 (latest)

noble garden
#

So it is supper simple yet I am not sure what I am doing wrong since I keep getting an error about the message size: Reproduce it here: https://github.com/kasir-barati/nestjs-materials/tree/main/microservices/grpc#error-message

So I am increasing the message size here: https://github.com/kasir-barati/nestjs-materials/blob/80df43234558a06fd328a481fe413b528853ad1a/microservices/grpc/apps/file-upload/src/main.ts#L29

And I am increasing it where I am creating my client too: https://github.com/kasir-barati/nestjs-materials/blob/80df43234558a06fd328a481fe413b528853ad1a/microservices/grpc/apps/file-upload-e2e/src/file-upload/file-upload.spec.ts#L52

Can somebody says them Why I am getting still Error: 8 RESOURCE_EXHAUSTED: Received message larger than max (5242952 vs 4194304)