CPM Discovery Scan stops after upgrade to v12.x. All scans in "Pending" state

CPM Discovery Scan stops after upgrade to v12.x. All scans in "Pending" state

108
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM


Symptom


CPM has stopped doing discovery scans. All new scans are in "Pending" state. Service is running but discovery does not start.
PVWA logs contain the following error:

EPVDL005E Application Error! Page=[https://{server}/PasswordVault/signalr/negotiate?clientProtocol=1.4&connectionData=[{"Name":"CPMAccessHub"},{"Name":"EPVTasksHub"}]] Error=[Object reference not set to an instance of an object.] Stack Trace=[ at Microsoft.Owin.Mapping.MapMiddleware.<Invoke>d__0.MoveNext()
 



Environment


12.0;12.1;12.2 Password Vault Web Access Networking & Connectivity

Cause


Some lines are missing from the web.config file on the PVWA



Resolution


Make sure the following lines are present in web.config and add them if they are missing.

 

In <runtime> section:-

 

 <dependentAssembly>

    <assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />

    <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />

   </dependentAssembly>

   <dependentAssembly>

    <assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />

    <bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />

   </dependentAssembly>

 

In <configuration> - <configSections>:-

 

<section name="APIThrottling" type="System.Configuration.NameValueSectionHandler" />

 

At the end of the file before the final </ configuration> statement:-

 

<APIThrottling>

 </APIThrottling>


NOTE: The APIThrottling tag cannot be closed on a single line self-closing tag such as:

<APIThrottling />

This will cause jobs to be stuck in Pending as well.


After changes have been made, restart the w3 services via services or in powershell via iisreset



Actions
  • Print
  • Copy Link

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