-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trips missing for several days #592
Comments
So the trips stopped recording around 30th Nov
The next action was today, after we called them
Looks like that initialize might have been the cause? |
That initialize was caused by a reboot
We then got a valid location
And then we successfully created the geofence
And the permissions were all correct after that
Stayed fine even after that
And then we have a bunch of valid periodic calls
This continues until
Then we get these messages
And then there are no logs until
|
It is really surprising that we didn't have any logs between 01 and 07. If there were location issues, either due to permissions or location services, we should have still got periodic syncs. The
seem to indicate some kind of force kill or uninstallation. |
We have seen prior issues with the It was related to the chrome update, which killed the foreground service. The lack of foreground service means that we only get very rare periodic location updates (e.g. every 5-6 hours) iff tracking was turned on. But we did continue to get the periodic syncs. And we actually hooked into that to restart the service automatically as required. So the lack of periodic syncs indicates that there must have been some other problem. Logs from the other bug.
|
Others have reported issues on starting foreground services from the background. |
The users is on Android 9. Maybe in Android P, the background sync invocations also don't happen if the app doesn't have a foreground service? Not quite sure how to fix this though. Maybe we do need to send push notifications after all? |
This is the boot receiver that failed.
We then got a periodic sync several hours later, which finally did what it was supposed to do.
That message is The app was still in waiting for trip start
We apparently generated an initalize (unsure why)
The app was upgraded in the interim
which caused us to send and receive another initialize
And then after all the async operations complete, the foreground service is destroyed again!
|
Let's look at prior instances of the foreground service being destroyed.
|
The user reported that they received a push notification at 11:08 on 2020-12-08. So the notifications were clearly on at the time, and the launch at 11:09:20 is probably related to that. |
In prior instances, the periodic sync workaround has worked. On the same phone.
Until it didn't
And then it did again
|
So this doesn't appear to be an android version issue because the restarts have happened both before and after the failed restart. So why didn't it restart only in the middle? |
Will see if I can get developer logs from the user, or determine if they did anything special during that period. |
double checked on the server, and we did not receive any get messages in the interim
and we did start getting trips now. Seems pretty likely that the user had uninstalled the app or turned something off, since everything was working before and after. |
see consistent trips even after a week. The person had probably uninstalled the app and reinstalled. |
One of the COBike users was missing trips for around a week. After contacting her:
waiting_for_trip_start
statehave asked for logs. Is this another instance of
e-mission/e-mission-data-collection#155
The text was updated successfully, but these errors were encountered: