The issue: During a load test with 50 simultaneous connections, everything works perfectly in DNS-only mode. However, when switching to Proxied mode with SSL/TLS enabled, we intermittently get 522 errors.
It appears to match the behavior described in this post:
We've verified: - System file descriptor limits are set to maximum - Disk I/O is not a bottleneck - The server has 32 GB RAM and an 8-core CPU — so resource limits aren’t an issue - CPU load is low - HTTP/2 is enabled - SSL caching is active
Does anyone have ideas on what could be causing this? Any insights would be highly appreciated.