Help with connection reset by peer on WordPress site.

  • Posted on December 19, 2014
  • Dani7Asked by Dani7


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.

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.