Messages stuck in the Outbound Message Queue

Messages stuck in the Outbound Message Queue SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Messages stuck in the Outbound Message Queue « Previous || Next »
Author Message
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 139
Registered: 04-2011
Posted on Saturday, May 30, 2020 - 07:12 am:   

H,

We noticed that when the SMPP returned an unknown error "ERROR: SMS Provider Specific Error Code 0x00000439", it stayed in the Outbound SMS Message Queue and not cleared..... Neither are they dropped nor retried.

Appreciate your support

Mathew
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6151
Registered: 08-2008
Posted on Monday, June 01, 2020 - 03:44 pm:   

Hi Mathew,

I setup a test system that rejects SMPP messages with this error code, so that I could try this for myself.

NowSMS kept retying the message until max retries, and then the message was dropped from the queue with an error.

I took a look at the message in the queue during this process, and could see retries being incremented, with information like this:

[ErrorDetail]
RetryCount=7
LastRetryTime=20200601122735
LastErrorInfo=ERROR: SMS Provider Specific Error Code 0x00000439 -- SMPP - 192.168.0.41:9001

Are there any retry delay adjustment parameters in your SMSGW.INI, such as:

RetryDelay=
RetryDelayMultiplier=
RetryDelayAfterAttempts=
RetryDelayMax=
RetryMaxAttempts=
RetryMaxAge=

If you wanted this error to be treated as an immediate failure with no retries, you could add SMPPRejectErrorCodes=439 under the [SMPP - server:port] section header in SMSGW.INI. (This can be a comma delimited list of codes to be treated as a non-retriable error.)


--
Des
NowSMS Support
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 140
Registered: 04-2011
Posted on Tuesday, June 02, 2020 - 05:08 am:   

Hi

The settings are

RetryDelay=10
RetryDelayAfterAttempts=2
RetryDelayMax=10
RetryDelayMultiplier=0
RetryMaxAttempts=3

However, they were not cleared and we noticed messages more a month old sitting in the queue..

Worst case, we shall put in the config that you suggested to drop message.


BTW, where do we get to see "[ErrorDetail]" details...

Mathew
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6154
Registered: 08-2008
Posted on Tuesday, June 02, 2020 - 07:31 pm:   

More than a month old?

Did these files have a .REQ or .ERR extension?

.REQ files are still active.

.ERR files are failed messages, no longer active, but kept around for 3 days to allow investigation.

These files are text files...the [ErrorDetail] info I used in the example, is information added to the end of the queue file.

--
Des
NowSMS Support
Mathew Mathachan
Frequent Contributor
Username: Mathewm

Post Number: 142
Registered: 04-2011
Posted on Wednesday, June 03, 2020 - 07:32 am:   

Hi

Yes.. IN the "Outbound SMS Message Queue " list bix we could see.

Thank you for the other details provided.


Mathew
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 6156
Registered: 08-2008
Posted on Wednesday, June 03, 2020 - 04:48 pm:   

Hi Mathew,

Did you locate the actual message file?

If so, where was it?

--
Des
NowSMS Support

Add Your Message Here, or click here to create a new discussion topic.
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image
Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to create an account.
Username:
Password:
Options: Automatically activate URLs in message
Action:

Login Login / Register Logout Logout Search Last 30 Days Topics Topics