Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Troubleshooting Malform Request Error while trying to access VisualRF Floor plans in Airwave 

Oct 21, 2016 12:02 PM

Problem:

Sometimes, we may ran into the following error while trying to access VisualRf Floor plans in Airwave.

 



Diagnostics:

We need to confirm two things to isolate the issue here. They are:

1. Logged into AMP and Navigate to AMP Setup --> Roles. 

2. Check the privileges assigned to the logged-in user. In this case, we have logged with username admin, that has VRF read/write access.

3. Check the visualrf logs located at /var/log/visualrf/visualrf.log.

It would show the below messages:

2016-09-27 14:29:35,538 ERROR HTTP[1]      com.airwave.svg.init.RequestHandler exception caught path=/visualrf/getUserPref
com.airwave.core.http.exceptions.MissingAuthorizationInfo: MissingAuthorizationInfo
        at com.airwave.model.parsers.UserPreferenceParser.createUserPrefNode(UserPreferenceParser.java:165)
        at com.airwave.model.parsers.UserPreferenceParser.createNodes(UserPreferenceParser.java:99)
        at com.airwave.svg.APIFacadeImpl.getUserPref(APIFacadeImpl.java:4198)
        at com.airwave.svg.APIFacadeImpl.getUserPref(APIFacadeImpl.java:223)
        at com.airwave.svg.init.RequestHandler.run(RequestHandler.java:2321)
        at com.airwave.svg.init.DelegateHttpHandler.handle(DelegateHttpHandler.java:39)
        at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
        at sun.net.httpserver.AuthFilter.doFilter(Unknown Source)
        at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
        at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(Unknown Source)
        at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
        at com.airwave.svg.http.AMPContextFilter.doFilter(AMPContextFilter.java:65)
        at com.sun.net.httpserver.Filter$Chain.doFilter(Unknown Source)
        at sun.net.httpserver.ServerImpl$Exchange.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
 



Solution

By default, role_id 7 corresponds to visualrf access.  

Since, the error says missing authorization info, check users table to verify the user with role_id = 7 is enabled. In this case, the user with role_id = 7 is disabled.

If you see user role_id = 7 is disabled, enable it using the following command:

[root@localhost visualrf]# dbc update users set is_enabled = 1, login_attempts = 10 where role_id =7; 

To restart visualrf from the terminal, use the below command:

[root@localhost visualrf]# psk airwave.visualrf.jar

To restart VRF from GUI, navigate to VisualRF Setup and set Enable VisualRF Engine to No and Save. Re-enable it again and save.

VisualRF Floor plans would now load without any issues.

 

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.