Support Article
After redirect from revere proxy ,button event is not working.
SA-29479
Summary
A web mashup implementation is displaying an initial harness. The user wants to replace the current harness with a different harness. In the gadget user is setting attributes like "display" with their initial harness name "XYZ". When gateway URL is referring directly to the pega devotement box url then it works but when redirecting through reverse proxy variable, initial harness is loading but any action on button, from that launching another harness is not working.
Error Messages
There is no error message on the screen. However Browser debug mode (F12) there is an error
HTTP Error 400. The request URL is invalid
Steps to Reproduce
- Configure a web mashup implementation.
- Display an initial harness and in that harness place a button and on click of that button write code to replace the current harness with a different harness.
- Access the Mashup through an top level application hosted on IIS.
- After request redirects and displays the initial harness click the button to display the second harness.
- The button event doesn't triggers.
Root Cause
A defect or configuration issue in the operating environment. The Browser debug mode confirmed that the IIS is treating the URL invoked on click of the button as invalid and throwing HTTP Error 400. Directly accessing the URL also gave the same error. Some URL size restriction was causing the issue.
Resolution
In order to resolve this issue the administrator added the following registry key as a REG_DWORD:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters\UrlSegmentMaxLength
This value defaults to 260, but in the failing requests pega have segments (URL length) of well over that number of characters. user set this value to 2048 and then rebooted the web server for the setting to take effect.
Published October 27, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.