ushahidi / SMSSync

SMS gateway for Android powered phones
http://smssync.ushahidi.com
GNU Lesser General Public License v3.0
1.14k stars 492 forks source link

Problems Using SMSSync #82

Closed ghost closed 11 years ago

ghost commented 11 years ago

SMSSync messages remain in 'pending' and do not sync. To clarify - re-installed the sms sync app although the application installed on my phone was v2.0.2 Beta before also confirmed it was up to date

  1. checked the sync URL - it is https://indiaoye.crowdmap.com/smssync and is correct as per my crowdmap settings
  2. I have a SMS sync secret code but I have entered that too correctly
  3. Then there is the keyword 'oye' that I use for filtering messages to be syncd SMS sync worked fine. I could successfully sync messages till about 4th March, 2013

Am I missing a step, doing something or is this a bug/code problem? Thank you.

eyedol commented 11 years ago

@elle-espere Could you remove the oye keyword to see if it syncs?

ghost commented 11 years ago

yes. :) Will let you know how it goes. Thanks so much @eyedol really appreciated!

manwinder commented 11 years ago

@eyedol @elle-espere Removed the keyword, still unsuccessful, does not sync !

eyedol commented 11 years ago

Hmm... Funky. Will dig into this.

ghost commented 11 years ago

Thanks @eyedol should I reopen? @aoduor This is the SMSSync problem @manwinder told you about

eyedol commented 11 years ago

@elle-espere was there data connection on the phone. Like could you get to https://indiaoye.crowdmap.com/smssync via the phone's browser?

ghost commented 11 years ago

No I could not payload false, @manwinder are you able to load on your phone? @eyedol will include.screenshot & exactmessage and code whe able bad reception for me coming up quick ty somuch :-)

manwinder commented 11 years ago

@eyedol @elle-espere

even I couldn't open the url. same error message as Kelli.

However google runs, so I think data connection is fine. infact I am sending this b reply from the phone

Also kelli, I am in a conference for the coming two days. Might take longer for me to reply than usual.

Thanks On Apr 4, 2013 5:35 AM, "elle-espere" notifications@github.com wrote:

No I could not payload false, @manwinder https://github.com/manwinderare you able to load on your phone? @eyedol https://github.com/eyedol will include.screenshot & exactmessage and code whe able bad reception for me coming up quick ty somuch :-)

— Reply to this email directly or view it on GitHubhttps://github.com/ushahidi/SMSSync/issues/82#issuecomment-15873142 .

ghost commented 11 years ago

Will try again now, if it doesn't.work after a few times will give exact details, I just need to find my dang stylus first lol will try and update with info Asap @eyedol thanks as always, will getyou the details soon :-)

ghost commented 11 years ago

Working on getting you the info fyi @eyedol sorry for delay :-(

roadnews commented 11 years ago

I'm having the same problem with my Samsung running Android v. 2.2.1. I've checked and rechecked the configuration. I had but removed the secret code in both in the app and in the Crowdmap configuration. I am not using any keywords (left blank).

The URL I'm using is: https://lawsontechnologymanagement.crowdmap.com/smssync

SMSSync sees the incoming SMS messages. But I can't get it to send on the SMS, either with the auto settings or manually.

Thanks for any help.

Bob

manwinder commented 11 years ago

@eyedol @elle-espere

Still unable to sync the sms with the reporting portal. I know you are trying your best - thanks :+1:

ghost commented 11 years ago

@eyedol does catlog work for you as far as logging? Do you want me to filter, or ust use verbose (if catlog works for you)? Thanks, and will get the log for you ASAP :)

manwinder commented 11 years ago

@eyedol @elle-espere

Hi, the launch of our deployment depends on how quickly this matter gets solved. Request you to please update me / provide me an alternative to sync in text messages.

eyedol commented 11 years ago

@manwinder @elle-espere Do you use https in the URL?

manwinder commented 11 years ago

@eyedol @elle-espere Yes we use https in the URL

roadnews commented 11 years ago

Yes, I'm using https as well.

eyedol commented 11 years ago

@roadnews @manwinder @elle-espere try again. There has been a server side fix on Crowdmap. This should resolve the issue. Let me know how it goes.

manwinder commented 11 years ago

@eyedol @elle-espere Thank you ! The incoming messages are now getting synchronized. However, there seems an inordinate delay in the outgoing SMS (Get Alerts messages in particular)

I am able to receive the email alert almost instantaneously but the sms alert takes a lot of time Also we noticed that the date and time of the outgoing messages in the sms sync log corresponds to the year 1970. PFA a screen shot of my SMS Sync app log - might help you to narrow down on the outgoing sms delay reason. Screenshot_2013-04-11-07-00-38

manwinder commented 11 years ago

Detailing the attachment.

The green box highlights the incoming message - which has correct date & time. However the red one corresponds to the outgoing message - where the date and time is erroneous

manwinder commented 11 years ago

@eyedol @elle-espere Is there any update on the delay in sending alerts via SMS Sync As apprised earlier, I receive an email alert almost instantaneously but there is a delay of about 4 hours and 30 mins in getting the sms alert for the same report.

Case in Point : I received an email alert for a report at 11:27 IST But the sms alert for the same came at 15:57

That is a delay of 4hrs and 30 mins

ghost commented 11 years ago

@manwinder cc @eyedol This is still a problem, yes? Could it simply have to do with the your server's available speed/bandwidth?

isaarc commented 11 years ago

Hi,

I am still facing the same problem. In SMS Sync App the message is still not appearing in the sent tab where as the message is successfully committed to HTTP URL. I can see the messages in my file. The problem is SMS sync is continuously retrying the same message again and again. I uninstalled my earlier version and reinstalled SMS Sync version 2.3 but the problem still persists. Request you to help me.

eyedol commented 11 years ago

@isaarc when your server receive the message does it return ?

{
    payload: {
        success: "true"
    }
}
isaarc commented 11 years ago

Hi eyedol, Yes, my server returns { payload: { success: "true" } }

as a response. My server URL is http://www.isaarc.com/classifieds/inboundSMS.php the secret key is '123456'. Even if i harcode the response as { payload: { success: "true" } }

SMS Sync continously retrying the message. In addition the SMS message is not at all appearing in Sent tab, lying down in pending tab Regards, isaarc

isaarc commented 11 years ago

I tried from two different android phone (ginger bread and jellybean) but with no luck. Is there any way i can disable the retry mechanism in SMSSync application?

eyedol commented 11 years ago

@isaarc Its a bug related to this issue #96 -- There is a fix for it in the current develop repo. Working on a release soon.