I got 502 bad gateway same issue on php7.4-fpm:
*3459 recv() failed (104: Connection reset by peer) while reading response
header from upstream, client: {ip address}, server: {xxx.zzz.com}, request: "GET /xxx/yyy HTTP/1.1", up
stream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "{xxx.zzz.com}"
I run this server on google cloud VM instance nginx env. Please let me know how can I fix this issue. Thank you