Multiple request to http url for 1 SMS IN

Multiple request to http url for 1 SMS IN SearchSearch
Author Message
Joan DIMKO
New member
Username: Jdimko

Post Number: 1
Registered: 02-2011
Posted on Wednesday, February 16, 2011 - 02:47 pm:   

Hi,
I have configured 2-way sms.
Normally for every sms IN 1 request is sent to http url and 1 response is sent back to sender.
Sometimes for 1 sms IN, more than 2 requests are sent to http url with the same parameters.
Why does this happen ?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2914
Registered: 08-2008
Posted on Wednesday, February 16, 2011 - 03:10 pm:   

Hi Joan,

Does the SMSIN-yyyymmdd.LOG show the SMS being received more than once, or only once?

If the SMSIN-yyyymmdd.LOG shows the message being received only one time, but you are seeing multiple requests of the URL, this means that there is a problem with the HTTP response from the 2-way command.

Check the SMSIN-yyyymmdd.LOG, and I will advise further after you tell me what you see there.

--
Des
NowSMS Support
Joan DIMKO
New member
Username: Jdimko

Post Number: 2
Registered: 02-2011
Posted on Wednesday, February 16, 2011 - 03:22 pm:   

Let me explain:

SMSIN-yyymmdd.LOG shows sms received ok ONCE.
Web application database has successfully received the request related to this sms but TWICE. Also the response releted to this request is recorded in database as expected.
BUT I have received back no SMS for this.
This is an isolated case - I mean afterthat 2-way sms has performed OK.

My questions are as following:
Does internet fluctations (internet disconnection / re-connection) causes retries in requests or requests without response, when web application is hosted in an external network ?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2915
Registered: 08-2008
Posted on Wednesday, February 16, 2011 - 04:02 pm:   

Try resending the message with the same text.

It is strange that the request was received multiple times, and that the SMS response was not received. This suggests a possibility that it may be something more than internet fluctuations.

I remember a situation where specific text causes a script to crash. In particular, it was "<" and ">" characters with ASP.NET ... there are more details here:

http://support.nowsms.com/discus/messages/1/12418.html

If it is not this, then yes, internet fluctuations can cause retries in requests. We have an extra parameter @@MESSAGEID@@ that can be used to detect this type of situation. If a message is being retried, the @@MESSAGEID@@ value is the same between multiple retries.

--
Des
NowSMS Support
Joan DIMKO
New member
Username: Jdimko

Post Number: 3
Registered: 02-2011
Posted on Wednesday, February 16, 2011 - 04:11 pm:   

I retryed sending EXACTLY the same sms and the response is as OK.
I do not think it is a problem of sms text because the text conatins only characters and it is the usual txt that customer sends many time at a day.
I check my internet connection logs and seems to be a disconnection at the time the same request is sent twice and no response is received back.

Please, can you confirm that internet fluctation can cause such issues ?

I am using nowsms version 5.51.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2916
Registered: 08-2008
Posted on Wednesday, February 16, 2011 - 04:14 pm:   


quote:

If it is not this, then yes, internet fluctuations can cause retries in requests. We have an extra parameter @@MESSAGEID@@ that can be used to detect this type of situation. If a message is being retried, the @@MESSAGEID@@ value is the same between multiple retries.