Saturday, August 2, 2014

Integration Broker error: Cannot establish HTTP connection

When Integration Broker loads integration gateway target connectors, the gateway's web server tries to access the keystore using the parameters defined in the integrationgateway.properties file.The issue is caused when secureFileKeystorePasswd value not being encrypted in the integrationgateway.properties file, leading to Integration Broker (IB) not being able to access  the certificate keystore on the gateway/web server hosting the gateway.

The secureFileKeystorePasswd value has to be encrypted. This is a new requirement starting from Peopletools 8.50 and the Integration Broker PeopleBooks documents that this secureFileKeystorePasswd must be encrypted.

In pre PT 8.50,
secureFileKeystorePath=
secureFileKeystorePasswd=password 


In PT8.50 or above,

secureFileKeystorePath=
secureFileKeystorePasswd=


If either the or the password (unencrypted) or  in PT8.50 is incorrect, loading the gateway target connectors will fail with one of the below error:

HttptargetConnector:PSHttpFactory init or setCertificate fails (158,99999). 
Cannot establish HTTP connection (158,2842).

The following steps will resolve the error:

1) Navigate to the gateway's page via PIA browser.

2) Access and open the integrationgateway.properties file.

3) Scroll down to the line secureFileKeystorePasswd=password

4) Encrypted the password using the pscipher encryption utility available at the bottom on this PIA page.

5) Place the encrypted password value for secureFileKeystorePasswd parameter.

6) Save the file and the gateways page.

7) Reboot the webserver.

Above specified resolution will resolve the below errors:

HttptargetConnector:PSHttpFactory init or setCertificate fails (158,99999).
Cannot establish HTTP connection (158,2842).

 

No comments:

Post a Comment