PVWA - PVWA regularly disconnecting from System Health
147
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:57 PM
Symptom
PVWA is periodically disconnecting from System Health even though Idira Scheduled Task service is running. The PVWA comes back online when user connects to it, but the customer wants it to always remain as connected when healthy.
Environment
N/A
Cause
The IIS server is listening on a specific IP address instead of the loopback address specified in the CyberArkScheduledTasks.exe.config file
By default the CyberArkScheduledTasks.exe.config file contains the following:-
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="BaseURL" value="https://127.0.0.1/PasswordVault" />
<add key="SchedulerIntervalSec" value="5" />
<add key="EnableTrace" value="false" />
<add key="LogFolder" value="" />
<add key="UseDefaultCredentials" value="true" />
</appSettings>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
</configuration>
<configuration>
<appSettings>
<add key="BaseURL" value="https://127.0.0.1/PasswordVault" />
<add key="SchedulerIntervalSec" value="5" />
<add key="EnableTrace" value="false" />
<add key="LogFolder" value="" />
<add key="UseDefaultCredentials" value="true" />
</appSettings>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
</startup>
</configuration>
The BaseURL is what the CyberArk Scheduled Task service uses to poll the IIS server to keep it alive. When the service polls, messages like these appear in the IIS logs:-
2021-05-13 23:59:39 127.0.0.1 POST /PasswordVault/Services/ScheduledTaskMgt.asmx - 443 - 127.0.0.1 Cyber-Ark+tasks+agent - 200 0 0 78 -
However, if the Default Web Site bindings in IIS are configured to point to a specific IP address as in the image below, the poll will not work and the PVWA will become disconnected from System Health since IIS is not listening on 127.0.0.1
Resolution
This can be resolved in one of two ways:-
- Change the IP address setting in the Default Web Site bindings to 'All unassigned' as shown below:-
- Change the BaseURL parameter in CyberArkScheduledTasks.exe.config to point to the specific IP address rather than the loopback address