Question
Nginx bad gateway
Hi all,
Getting a 502 error on my Wordpress droplet. Checked the nginx log -
root@ubuntuplayhouse:/etc/nginx/sites-available# sudo tail -30 /var/log/nginx/error.log
2019/06/19 19:50:52 [error] 1121#1121: *1932 connect() to unix:/var/run/php/php7.2-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client: 109.248.11.190, server: , request: “POST /xmlrpc.php HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php/php7.2-fpm.sock:”, host: “138.197.167.76”
2019/06/19 19:50:53 [error] 1121#1121: *1935 connect() to unix:/var/run/php/php7.2-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client: 109.248.11.65, server: , request: “POST /xmlrpc.php HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php/php7.2-fpm.sock:”, host: “138.197.167.76”
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Hmm. Issue has cropped up again, PHP is running. I’ve tried killing php processes, restarting php, restarting the droplet etc. Any ideas?
https://www.abuseipdb.com/check/109.248.11.65
I guess this is actually just a brute force attack.