Why Is My Sync Slow or Stuck?

Prev Next

Syncs run in the background. Sometimes a sync takes much longer than you expect, or looks as if it has stopped. This article explains what Tugger is doing during a long sync, why sync times vary, and when to get in touch.

Note: Tugger uses "tug" for a sync, the job that pulls your data from the source system into Tugger. To see what your connector is doing right now, open it from My Connectors and look at the Tug Status and Last Tug panels. Understanding Your Connector's Sync Status explains each status.

Why the first sync takes longer

Your first sync loads all of your history, starting from the Sync Historical Data From date you chose when you set up the connector. After that, each sync only needs to catch up on what has changed.

If your connector's Last Tug panel shows Data Tugged Up to, Tugger loads your history in date ranges. The line appears once the first date range has finished:

  • It loads one date range, then moves straight on to the next one. It doesn't wait for your sync schedule until it has caught up to today.
  • Data Tugged Up to moves forward each time a date range finishes. On a large account it can stay on the same date for a while.
  • Each finished date range is kept. If a sync fails or stops part way, the next attempt carries on from the last finished date range rather than starting again.

The further back your Sync Historical Data From date, the more there is to load, and the longer the first sync takes.

Why sync times vary

Tug Took in the Last Tug panel can be different from one sync to the next. These are the main reasons:

  • How much has changed. A busy day in your source system means more records to bring across.
  • The look-back period. To catch changes it might otherwise miss, each sync reads a recent period again, not just the time since the last sync. How long that period is depends on the connector. For some connectors it is several months.
  • Rate limits in your source system. See the next section.
  • Short outages in your source system. If your source system is briefly unavailable, Tugger waits and tries the request again a few times. If the problem carries on, the sync fails and Tugger tries again later (see below).

Rate limits in your source system

Most source systems limit how many requests an app can make in a given time. These limits are set by the source system, not by Tugger. When Tugger reaches the limit, the source system asks it to slow down.

When that happens, Tugger pauses and then sends the same request again:

  • If the source system says how long to wait, Tugger waits that long. A single pause is capped, at 2 hours for most connectors and less for some.
  • If the source system doesn't say, Tugger waits a short time and tries again. For some connectors the wait grows each time the limit is hit again.

Some source systems report their limits in their own way, and the connectors for those systems recognise it.

While Tugger is waiting, the connector still shows Tugging and nothing seems to move. This is normal. A large first sync or re-tug against a source system with strict limits can spend a lot of its time waiting.

Is my sync stuck?

Tugger doesn't stop a sync because it has been running for a long time. There is no maximum run time, so a long sync on a large account carries on until it has finished.

Tugger also looks after syncs that stop by themselves:

  • If a sync fails, Tugger tries again after about 15 minutes. If the problem is with signing in to your source system, it tries again after about 30 minutes.
  • If the sync stops unexpectedly, for example because a Tugger server restarts, Tugger starts it again automatically. For connectors that show Data Tugged Up to, it carries on from the last finished date range.

To check whether a long sync is making progress:

  1. Log in to Tugger at tuggerapp.com
  2. Click My Connectors, then the connector
  3. On the Summary tab, look at the Last Tug panel. If it shows Data Tugged Up to, check whether the date has moved forward since you last looked.

The page updates itself every minute, so you can leave it open.

If no sync is running at all

A connector doesn't sync when:

  • It is switched to Deactivated
  • Its setup isn't finished
  • The connection to your source system has dropped. Syncs keep failing until you reconnect.
  • Your account has reached its row limit. See Plans, Row Limits and Usage.
  • Your free trial has ended

Understanding Your Connector's Sync Status explains how to fix each of these.

Re-tugs load your full history again

A re-tug pulls your full history again, from your Sync Historical Data From date. So it has as much to load as your first sync had, or more if you have more data now.

Tugger picks up a re-tug request at its next check. That is within about 5 minutes when the connector is waiting for its next sync. If the last sync failed, it can take up to 15 minutes, or 30 minutes when the sign-in needs renewing. If a sync is already running, that sync finishes first. Tugger then pauses for a minute and starts loading your history, in the same way as a first sync. See How to Re-Tug.

Note: A re-tug doesn't make a slow sync faster. If a sync is slow because of rate limits in your source system, a re-tug has to read everything again under the same limits.

When to contact us

Contact us if:

  • During a first sync or a re-tug, Data Tugged Up to hasn't moved for several hours
  • Tug Successful shows No for several syncs in a row
  • Your connector is active and connected, but no sync has started for much longer than your sync schedule allows

Please quote your Support Pin, shown at the top right of every page, and the name of the connector.


Related articles