[GH-ISSUE #3] Unreliable Task Check pings to web server URL (using LG Optimus One P500) #1

Closed
opened 2026-02-28 01:22:41 +03:00 by kerem · 3 comments
Owner

Originally created by @ghost on GitHub (Jun 26, 2011).
Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/3

We are noticing that the Task Check pings are getting delayed and don't necessarily come to the web server URL regularly. Following is a log of the webserver:

106.76.100.179 - - [26/Jun/2011:17:20:44 +0530] "GET /smsg/?task=send HTTP/1.1" 200 316 "-" "SMSSync-Android/1.0)"
106.76.100.179 - - [26/Jun/2011:17:21:54 +0530] "POST /smsg/ HTTP/1.1" 200 304 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)"
106.76.100.179 - - [26/Jun/2011:17:22:20 +0530] "POST /smsg/ HTTP/1.1" 200 304 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)"
106.76.100.179 - - [26/Jun/2011:17:36:07 +0530] "GET /smsg/?task=send HTTP/1.1" 200 559 "-" "SMSSync-Android/1.0)"
106.76.100.179 - - [26/Jun/2011:17:36:08 +0530] "GET /smsg/?task=send HTTP/1.1" 200 316 "-" "SMSSync-Android/1.0)"
106.76.100.179 - - [26/Jun/2011:17:36:09 +0530] "GET /smsg/?task=send HTTP/1.1" 200 316 "-" "SMSSync-Android/1.0)"

The POST pings are when we are sending test messages to the number that get correctly forwarded to the server. You may notice that the last three task check pings arrived within a second of each other and that they were not received on server for about 15 mins before that period. (We are using the time-period as 5 mins)

Originally created by @ghost on GitHub (Jun 26, 2011). Original GitHub issue: https://github.com/ushahidi/SMSSync/issues/3 We are noticing that the Task Check pings are getting delayed and don't necessarily come to the web server URL regularly. Following is a log of the webserver: 106.76.100.179 - - [26/Jun/2011:17:20:44 +0530] "GET /smsg/?task=send HTTP/1.1" 200 316 "-" "SMSSync-Android/1.0)" 106.76.100.179 - - [26/Jun/2011:17:21:54 +0530] "POST /smsg/ HTTP/1.1" 200 304 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)" 106.76.100.179 - - [26/Jun/2011:17:22:20 +0530] "POST /smsg/ HTTP/1.1" 200 304 "-" "Apache-HttpClient/UNAVAILABLE (java 1.4)" 106.76.100.179 - - [26/Jun/2011:17:36:07 +0530] "GET /smsg/?task=send HTTP/1.1" 200 559 "-" "SMSSync-Android/1.0)" 106.76.100.179 - - [26/Jun/2011:17:36:08 +0530] "GET /smsg/?task=send HTTP/1.1" 200 316 "-" "SMSSync-Android/1.0)" 106.76.100.179 - - [26/Jun/2011:17:36:09 +0530] "GET /smsg/?task=send HTTP/1.1" 200 316 "-" "SMSSync-Android/1.0)" The POST pings are when we are sending test messages to the number that get correctly forwarded to the server. You may notice that the last three task check pings arrived within a second of each other and that they were not received on server for about 15 mins before that period. (We are using the time-period as 5 mins)
kerem closed this issue 2026-02-28 01:22:41 +03:00
Author
Owner

@ghost commented on GitHub (Jun 26, 2011):

Just noticed one specific behavior - when the phone screen was on, the task pings were being sent at the specified interval. And when the phone screen went off, the task check pings were not sent.

Also learnt from the url:
http://stackoverflow.com/questions/5345344/app-seems-to-stop-working-when-the-screen-goes-to-sleep

that this may be an expected behavior on Android.

We are looking to run this phone with a 3G connection in an unattended mode. Should SMSSync, then, keep the phone in active state so that it can work as expected??

<!-- gh-comment-id:1440747 --> @ghost commented on GitHub (Jun 26, 2011): Just noticed one specific behavior - when the phone screen was on, the task pings were being sent at the specified interval. And when the phone screen went off, the task check pings were not sent. Also learnt from the url: http://stackoverflow.com/questions/5345344/app-seems-to-stop-working-when-the-screen-goes-to-sleep that this may be an expected behavior on Android. We are looking to run this phone with a 3G connection in an unattended mode. Should SMSSync, then, keep the phone in active state so that it can work as expected??
Author
Owner

@eyedol commented on GitHub (Jun 30, 2011):

Thanks for reporting this tangereinfotech. It's a known issue which should be fixed in the next release.

<!-- gh-comment-id:1473772 --> @eyedol commented on GitHub (Jun 30, 2011): Thanks for reporting this tangereinfotech. It's a known issue which should be fixed in the next release.
Author
Owner

@mandric commented on GitHub (Dec 14, 2012):

@eyedol we are experiencing this issue on latest SMSSync only with the task checking functions. running android 2.3.6 on a samsung pocket galaxy S5300. just wondering if this is a known issue with task checking... thanks!

<!-- gh-comment-id:11365354 --> @mandric commented on GitHub (Dec 14, 2012): @eyedol we are experiencing this issue on latest SMSSync only with the task checking functions. running android 2.3.6 on a samsung pocket galaxy S5300. just wondering if this is a known issue with task checking... thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SMSSync#1
No description provided.