Help with connection reset by peer on WordPress site.

  • Posted December 19, 2014


I’ve got this error from NGINX

2014/12/19 14:29:14 [error] 901#0: *147 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: XX.XX.XX.XX, server:, request: “GET /wp-admin/themes.php?action=delete&stylesheet=boot_strap&_wpnonce=89c8625570 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “XXX.XXX.XX.119”, referrer: “http://1XX.1XX.X1.1X9/wp-admin/themes.php?theme=boot_strap

The error happens every time I try to remove either a Theme or a Plugin and it only happens on the remove function. I can install Themes and Plugins without any problem.

WordPress is using SSH2 to connect to the server.

Here is a screen shot of the server block for this website.

Some help would be greatly appreciate even if it is simply a link to a helpful resource that will solve this problem. I’ve been searching all day but with no luck.


Hey, thanks for replying. The PHP-FPM log file is completely empty. (/var/log/php5-fpm.log)

What do the php-fpm logs say about the request?

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.