Absent Member.. JasonCantrell Absent Member..
Absent Member..
73 views

[OO Tip] Running flow via Load Balancer returns "502 Proxy Error"

Problem:

 

Using Operations Orchestration (OO) and running the following "wget" via a Load Balancer (LB) returns this error:

2011-12-12 12:43:13 ERROR 502: Proxy Error.

The following "wget" command works if "oo-lb-server" is replaced by Central server's IP or hostname.

wget -t 1 --no-check-certificate --http-user=admin --http-passwd=xxxxxx 'https://oo-lb-server:8443/PAS/services/rest/run/Library/My Ops Flows/testFlow'

 

The cause is that OO LB uses Apache with a default timeout is 300 seconds (5 minutes).

 

Solution:

 

Please add your desired timeout value in httpd.conf or pas.conf,
The default location of OO LB conf files is "%ICONCLUDE_HOME%Clusteringapacheconf"

Because OO LB does not specify TimeOut or ProxyTimeout parameter, using either TimeOut or ProxyTimeout in httpd.conf should extend the timeout.

For example, to extend the timeout to 600 seconds, use one of the following:

1. add "TimeOut 600" in httpd.conf

2. add "ProxyTimeout 600" in httpd.conf

3. add "TimeOut 600" in <VirtualHost *:8443> in pas.conf

4. add "ProxyTimeout 600" in <VirtualHost *:8443> in pas.conf

Note that modifying pas.conf also extends the timeout, however, if cluster-config.jar is used to modify the LB node, the change might be overwritten.

 

Direct link to the documentation here:

http://support.openview.hp.com/selfsolve/document/KM1301756

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Labels (2)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.