I have been fighting with this error message:
![IB Error: Cannot establish HTTP connection IB Error: Cannot establish HTTP connection](https://i0.wp.com/psst0101.digitaleagle.net/wp-content/uploads/2011/10/Selection_636.png?resize=466%2C225)
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 IB Setting Log Level](https://i0.wp.com/psst0101.digitaleagle.net/wp-content/uploads/2011/10/Selection_638.png?resize=625%2C541)
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 Gateway Properties](https://i0.wp.com/psst0101.digitaleagle.net/wp-content/uploads/2011/10/Selection_639.png?resize=640%2C252)
After logging in, click on the Advanced Properties Page link:
![Advanced Properties Page for IB Gateway Advanced Properties Page](https://i0.wp.com/psst0101.digitaleagle.net/wp-content/uploads/2011/10/Selection_640.png?resize=376%2C171)
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 Copying password for IB](https://i0.wp.com/psst0101.digitaleagle.net/wp-content/uploads/2011/10/Selection_641.png?resize=516%2C453)
Finally, copy the encrypted version back up to the setting.
![Applying Encrypted Password Applying Encrypted Password](https://i0.wp.com/psst0101.digitaleagle.net/wp-content/uploads/2011/10/Selection_642.png?resize=513%2C314)
Click OK, and exit out of the Gateway setup saving along the way. Now, your error should be fixed!