Getting 522 errors when acessing website behind AWS ALB

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!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.