You are currently viewing Evolve – Doctype DTD HTML Public-Error 400 The size of the request headers is too long.

Evolve – Doctype DTD HTML Public-Error 400 The size of the request headers is too long.

Description:

The user encounters an error stating “size of the request header is too long.” We have already attempted the following steps: We involved our Windows Core team, who examined the user’s profile in Active Directory (AD) and concluded that the problem stems from Microsoft IIS, which has a relatively low default Maximum Incoming Request Size. To address this, we modified the MaxRequestBytes and MaxFieldLength in the SIT environment, but unfortunately, this did not resolve the issue, despite the problem persisting across all environments.

Error2.jpg

Works with 20x

Solution:

To resolve the error, the following changes should be made on the user’s Local Machine, Evolve Server, and, if applicable, the Citrix Server. After making these modifications, it is important to restart the machines.

  1. Modify the registry key on the Local Machine and Evolve Server:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters

    • MaxFieldLength:

      • Default Value: 16384
      • Recommended Range: 64 to 65534 (64KB) bytes
      • Sets an upper limit for each header. It is also related to MaxRequestBytes. This limit typically allows approximately 32k characters for a URL.
    • MaxRequestBytes:

      • Default Value: 16384
      • Recommended Range: 256 to 16777216 (16MB) bytes
      • Determines the maximum size for the Request line and headers combined.
      • The default setting is 16KB.

    Ensure that the entries are created as DWORD values.

  2. If applicable, apply the same changes to the registry key on the Citrix Server.

It is crucial to restart the machines after implementing these changes.

mceclip0.png

Leave a Reply