Solutions
Archived

Cannot send notification to IIS Policy Agents 3.3.0 and 3.3.1 when SSL offloading is enabled for load balancer

Last updated Jan 5, 2021

The purpose of this article is to provide assistance if OpenAM fails to send notifications to the IIS6 and IIS7 Web Policy Agents 3.3.0 and 3.3.1 with a SendNotificationException: "Send notification failed". This issue occurs when SSL offloading is done at the load balancer, that is, the load balancer is in front of the policy agent.


1 reader recommends this article

Archived

This article has been archived and is no longer maintained by ForgeRock.

Symptoms

The following error is shown in the CoreSystem log:

amComm:02/23/205 08:24:33:557 AM GMT: Thread[amSession,5,main] ERROR: Cannot send notification to http://openam.example.com:80/UpdateAgentCacheServlet?shortcircuit=false com.iplanet.services.comm.server.SendNotificationException: Send notification failed. at com.iplanet.services.comm.server.NotificationSender.run(NotificationSender.java:97) at com.iplanet.services.comm.server.PLLServer.send(PLLServer.java:69) at com.iplanet.dpro.session.service.SessionService$SessionNotificationSender.run(SessionService.java:2504) at com.iplanet.am.util.ThreadPool$WorkerThread.run(ThreadPool.java:306)

The following error is shown in the amAgent log (when logging level is set to Message or ALL) indicating that the notification URL is incorrect:

2015-02-23 08:24:12.812 MaxDebug 1928:1ec6da0 all: am_web_is_notification(): https://example.com:443/UpdateAgentCacheServlet?shortcircuit=false is not notification url http://openam.example.com:80/UpdateAgentCacheServlet?shortcircuit=false.

Recent Changes

Enabled SSL offloading at the load balancer.

Causes

The com.sun.identity.agents.config.override.notification.url property is ignored by the IIS6 and IIS7 Web policy agents, which causes the notification URL to be overridden regardless of this setting. Additionally, the notification URL is incorrectly changed by the Web policy agent, which causes the notifications to fail.

Solution

This issue can be resolved by upgrading to Web Policy Agents 3.3.2 or later; you can download this from BackStage.

See Also

How do I enable debug logging for troubleshooting Agents (All versions)?

Related Training

N/A

Related Issue Tracker IDs

OPENAM-3375 (IIS6 notification mode does not work if SSL offloading is done at a loadbalancer)


Copyright and Trademarks Copyright © 2021 ForgeRock, all rights reserved.