Reputation: 1473
I have connected the backend(cloud run) and frontend(cloud run) with a GCP load balancer, when I try to update a video file of size > 50Mb via backend API to google cloud storage, I am below getting, is there a way to increase the payload size??
Error: Request Entity Too Large
Your client issued a request that was too large.
when we had the same issue with the Nginx setup instead of the load balancer I used the client_max_body_size parameter to increase the size. Is there any parameter to increase client_max_body_size in GCP load balancer or cloud run
I ended up using multi-part upload https://cloud.google.com/storage/docs/xml-api/post-object-complete
Upvotes: 1
Views: 1545
Reputation: 81454
The maximum HTTP/1 payload size is 32 MB which includes HTTP headers. This limit cannot be changed.
When Cloud Run was first released, only HTTP/1 was supported. In June 2021, HTTP/2 GA support was added.
There is no limit for HTTP/2. link.
Upvotes: 0
Reputation: 1
Based on the documentation the limit is 64 KB. Request url and header
https://cloud.google.com/load-balancing/docs/quotas#https-lb-header-limits
Upvotes: 0