Friday, October 6, 2023

Unable to invoke method HTTPClient.HTTPResponse.listHeaders caused by: java.net.SocketTimeoutException: Read timed out

R12.2 EBS Workflow mails are not sending to any users email address and all the workflow services are running fine.

Cause:


UNEXPECTED:[SVC-GSM-WFMLRSVC-1832203-10006 : oracle.apps.fnd.wf.mailer.NotificationFormatter.handleResEndTag]:Problem obtaining the HTML content oracle.apps.fnd.wf.common.HTTPClientException: Unable to invoke method HTTPClient.HTTPResponse.listHeaders 
caused by: java.net.SocketTimeoutException: Read timed out

Workaround:

- tried to restart the workflow mailer service from Workflow administrators as sysadmin user.
- Tested the inbound and SMTP test connection through EBS application and there is no issue.
- Disabled Inbound settings and tried to save the settings only with SMTP but no luck.

Solution:

The Mailer parameter "Framework URL timeout" [FRAMEWORK_URL_TIMEOUT] should be
increased from default of 30 sec. to 120 sec. using $FND_TOP/sql/afsvcpup.sql.

After the change, Restart the Notification Mailer Service:
OAM-> Dashboard->Workflow Manager->Notification Mailers -> Select the Mailer to restart.

Reference: Oracle Doc: ID 602971.1

No comments:

Post a Comment