Messages stuck in Pending

Clovertech Forums Cloverleaf Messages stuck in Pending

  • Creator
    Topic
  • #114419
    Stewart
    Participant

      I have messages stuck in Pending but no connection error.  What will cause this?

    Viewing 10 reply threads
    • Author
      Replies
      • #114420
        James Cobane
        Participant

          When you say ‘stuck in pending’, do you mean that the are queued on the Outbound thread (which is connected)?  If your thread is ‘Awaiting Replies’ and you aren’t getting ACKs back from the external system, that could be the cause.

          Hope this helps.

           

        • #114421
          Stewart
          Participant

            Correct.  There were 7 messages pending in the status of the thread and staying there.  I do have await replies set with a timeout of -1.

          • #114423
            Tom Rioux
            Participant

              You may have await replies set but are you getting ACK’s back.   On that outbound thread, check the “Last Rd” time to see if it closely matches the time of the “Last Wt”.    If there is a significant time gap, the destination may not be returning ACK’s.

            • #114424
              Stewart
              Participant

                This is what I’m getting.

                Reported at: Fri Dec 20 13:46:30 EST 2019

                Status    : up             Started: Fri Dec 20 13:32:32 EST 2019
                Msgs in   : 0              Last Rd: Never
                Bytes in  : 0
                Msgs out  : 2              Last Wt: Fri Dec 20 13:32:43 EST 2019
                Bytes out : 1892
                Proto Info: N/A
                Proto Err : Fri Dec 20 13:35:36 EST 2019
                Error Msg :

                Xlated: 0         Pending: 1         Forwarded: 0         Failed: 0
                IB Lat: 0.000     OB Lat : 853.576   Total Lat: 8.319

              • #114426
                Jim Kosloskey
                Participant

                  Looks like it is as Tom indicated – no acknowledgments being received (note Msgs IN is zero). With a wait forever timeout (-1) messages will stay pending until the receiving system sends and acknowledgment.

                  There may be additional issues at play but for right now it appears you are not getting acknowledgments from the receiving system.

                  email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

                • #114427
                  Charlie Bursell
                  Participant

                    First, you should not set await replies to forever (-1) because of the gridlock issue you have.  If it is taking a long time for vendor to respond set it some high value like 300.  Most interfaces are set to 30 or 60.

                    Some vendors implement TCP/IP without regard to the spec.  So if they shut down and do not send a FIN message there is no way for Cloverleaf to know.

                    If you set the timeout to a reasonable value at least you will know you are resending so the interface is down.  Then you need to have a discussion with the vendor.

                    I would suggest a network sniffer on the port so you can see what is really on the wire.  Without it you always will get fingers pointing in both directions.

                  • #114561
                    Jim Kosloskey
                    Participant

                      Stewart,

                      Did you get this resolved?

                      email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

                    • #114564
                      Stewart
                      Participant

                        It hasn’t been resolved yet.

                      • #114576
                        Charlie Bursell
                        Participant

                          Did you try any of the suggestions?

                        • #114607
                          Matthew Brophy
                          Participant

                            Stewart, all the suggestions above are golden.

                            As extra troubleshooting on your end, you could

                            1. SMAT the inbound data (on your outbound thread) to see what ACK the downstream system is sending, if any at all.  This will give you some confidence either way to definitively point the downstream system toward.
                            2. On your Outbound tab of the thread, are you using any proc to handle the TPS Inbound Reply? The “cl_check_ack” will validate the ACK message while the “hcitpsmsgkill” will accept any type of reply from the receiving system.
                            3. When things go awry, ALWAYS check the error database.  It never fails when “everything is built correctly” but it still isn’t working right.
                          • #114840
                            Stewart
                            Participant

                              The issue was due to a timeout setting for the ack on the receiving system.  I wasn’t receiving the ack and once they modified this setting items went through.

                          Viewing 10 reply threads
                          • You must be logged in to reply to this topic.