Application load balancer fails to upload large file

amazon-albamazon-web-services

I have a bit of a problem.
I have a php larvel application that sits on a ec2 linux instance behind an application load balancer.

When I try to upload a large file the process fails with no error no where.
I have set the idle timeout to 2000 – thats no it.

I have switched on the same server to a classic load balancer and it works with no problem.

I a very sorry that I have no additional data to provide, but maybe someone knows why would a ALB fail a large post request?

Best Answer

For the benefit of future seekers The problem was that http/2 was on in application load balancer. The application didn't know to parse the data correctly and was passing trough an empty response. The function was written so so, and only checked if it has some value in the array - it looked like it was ended successfully.

Related Topic