404 error trying to access uimapi
search cancel

404 error trying to access uimapi

book

Article ID: 262789

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

We are receiving a 404 error when trying to access the uimapi via http://<RobotName>/uimapi/swagger-ui.html: (note: this path will only work with uimapi 20.40, it changes after this version)

HTTP Status 404 – Not Found

uimapi.log:

com.ca.uimapi.exception.ResourceNotFoundException: HTTP 404 Not Found
    at com.ca.uimapi.services.controller.AlarmResource.validateAlarmOnPrem(AlarmResource.java:733) ~[uimapi-20.4.4.jar:20.4.4]
    at com.ca.uimapi.services.controller.AlarmResource.validate(AlarmResource.java:709) ~[uimapi-20.4.4.jar:20.4.4]
    at com.ca.uimapi.services.controller.AlarmResource.acknowledgeAlarm(AlarmResource.java:817) [uimapi-20.4.4.jar:20.4.4]
    at sun.reflect.GeneratedMethodAccessor1177.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_352]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_352]

Environment

Release : 20.4

Resolution

1. Deactivate the wasp probe on the Robot with the uimapi (OC Server)
2. RDP to the Robot (OC Server) with the uimapi and move /probes/service/wasp/webapps/uimapi folder to any other folder for backup.
3.  Delete the <installPath>\Nimsoft\probes\service\wasp\work directory and its contents.
NOTE:  This is a work directory which will be rebuilt and repopulated when you activate the wasp probe.
4. Deploy the latest uimapi package to the robot system which is hosting the wasp with uimapi.
5. Activate the wasp probe
6. Clear Browser Cache