Retry Logic and Submission Error

Retry Logic and Submission Error SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 19, 2005 » Retry Logic and Submission Error « Previous || Next »
Author Message
Posted on Wednesday, September 21, 2005 - 08:52 am:   

Dear Bryce ,

we have noticed the following behavious in the latest version of now SMS , please Calrify ..

A Few SMS gets Rejected for some reason from the SMSC , and gets into a retry logic which denies all sms being sent through the same SMPP to be submitted untill this SMS is removed from the Q.

The First SMS submitted cuased a losing coneection problem with the SMSC each time its submitted..

Example :

Data=06280633064500A0062706440644064700A0062706440631062D0645064600A006270644063 1062D064A0645

The SMS was supposed to be unicode with DCS=8 which resulted an Error , does this cause SMPP connection to fail..
and the Retry logic keeps trying and denying other SMS from being submitted ?

2005-09-21 12:12:04,43307178.req,,20102989073,Retry Pending - ERROR: Timeout waiting for response from server or lost connection -- SMPP -,SubmitUser=username;Sender=xxxxxxxxxxx
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5004
Registered: 10-2002
Posted on Thursday, September 22, 2005 - 06:24 pm:   

It sounds like the SMSC is dropping the connection when it sees this message. Either that, or it ignores the message, and NowSMS waits 120 seconds for a response before NowSMS terminates the connection.

(The 120 second timeout is configurable in the very latest versions, v5.51g and later, see, for the CommandTimeout SMPP setting.)

This shouldn't cause all messages to be blocked from sending, unless you have changed your retry parameters to specify quick retries. (That is, you have changed the RetryDelay parameters.)

When the SMSC connection is lost, NowSMS starts over at the top of the queue again, but if the message has been retried 14 times already, NowSMS should apply a considerable delay until it tries again, and skip it to process other messages. (If you have changed the RetryDelay parameters to retry again very quickly, then NowSMS would see this message, and retry again.)

So, anyway, I'd need more details, like the SMSDEBUG.LOG and SMPPDEBUG.LOG files to understand the timings ... but maybe the above will give you enough info to deal with the situation.

Basically, the SMSC should be returning an error instead of dropping the connection, but some SMSCs will drop the connection if they encounter invalid data, so this is not all that unusual.

Posted on Wednesday, September 28, 2005 - 07:12 am:   

Dear Bryce,

i will recheck and test this matter, yet u said v5.51g" , is there any G version , all i see is the 5.51b ???
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5063
Registered: 10-2002
Posted on Wednesday, October 05, 2005 - 05:47 pm:   

The download pointer for the v5.51b patch now returns later versions. Sorry, that is not clearly pointed out, but the following link will return the latest:

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