Cannot publish a site with WPB for cPanel: "Can't receive authorization to work with the host"

Created:

2016-11-16 12:53:29 UTC

Modified:

2017-08-16 17:38:40 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Cannot publish a site with WPB for cPanel: "Can't receive authorization to work with the host"

Applicable to:

  • Web Presence Builder for Linux

Symptoms

The site is not published while being logged in to end-user's cPanel (11.42.0.23 or higher) from admin " WebHost Manager (WHM) ". The following error appears in editor:

The site cannot be published to the specified location

Also the error below appears in sitebuilder.log :

2014-03-25T01:18:44+02:00       [EMERG] /JsonApi/       SB_Site_Compiler_Target_AuthoriseException:     Can't receive authorization to work with the host 'domain.tld' with login 'end-user'
file: /usr/local/sb/include/SB/Site/Compiler/Target/FTP.php
line: 181
code: 0 10.10.10.10 http://10.10.10.11/Editor Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36

Cause

The root cause of this is that in this case some parameters, particularly FTP passwords, are not propagated from " WHM " to cPanel.

Resolution

Make sure that you are logged in to cPanel as a customer, and that you did not use the option to log in to cPanel from WHM > Account Information > List Accounts .

Related Articles

Troubleshooting Integration Issues

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