PVWA: The page was not displayed because the request entity is too large

PVWA: The page was not displayed because the request entity is too large

111
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 12:57 PM


Symptom


When performing certain tasks an error stating: The page was not displayed because the request entity is too large

These include:
1. Searching an account.

2. Doing a blank search and hitting enter.

3. When a password change going on in an account and the account is refreshed manually 
 


Environment


10.5;10.10;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access PVWA

Cause


If client certificates are enabled on a Web server, Web site, or on individual directories or files on the site, clients might see an HTTP 413 error when uploading large files.

If a client sends a long HTTP request, for example, a POST request the IIS worker process might receive enough data to parse request headers, but not receive the entire request entity body. When the IIS worker process detects that client certificates are required to return data to the client, IIS attempts to renegotiate the client connection. However, the client cannot renegotiate the connection because it is waiting to send the remaining request data to IIS.
 


Resolution


Backup 'applicationHost.config' (default location is at 'C:\Windows\System32\inetsrv\config') 
Open command prompt as an administrator user (right click it and choose 'Run as Administrator') 
Navigate to 'appcmd.exe' location (default is 'C:\Windows\System32\inetsrv') 
Execute the command:

appcmd.exe set config -section:system.webserver/serverruntime /uploadreadaheadsize:1048576 /commit:apphost


Restart IIS for changes to apply
 



Additional Information


Details

SYMPTOM:

When performing certain tasks an error stating: The page was not displayed because the request entity is too large

These include:
1. Searching an account.

2. Doing a blank search and hitting enter.

3. When a password change going on in an account and the account is refreshed manually 

PROBLEM:

If client certificates are enabled on a Web server, Web site, or on individual directories or files on the site, clients might see an HTTP 413 error when uploading large files.


If a client sends a long HTTP request, for example, a POST request the IIS worker process might receive enough data to parse request headers, but not receive the entire request entity body. When the IIS worker process detects that client certificates are required to return data to the client, IIS attempts to renegotiate the client connection. However, the client cannot renegotiate the connection because it is waiting to send the remaining request data to IIS.


SOLUTION:
  1. Backup 'applicationHost.config' (default location is at 'C:\Windows\System32\inetsrv\config') 
  2. Open command prompt as an administrator user (right click it and choose 'Run as Administrator') 
  3. Navigate to 'appcmd.exe' location (default is 'C:\Windows\System32\inetsrv') 
  4. Execute the command:
    appcmd.exe set config -section:system.webserver/serverruntime /uploadreadaheadsize:1048576 /commit:apphost 
  5. Restart IIS for changes to apply
Note: this has worked in Windows 2008 R2




Actions
  • Print
  • Copy Link

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