Support Article
issue with load balancer healthcheck
SA-22264
Summary
The load balancer health check is not working. User has followed details in (https://pdn.pega.com/support-articles/load-balancer-not-probing-pega-application-urls) and tried setting a user-agent, which failed.
Error Messages
[0m[0m16:00:54,949 STDOUT [stdout] (Dispatcher-Thread-78) 2016-03-24 16:00:54,948 [-/IP ADDRESS:8443-3] [ STANDARD] [ ] [CCISecurity:01.01.01] (ngineinterface.service.HttpAPI) ERROR IP ADDRESS|IP ADDRESS- IP ADDRESS: java.lang.NullPointerException
java.lang.NullPointerException
Steps to Reproduce
Leave healthcheck as /prweb.
Root Cause
User authentication credentials have not been provided as query string parameters in URL to invoke the PRPC probe activity.
Resolution
User authentication credentials must be provided as query string parameters in URL to invoke the PRPC probe activity.
1. Ensure that the "Allow direct invocation from client or a service" checkbox has been checked in the Security tab of the custom probe activity rule.
2. Pass the user authentication credentials as query string parameters (pzAuth, UserIdentifier and Password) to invoke the PRPC probe activity. See sample URL format below -
http://<HOSTNAME>:<PORT>/prweb/PRServlet?pyActivity=MyClass.MyActivity&pzAuth=MyApp:AdminAccessGroup&UserIdentifier=MyUser&Password=[base64_encoded_password]
Published April 29, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.