Messagegtw probe is getting 401 Unauthorized response

book

Article ID: 144412

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

In the messagegtw.log file, we see a 401 Unauthorized response coming from the server:

[/webhook, messagegtw] UimMessageListener.processIncomingMessages:283: Incoming PDS array contains 1 messages. Initializing latch to same size.

[pool-3-thread-2, messagegtw] UimMessageListener.lambda$processIncomingMessages$0:293: Done processing message
[/webhook, messagegtw] UimMessageListener.publishEvent:348: Attempting to publish to [email protected]
[pool-2-thread-2, messagegtw] DefaultHttpclient.sendHttpRequest:182: >> POST-ing URL: http://xxx.xxx.xxx.xxx:xxxx/api/mid/em/jsonv2
[pool-2-thread-2, messagegtw] DefaultHttpclient.sendHttpRequest:196: << Response: POST http://xxx.xxx.xxx.xxx:xxxx/api/mid/em/jsonv2 returned a response status of 401 Unauthorized
[/webhook, messagegtw] UimMessageListener.processIncomingMessages:327: Listener /webhook successfully took 1 messages off the queue

Cause

Username/Password is incorrect or UIM server is blocked from submitting the json by the receiving server.

Environment

Release : 9.2.0

Component : UIM - MESSAGEGTW

Resolution

Update the Username/Password fields to properly authenticate to the server.