Bad request when using standalone_login.jsp and viewing a dashboard and clicking on a alarm icon
search cancel

Bad request when using standalone_login.jsp and viewing a dashboard and clicking on a alarm icon

book

Article ID: 216685

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

When using the operator console to view a dashboard can open the dashboard and click on one of the icons which has an alarm data source. When clicking on it the alarm console opens without issue.

The first one below is a good call from an operations console login.

http://localhost/operatorconsole_portlet/uim-alarms?viewOptions=%7B%27minimal%27%20:%20%27true%27,%20%27disableLockedAlarmFilters%27%20:%20%27true%27,%20%27filters%27%20:%20%5B%7B%27field%27%20:%20%27hostname%27,%20%27operator%27%20:%20%27contains%27,%20%27not%27%20:%20%27false%27,%20%27value%27%20:%20%27redhat%27%20%7D%5D%7D

 

If  the same using the standalone_login url to access the dashboard we get a 400 error when clicking on the icon with an alarm source. It states that there are invalid characters in the url. On inspection this is correct and it looks like the URL is not being encoded correctly.

 

The following is the call from the standalone JSP. 

above.http://localhost/operatorconsole_portlet/standalone_login.jsp?viewOptions={%27minimal%27%20:%20%27true%27,%20%27disableLockedAlarmFilters%27%20:%20%27true%27,%20%27filters%27%20:%20[{%27field%27%20:%20%27hostname%27,%20%27operator%27%20:%20%27contains%27,%20%27not%27%20:%20%27false%27,%20%27value%27%20:%20%27redhat%27%20}]}&persistLogin=Bearer%20xxxxxxx&

These are not valid URL characters and need to be made URL safe before being posted.

 

 

 

 

 

 

Environment

Release : 20.3

Component : UIM OPERATOR CONSOLE - ALARM VIEWER

Resolution

Fixed in the below HF's.

ump_operatorconsole 2.10 HF4

ump_dashboard 20.3.3 HF2

Can find in below HF Index, or else can reach out to Broadcom support.

https://support.broadcom.com/external/content/release-announcements/CA-Unified-Infrastructure-Management-Hotfix-Index/7233