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”
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
I stopped the attack by blocking http requests using the digital ocean control panel firewall
Hello,
You need to make sure that your PHP 7.2 FPM service is running.
Hope that this helps!
Issue resolved itself after a while - could have been I overloaded the service clicking save too many times on a resource heavy builder I’m using
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.