Skip to content
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 stay in draft mode #558

Closed
EstherEu opened this issue Aug 7, 2020 · 1 comment
Closed

Trips stay in draft mode #558

EstherEu opened this issue Aug 7, 2020 · 1 comment

Comments

@EstherEu
Copy link

EstherEu commented Aug 7, 2020

So far we had a couple of phones where the trips suddenly start staying in draft mode.
The only way to solve this was to reinstall the app.

I first checked the pipeline logs and tried a user-specific pipeline run but nothing seems to be wrong there (as far as I can tell).

Then I tried a force sync on the client (and I could see on the server console the "POST userchache/get ...")
Everything seems to be working, except the trips stay in draft mode.

Finally I checked the user cache on the server and the trips don't appear to be there. For the affected uuids I only see "background/location" entries up to a certain date (the date where the trips start staying in draft mode).
After that date the only user cache entries for the affected uuids are the ones with the keys "stats/pipeline_time" or "stats/server_api_time".
So my guess is that the phone suddenly stopped sending the data to the server for some reason.

Do you have any advice on how to fix this or how to find out what is causing this?

@shankari
Copy link
Contributor

shankari commented Aug 8, 2020

@EstherEu If you search for "draft mode" in the existing issues
https://github.com/e-mission/e-mission-docs/issues?q=is%3Aissue+draft+mode+is%3Aclosed

you might see that this (#283) is similar. Have you checked to see if it is the same problem?

Note also from (#443) that this is fixed in the more recent versions of the app. If that is indeed the problem, I would recommend upgrading instead of bumping up the ngnix RP payload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants