Cloud Pak for Data

 View Only
  • 1.  [Support]: Unable to create a MQ connection.

    Posted 23 days ago

    I have created a MQ instance in IBM cloud and created a Queue manager. Able to put test message via IBM cloud MQ console .

    However the MQ connection is not successful when a connection asset is created in CP4D. 

    Appreciate if any one could throw some light on thi .

    The error is: The assets request failed: Connection failed: {"failure_message":"Connect to queue manager using channel failed with reason code: 2538 (UNKNOWN CODE)","status":"failure"}

    PFB the configuration .



    ------------------------------
    Roshni Cherian
    ------------------------------


  • 2.  RE: [Support]: Unable to create a MQ connection.
    Best Answer

    Posted 21 days ago

    There are few things:

    1. Connection property should be in form of: 

    <hostname>(<portNumber>) 

    Both values can be found in either text file or JSON file downloaded from web UI

    2. Not visible in the screenshot - SSL should be enabled and server certificate chain (PEM format) should be provided. It can be downloaded from MQ Queue Manager details in cloud.

    3. Queue manager name is case sensitive.

    4. I assume user (or app) credentials are correct - equal to what was set in web UI



    ------------------------------
    MICHAL ZARAKOWSKI
    ------------------------------



  • 3.  RE: [Support]: Unable to create a MQ connection.

    Posted 21 days ago

    Hi Michal

    Thanks for you response. I did add port and the SSL pem certificate also.

    getting the below error:-

    Anything that you can suggest here?

    for the Server SSL certificate - I provided the first chunk of data from PEM file which is between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----

    Client SSL certificate and Client SSL key left blank (Is this correct?)



    ------------------------------
    Roshni Cherian
    ------------------------------



  • 4.  RE: [Support]: Unable to create a MQ connection.

    Posted 18 days ago

    Hi ,

    I could successfully connect to MQ connection .

    Queue Manager - <<give the queue manager name>>

    Channel Name - CLOUD.ADMIN.SVRCONN

    Transport Type - TCP

    Connection Name - <<hostname(port)>> eg: qmgr.appd.domain.coon(20364)

    Credentials - User or app credential (equal to what was set in web UI)

    SSL Connection - Check (Enable it)

    Server SSL connection - Download the public certificate from the web UI and give the whole content of pem file.

    This connection setting should work.

    Thanks a lot !!



    ------------------------------
    Roshni Cherian
    ------------------------------



  • 5.  RE: [Support]: Unable to create a MQ connection.

    Posted 18 days ago

    Glad to hear it.

    Indeed, full certificate chain is needed as it contains certificates from the top (highest Certification Authority) to the bottom (server cert).



    ------------------------------
    Michal Zarakowski
    ------------------------------