Unable to publish website: Read timed out after 10 seconds

Created:

2016-11-16 12:55:05 UTC

Modified:

2017-08-16 16:35:51 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to publish website: Read timed out after 10 seconds

Applicable to:

  • Web Presence Builder for Windows

Symptoms

Unable to publish the website due to the following error:

        Unable to connect to web presence builder server

In "%plesk_dir%\\admin\\logs\\plesklog_sitebuilder.log" the following error appears:

    2016/06/18 10:53:01:982 11512 924 2016-06-18T10:53:01+05:30 [EMERG] /sitebuilder/JsonApi/   Zend_Http_Client_Adapter_Exception: Read timed out after 10 seconds
file: C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Http\\Client\\Adapter\\Socket.php
line: 511
code: 1000

After editing Web Presence Builder configuration file located in %plesk_dir%\sb\config and adding:

[internal]
send_errors = false

The following can be found in %plesk_dir%\\admin\\logs\\plesklog_sitebuilder.log :

168028 57896 2016-09-13T16:25:43+01:00  [EMERG] /sitebuilder/JsonApi/   Symfony\\Component\\Debug\\Exception\\ContextErrorException: Warning: scandir(C:/Program Files (x86)/Parallels/Plesk/sb/htdocs/sites/36/36bcdd63e46ad2a019a096f015f0e018/attachments/builtin/Header/,C:/Program Files (x86)/Parallels/Plesk/sb/htdocs/sites/36/36bcdd63e46ad2a019a096f015f0e018/attachments/builtin/Header/): The system cannot find the file specified. (code: 2)
file: C:\\Program Files (x86)\\Parallels\\Plesk\\sb\\include\\SB\\Site.php
line: 570
code: 0
in C:\\Program Files (x86)\\Parallels\\Plesk\\sb\\include\\SB\\Site.php on line 570
...
#12 at Zend_Controller_Action->dispatch("defaultAction")in C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Dispatcher\\Standard.php on line 295
#13 at Zend_Controller_Dispatcher_Standard->dispatch(object(SB_Controller_Request_Http), object(Zend_Controller_Response_Http))in C:\\Program Files (x86)\\Parallels\\Plesk\\admin\\externals\\Zend\\Controller\\Front.php on line 954
#14 at Zend_Controller_Front->dispatch()in C:\\Program Files (x86)\\Parallels\\Plesk\\sb\\include\\SB\\Application\\Web.php on line 262
#15 at SB_Application_Web::run()in C:\\Program Files (x86)\\Parallels\\Plesk\\sb\\htdocs\\index.php on line 3

Cause

Inconsistency in Web Presence Builder website directory.

Resolution

  • Determine missing directory from the error under scandir() :

        168028 57896 2016-09-13T16:25:43+01:00  [EMERG] /sitebuilder/JsonApi/   Symfony\\Component\\Debug\\Exception\\ContextErrorException: Warning: scandir(C:/Program Files (x86)/Parallels/Plesk/sb/htdocs/sites/36/36bcdd63e46ad2a019a096f015f0e018/attachments/builtin/Header
  • Manually create this directory, in this example: C:/Program Files (x86)/Parallels/Plesk/sb/htdocs/sites/36/36bcdd63e46ad2a019a096f015f0e018/attachments/builtin/Header

Have more questions? Submit a request
Please sign in to leave a comment.