Browser Agent extension and Request Headers

book

Article ID: 197615

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

We have an issue with our Browser Agent extension. An application could not operate right because it was having "Bad Request".

Our team detected that the problems were due to the fact that the petition´s headers were too large and headers were exceeding the safety limit in the Oracle HTTP Server (OHS). The error reported was this:

Request header exceeds LimitRequestFieldSize: Cookie, referer: http://<hostname>/<page1>


They analyzed the header and saw a lot of information about the APM Agent:Cookie: JSESSIONID=....................=; SITESJSESSIONID=............................; x-apm-brtm-response-bt-page-home=CorBrowsGUID..................apmAgentProcess...............apmAgentHost................apmAgentName......................; x-apm-brtm-response-bt-page-<pagename>.css=CorBrowsGUID.........................; x-apm-brtm-response-bt-page-<page2>.css=CorBrowsGUID...........

This happened after making some changes, including the addition of the browser agent extension, but we did not activate browser agent extension anywhere. 

Environment

Release : 10.7.0

Component : APM Agents

Resolution

To keep browser agent extension disabled:

You can set the following property to false in IntroscopeAgent.profile file.

introscope.agent.browseragent.autoInjectionEnabled=false

We can set the following 4 properties to false in bundle.properties file.
introscope.agent.browseragent.autoInjectionEnabled
introscope.agent.browseragent.response.decoration.enabled
introscope.agent.browseragent.sustainabilityMetrics.enabled
introscope.agent.browseragent.corguid.enabled

These above settings will disable most (may be not all) functions of browser agent extension. 

 

To completely disable the browser agent extension, please follow these steps.

Stop APM Agent.

remove <APM Agent Home>/extensions/browser-agent-ext-2c90899-10.7.0.197
remove <APM Agent Home>/extensions/deploy/browser-agent-ext-2c90899-10.7.0.197.tar.gz

Start APM Agent.