Messages to SOLACE are failing with the error “Too Many Connections For Client-Username”:

ashish
ashish Member Posts: 2

We have an integration from SAP PO (Middleware tool from SAP) towards SOLACE. SOLACE is able to accept 30 messages [to the max] from SAP PO at a given point of time. All other messages to SOLACE at that moment are getting errored out. Currently we are having 450+ messages as a backlog due to this issue.

Comments

  • amackenzie
    amackenzie Member, Employee Posts: 269 Solace Employee

    This sounds like something that would best be handled by Solace Support. Are you a supported customer? They will require more detail, as well, as it's not obvious, given the information provided, what is going on.

  • ashish
    ashish Member Posts: 2
    edited March 2022 #3

    Yes, we are a supported customer.

    On debugging, we found out that in production we had the following two important settings:

    • DeliveryMode in the REST Adapter Channel at SAP PO was set as Direct. (This is done in the Message Header)
    • maximumClientConnectionPerClientUserName in the clientProfile for SAP PO at SOLACE was set as 30.

    With these settings, when SAP PO tried to send 450+ messages, only 30 passed through successfully to SOLACE, while the rest failed with the error “Messages to SOLACE are failing with the error “Too Many Connections For Client-Username”.

    We tried to debug the problem by performing some changes in setting

    • DeliveryMode in the REST Adapter Channel at SAP PO was set changed from Direct to Persistent. (This is done in the Message Header, by omitting the DeliveryMode, which makes the DeliveryMode defaults to Persistent)
    • maximumClientConnectionPerClientUserName in the clientProfile for SAP PO at SOLACE was changed from 30 to 100.

    We observed better performance with these change. SAP PO tried to send 556 messages, out of which 406 got processed while the rest 150 failed.

    Do you some specific recommendation here?

  • Tamimi
    Tamimi Member, Administrator, Employee Posts: 541 admin

    Hey @ashish! Since this is a support related question and you have Solace support I would recommend opening up a support ticket with the details 👍