Article ID: 128825, created on May 12, 2016, last review on May 12, 2016

  • Applies to:
  • Plesk Automation 11.5


Unable to remove/create a webspace. The following error messages are registered in /var/log/sw-engine/error.log:

2015/06/05 12:11:22 [error] 651#0: *227679 recv() failed (104: Connection reset by peer) while reading response header from upstream, client:, server: , request: "POST /enterprise/control/agent.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: ""

During task execution the errors like below are written to the /usr/local/psa/admin/logs/panel.log file with enabled debugging in the /usr/local/psa/admin/conf/panel.ini:

2015-06-06T00:53:23+07:00 DEBUG (7)  [panel]: 0, script = sappmng, version = 1.0, args=--delete-application --application-full-name=file:////usr/local/psa/var/apscache/data-GGgZfG 
Www root directory /var/www/vhosts/ does not exist


The httpdocs directory was manually removed prior to deleting the webspace.


Create missing httpdocs directory in the virtual host directory /var/www/vhosts/ (where is the webspace name) and re-run the failed task.

Search Words

Failed to remove webspace

delete subcription was cancelled

cant delete domain bad gateway

502 Bad Gateway

running task with error 502 connection

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF