My Oracle Support Banner

E-AE/PC/APPSRV: Custom Java Code Using HTTPS Connections May Fail Intermittently With an HTTP 401 or SSL Connection Error (Doc ID 2804731.1)

Last updated on SEPTEMBER 08, 2021

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.50 and later
Information in this document applies to any platform.


A site uses a custom Java program to send data to a 3rd party via https URL from an application engine program or PIA Page Event code. When the custom AE/Java program is run, intermittently one of the errors below is seen in the application engine log file.

HTTP 401 error Unauthorized


SSL related connection failure or error


Steps to replicate:

1. Write and compile custom Java code that connects to a third party using an https connection (see sample code in the Cause section).

2. Execute the code above from an application engine program or from an online PIA page, and observe one of the errors shown above.





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.