Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

HTTP 400 error when requesting static content

SA-90734

Summary



When requesting for static content bundles, HTTP 400 error occurs for large bundles and a blank screen displays when logging in to the application.


Error Messages



HTTP 400 Bad Request


Steps to Reproduce



Install Web Application Server on Windows and use the Windows Internet Information Server (ISS).


Root Cause



When the Windows HTTP.sys layer handled the requests, the default URLSegmentMaxLength is 260. The length of the segment containing the static content bundle is larger than this default value for serveral of the static content bundles. 

URL:

http://<prpc_server>/prweb/PRServlet/uoHmzmd6qacVbHfcOmaz67ZgHbl8F3bam1AUGou7aQw%5B*/webwb/pega_yui_utilities_11839686726.js!pega_yui_connection_11271599816.js!pega_yui_extensions_13798818374.js!pzpega_yui_extensions_plus_1116219972.js!pega_tools_hashtable_12178617991.js!safeurl_1397620472.js!pegacompositegadgetmgr_11145695129.js!pega_ui_property_13141858870.js!!.js

URL Segment (area between the slashes in the URL):

pega_yui_utilities_11839686726.js!pega_yui_connection_11271599816.js!pega_yui_extensions_13798818374.js!pzpega_yui_extensions_plus_1116219972.js!pega_tools_hashtable_12178617991.js!safeurl_1397620472.js!pegacompositegadgetmgr_11145695129.js!pega_ui_property_13141858870.js!!.js

This segment length is 277 and the default value for HTTP.sys is 260. Hence, this request resulted in a HTTP 400 Bad Request from the Windows HTTP.sys layer.



Resolution



Add or update the Registry setting for URLSegmentMaxLength.

Consult the Microsoft documentation for the DWORD values under the below Registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters

Published October 22, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us