Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SBR] Executing CoA request from JavaScript fails with error

0

0

Article ID: KB27958 KB Last Updated: 04 Mar 2017Version: 2.0
Summary:

When calling a Change of Authorization (CoA) request from a JavaScript applet in SBR Carrier, the request fails with the error no NAS-IP-Address or NAS-IPv6-Address attribute found in transaction, but the session includes this information in the Current Session Table (CST).

The CoA request works through the Administrator GUI and when using the SessionControl.sh script.

Symptoms:
 
Cause:

When issuing the CoA request from a JavaScript applet, the required attributes are not included by default.  These attributes can be scripted into the request through the JavaScript.

Solution:

This issue can be solved by adding the following attributes to SessionControl Object before calling the execute function. For example:


var sessionObject = new SessionControl();
sessionObject.AddAttribute("NAS-Identifier","TIMETRA ROUTERS SWITCHES");
sessionObject.AddAttribute("Acct-Session-Id","101");
sessionObject.Execute("Disconnect")
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search