Sync failure?

CityStrides Profile Link

Message

So, as a supporter, I always use the Sync feature (once a day?) right after I complete and upload my runs in my Runkeeper.

For years it hasn’t failed, but I noticed that lately, it was a bit lag. I had to close the app, then wait for a few minutes to see the new activity was updated in my profile.

The map takes much longer to update the new lines - in a few hours (is this normal for all? It used to be almost instantly to update).

But my last two activities have not been added/updated yet in my CS profile since May 1st (I had entries on May 2 and May 4) and I have resent activities in my Runkeeper, as well as Sync in CS. Nothing happens.

What’s going on here?

A couple things are going on…

For the LifeMap, that underlying infrastructure was rebuilt in February. It used to be served on the fly, straight from the database, but that became very taxing. I changed it to build after each saved activity, so the database load is much lighter but there can now be delays. The Status page displays any relevant wait times (right now, the LifeMap rebuild is 3hrs delayed for free accounts and a few seconds for paid).
There’s also a cache present, so if you view your LifeMap then sync an activity in then it’ll take ~5 minutes for that cache to clear from when you viewed the LifeMap without that data present.

For activity syncing, Runkeeper has been having some troubles lately. It seems like they just cleaned up their issues today, while things seemed pretty broken all weekend.
:thinking: I tried pushing a sync for your account through, and new activities didn’t arrive … I spent a few minutes poking at things & eventually got your May 3 & 4 activities in.
Let’s see how your next few activities go … with the trouble they’ve had over the weekend, I don’t know that it makes sense for me to spend more time on this issue right now.

No, unfortunately it still has issues with sync-ing.

I had an entry yesterday the 5th and I resent it a few times through Runkeeper and then Sync Now button in CS. But today on the 6th, it’s still missing :disappointed_face:

Is there anything I can do to make it updated? Other than wait and see what Runkeeper would do?

Runkeeper is having issues again/still … it’s a pain that they don’t have a status page & their main site/app aren’t affected by this outage - there’s no way for you to see whether the sync requests are successful or not, at least without me building a system to collect/show that info :sweat_smile:

I think I might recommend that you use the single activity sync feature in the Activity Trackers section of your Settings page (top left menu in the site). This is a more direct sync, compared to the “sync now” which collects a page of data & requires multiple API calls (which makes it more likely to fail, in their current state).

Yeah unfortunately it hasn’t improved :confused: My last update activity was from May 4th: 5 days ago.

I tried to do both ‘Sync’ and 'Sync Now’s features and neither of them work.

What else can I do, other than waiting for some uncertainty?

Yeah, this is a really bad situation - their API is producing a lot of errors.
Right now your only option is to shout here to see if I can get lucky with manually running the sync code. I just tried & Runkeeper is just producing timeout errors. :anxious_face_with_sweat:
You might have better luck with the single activity sync feature, that’s in the Activity Trackers section of the Settings page. This single activity sync will retry on failure, while the full account ‘sync now’ won’t (see below).

Overall, I need to improve sync status visibility. I also just noticed some error handling that wasn’t working as expected, so I will be able to hold onto ‘sync now’ requests in the future (right now, failed attempts just go away … after I can get the code released, failed attempts will retry in 16-20mins until successful).

The good news is that I did what you said (from the link), and it was updating my activities till then.

Unfortunately this morning I had another run activity and it is still not updating after both Sync and Sync Now, so should I do the single tracking activities (including logging out and relogging in) say, once a week?

Thank you for all your hard work, James!

You don’t need to log out.

Unfortunately, until their issues are resolved, I’d suggest trying the “sync now” entry from the top right menu (since that’s the easiest) and if the activity doesn’t display after a few moments, then the single activity sync entry in the Settings page would be a good next step.

I’ll post again after I get the retry system in place … that’ll let you just use the “sync now” and it’ll retry until it’s successful.

I emailed their support team to see what’s up… if I get any helpful info back I’ll share it here.

I’m in the middle of another project, but once that’s done I’ll look into adding more sync visibility.