Getting 522 errors when acessing website behind AWS ALB

522

#1

Hi, we are testing a new feature on our website, and now we use sockets.
Theoretically, all keep alive settings are fine on nginx and php-fpm. The problem is, sometimes the requests wont even reach the server, which I can check through the access log.

These times, we get a 522 errror. The ALB idle timeout is set to 95 seconds. Created a security group with all cloudflare ips too.

Has someone experienced this problem?
Can I use the Ray ID to debug the request? If so, how?

thanks in advance!