PTA Upgrade Successful- Security Events Page Encounters 500 - 503 Error

PTA Upgrade Successful- Security Events Page Encounters 500 - 503 Error

122
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:54 PM


Symptom


Before Upgrade, PTA-PVWA integration works completely fine, Security Events is able to load successfully.
After Upgrade, the below error appears, the cowboy hat with 503 error:

image.png

Further checks show an error on PVWA.App.log:

2022-12-16 11:30:50,787 ERROR [39] admin123 FE54C cfb89e92-8ecd-4045-8a17-e4ba063625e6 PTA failed to logon. URL [https://ptaserver.domain.com/api/getauthtoken], UserName [PTA_PAS_Gateway]. Reason: [The remote server returned an error: (503) Server Unavailable.]  [CyberArk.PasswordVault.PASWebServices.Utils.PTAUtils]


Environment


Privileged Access Manager (PAM, self-hosted) PTA PTA

Cause


You will need to check the corresponding error in diamond.log, to confirm the exact error before jumping to conclusions. Example below:

"LOG | [2022-12-16|11:30:40.759|SGT] | ERROR | {aid=web} | {sid=} | {rid=} | {tid=https-jsse-nio-8443-exec-10} | com.cyberark.diamond.webapp.controller.GetAuthTokenController.authTokenMetricUpdate(GetAuthTokenController.java:98) - WBS0642E :: eagleslogin controller error.javax.naming.ServiceUnavailableException: Invalid jwt auth secret - Util is disabled"


As it seems, the jwt auth secret is invalid.


Resolution


1. Get into the utility directory, by running the below command in PTA server:

UTILITYDIR

2. Run the JWTAuthSecretPasswordGeneration script, with the command below:
./JWTAuthSecretPasswordGeneration.sh

3. Restart PTA service, with the command below:
service appmgr restart


Example below:
image.png

*Security Events should show up obediently now. 
image.png


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000vBCCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail