Article ID: 115926, created on Apr 11, 2013, last review on May 10, 2014

  • Applies to:
  • Operations Automation

Symptoms


Provider upgraded Parallels Presence Builder (PPB) APS application installed in POA to 11.1.0 or installed it as the first version of application.

A customer cannot install PPB application into their subscription in POA Customer Control Panel, corresponding POA task fails with the error message "Fatal error: Uncaught exception 'WpbApi_HttpException' with message 'Cannot parse response data.'".

More detailed diagnostics of the failed APS task to install WPB 11.1.0 application is provided below:
Task ID 10900757
Queue name      domain_service304641
Task name       APS application 'Parallels Presence Builder', id 121, instance 3261 : executing configuration script
Task description APS application 'Parallels Presence Builder', id 121, instance 3261 : executing configuration script
Subscription ID 1166013
Queue status    Failed
Start not earlier than  April 08, 2013 20:11
Method name     taskExecuteInstanceControlCommand on SCREF:apache:0
Last execution output   
Script execution failed: executing '/usr/bin/php-cgi -d open_basedir= -q configure.php' for APS application instance with id 3261 returned value '255' with output '<font color=ff0000>
Fatal error: Uncaught exception 'WpbApi_HttpException' with message 'Cannot parse response data.' in /usr/local/pem/vhosts/277344/webspace/siteapps/ParallelsPresenceBuilder-3261/scripts/include/WpbApi.php:248
Stack trace:
#0 /usr/local/pem/vhosts/277344/webspace/siteapps/ParallelsPresenceBuilder-3261/scripts/include/WpbApi.php(248): WpbApi::_makeHttpException()
#1 /usr/local/pem/vhosts/277344/webspace/siteapps/ParallelsPresenceBuilder-3261/scripts/include/WpbApi.php(165): WpbApi->_makeHttpException()
#2 /usr/local/pem/vhosts/277344/webspace/siteapps/ParallelsPresenceBuilder-3261/scripts/include/ApsConnector/Configurator.php(93): WpbApi->requestToApi()
#3 /usr/local/pem/vhosts/277344/webspace/siteapps/ParallelsPresenceBuilder-3261/scripts/include/ApsConnector/Configurator.php(39): ApsConnector_Configurator->_installCommand()
#4 /usr/local/pem/vhosts/277344/webspace/siteapps/ParallelsPresenceBuilder-3261/scripts/configure.php(20): ApsConnector_Configurator->run()
#5 {main}
thrown in /usr/local/pem/vhosts/277344/webspace/siteapps/ParallelsPresenceBuilder-3261/scripts/include/WpbApi.php on line 248 </font>' and errors ''.

Cause


The reason of the problem is that the zlib.output_compression option is enabled in the PHP configuration file php.ini on the server where the Parallels Presence Builder for PA APS application is installed (so called Centralized PPB Instance):
zlib.output_compression = On
If the mentioned above option is enabled PPB application being installed in a customer subscription sends request to the main (centralized) PPB application, receives response compressed by 'gzip' and cannot parse it correctly.

Resolution


The problem will be solved in the future updates to the Parallels Presence Builder APS application.

In the time being disable the zlib.output_compression option in the PHP configuration file on the host where the 'Parallels Presence Builder for PA' APS application is installed (Centralized Instance of PPB).

Find the server where the
'Parallels Presence Builder for PA' APS application is installed in the POA Provider Hosting Control Panel - click the 'Hosting CP' link in POA Provider Control Panel.
On the 'Applications' tab find and click on the installed instance of the
'Parallels Presence Builder for PA' APS application
In the properties of the installed application instance click the 'General' link
Find the URL to the PPB in the '
URL of Parallels Presence Builder for PA' parameter:



Log into the server where the website shown above is hosted and disable the
zlib.output_compression option in the PHP configuration file php.ini.

Run the following command on the server to find the proper php.ini file and look for the '
Loaded Configuration File' value:
# sw-engine-cgi -i |grep -i php.ini
<tr><td class="e">Configuration File (php.ini) Path </td><td class="v">/usr/lib64 </td></tr>
<tr><td class="e">Loaded Configuration File </td><td class="v">/etc/php.ini </td></tr>

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF