-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Hello,
We are trying to connect to MQ Server from an application that was written in Node.js and facing authentication related issues. NodeJs uses a npm package called ibmmq to connect to MQ Server. Below is the configuration we use:
{
Options: 2048,
SecurityParms: {
UserId: 'c360liteapp',
Password: '',
_authenticationType: 0,
InitialKey: null,
Token: null
},
CCDTUrl: null,
ClientConn: {
ChannelName: 'APP.DEV.CLNT',
ConnectionName: '["server.hostname.com(1424)"]',
},
}
When connecting with username and password, we see below error on the client:
MQ Queue Manager {"message":"CONNX: MQCC = MQCC_FAILED [2] MQRC = MQRC_NOT_AUTHORIZED [2035]","stack":"MQError: CONNX: MQCC = MQCC_FAILED [2] MQRC = MQRC_NOT_AUTHORIZED [2035]\n at /opt/app-root/node_modules/ibmmq/lib/mqi.js:484:19","name":"MQError"}
On the server side, we see below error:
06/06/2025 09:13:20 AM - Process (22401.4833709) User (mgm) Program (amqrmppa)
Host (servername) Installation (Installationi)
VRME (9.3.0.26) Mgr (MGRNAME)
Time (2025-06-06T14:13:20.559Z)
ArithInsert1(2) ArithInsert2 (2035)
Comment Insert1 (1001440000)
Comment Insert2 (c36011teapp)
CommentInsert3 (1001440000)
AMQ9557E: Queue Manager User ID initialization failed for 1001440000'.
EXPLANATION:
The call to initialize the User ID '1001440000' failed with CompCode 2 and Reason 2035. If an MQCSP block was used, the User ID in the MQCSP block was
'c360liteapp'. If a userID flow was used, the User ID in the UID header was
'1001440000' and any CHLAUTH rules applied prior to user adoption were evaluated case-sensitively against this value.
ACTION:
Correct the error and try
Can you please let us know what should be done to fix this?
Metadata
Metadata
Assignees
Labels
No labels