Integration Broker error: Cannot establish HTTP connection

I have been fighting with this error message:

IB Error: Cannot  establish HTTP connection

Here’s the text of the message:

Cannot establish HTTP connection (158, 2842)

Can be cause by any of the following:
1. Cannot load certificates due to keystore password (not encrypted)
2. Keystore file not found
3. Proxy server not configured

Finding IB Logging

One thing I found was the error log thanks to the PeopleSoft wiki.  The wiki has a very good article on Integration Broker Logging.

For me, the logs where located at:

  • http://skphcm90/PSIGW/errorLog.html
  • http://skphcm90/PSIGW/msgLog.html

On the Advanced Properties page, I adjusted the ig.log.level from 2 to 5:

IB Setting Log Level

While that was a good tip to learn, that didn’t really help me.  It didn’t produce any extra information.

Finding a Solution

I actually found my solution on Oracle support in article [ID 1270683.1].

The fix is back on the Advanced Gateway Properties.  Go to PeopleTools > Integration Broker > Configuration > Gateways and click on the Gateway Setup Properties.

Gateway Properties

After logging in, click on the Advanced Properties Page link:

Advanced Properties Page

Then, find the secureFileKeystorePasswd option and copy the password down to the Password Encryption box.  Next, click the Encrypt button to get your encrypted version.

Copying password for IB

Finally, copy the encrypted version back up to the setting.

Applying Encrypted Password

Click OK, and exit out of the Gateway setup saving along the way.  Now, your error should be fixed!

11 thoughts on “Integration Broker error: Cannot establish HTTP connection

  1. Good to see I’m not alone to have been faced to this error 🙂
    Well, I probably have to read more carefully the Peopletools installation doc :
    => Understanding PeopleSoft Pure Internet Architecture
    “Important! For PeopleSoft PeopleTools 8.50 and higher, review the section on security properties for
    Integration Gateway. When setting the properties in the integrationGateways.properties file, the property
    secureFileKeystorePasswd must be encrypted, and the secureFileKeystorePath must be set.” – page 355.
    Anyway, thanks for that.

    Nicolas.

  2. Nice write-up. One thing that confuses me is why the keystore password is “password”. Can’t that be changed somewhere? That is, it’s not the user id/password that we specify for the node.

    Thanks,

    Paul

  3. I haven’t experimented with creating a new keystore or changing the password.

    I think you could create a new keystore with
    pskeystore -create
    http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCQQFjAA&url=http%3A%2F%2Fdocs.oracle.com%2Fcd%2FE11223_01%2Fdoc.910%2Fe11205%2Fapp_config.htm&ei=32qYT5_mJIKG8QSRiLzhBQ&usg=AFQjCNHpLxmLgcm-cUcucnEcuzci7cfG4w

    I found on this link that there is a -changepassword option that might do what you want:
    http://sphoot.blogspot.com/2008/12/configuring-ssl.html

  4. Still didn’t work. Had to run pskeymanager.sh -list in piabin for unix and after giving changed password in secureFileKeystorePasswd option again it worked.

    Hope it helps.

Leave a Reply to digitaleagle Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.