Help with connection reset by peer on WordPress site.

Posted December 19, 2014 11.4k views


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=bootstrap&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.


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.

Submit an Answer
1 answer