Nowsms sending a large number of messages

Nowsms sending a large number of messages SearchSearch
Author Message
Steve Staples
New member
Username: Sstaples

Post Number: 1
Registered: 05-2018
Posted on Tuesday, May 22, 2018 - 02:55 pm:   

Good morning,

the past couple of days, I have had communication errors with my SMS Gateway (Android Nexus 5), and I have a pop up on the screen says that there was a large number of sms messages be sent, 'allow' or 'deny'. Obviosly I want to allow, so I click it, and then have to click it about 50 more times. Then, a few days later, the same thing happened and I had to click allow another 50 or so times.

What do I have to do to stop seeing these messages, and let it text away! ?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5924
Registered: 08-2008
Posted on Wednesday, May 23, 2018 - 10:45 pm:   

Hi Steve,

We have seen this issue a few times...very rare, but have never seen a satisfactory explanation.

Have you gone into system settings to see if a system update is available?

We have only encountered the issue once in house, and the problem went away after an update. Unfortunately, we have no idea what version of Android was causing a problem. In our case, this was on a MOTO E.


--
Des
NowSMS Support
Steve Staples
New member
Username: Sstaples

Post Number: 2
Registered: 05-2018
Posted on Thursday, May 24, 2018 - 01:20 pm:   

The phone has been up and running for almost 2 years, without any issues. Only recently has it started to do this.

I will go back to our data center, and see if there is an OS update available, and also see what version of Android is running.

I did upgrade the server software to the 2017 version, not that i think it will solve the issues, but did it anyways. I also upgraded the phone software the time before this last time thinking it would help, but obviously it still did it.

Again, I will go back and verify everything is up to date.

Steve.
Steve Staples
New member
Username: Sstaples

Post Number: 3
Registered: 05-2018
Posted on Thursday, May 24, 2018 - 03:46 pm:   

When this happens, the server has an error on the status tab as well...

it is red bold text:
"NowSMSModem - xxxphonenumberxxx : Failure - Unable to commect to NowSMS modem xxxphonenumberxxx"

just happened again
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 5925
Registered: 08-2008
Posted on Thursday, May 24, 2018 - 05:38 pm:   

Hi Steve,

Thanks for the additional info...some of this history may be relevant.

Did you also update the app on the Android phone?

The reason I ask is because early versions of the app did not wait for the Android OS to accept the SMS before passing an acknowledgment back to the server.

That might be the underlying cause of the problem. We've been optimizing server performance...so the updated server is faster submitting the next message after that acknowledgment.

--
Des
NowSMS Support
Steve Staples
New member
Username: Sstaples

Post Number: 4
Registered: 05-2018
Posted on Thursday, May 24, 2018 - 06:22 pm:   

Yes, the software was originally the downloaded APK file, and is now updated through the google play store.

When it first started happening, it was the same APK as installed originally, as well as the 2016 software installed originally... since it happened, I have updated both phone, and server.

I have implemented the "SMSCSendLimit" setting in the ini file, to = 1/2 (1 message per every 2 seconds), to see if maybe it was getting too many messages at once... so we'll see how that goes for the next few days.

I have also been looking for another android phone I can swap SIM cards into, and see if maybe it is the phone being the issue, but I won't swap until it happens again so I am not just trying everything at once.
Mundos
New member
Username: Coajack258

Post Number: 27
Registered: 05-2009
Posted on Sunday, March 31, 2019 - 06:16 pm:   

adjust it using adb

adb shell
settings put global sms_outgoing_check_max_count 30
settings put global sms_outgoing_check_interval_ms 9000000

and restart your phone

30 messages in 30 minutes as default value I guess