sync failing and retries in a loop

Bug #1380094 reported by Bill Filler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sync-monitor
Fix Released
High
Renato Araujo Oliveira Filho
address-book-service (Ubuntu RTM)
Fix Released
Critical
Renato Araujo Oliveira Filho
sync-monitor (Ubuntu RTM)
Fix Released
High
Renato Araujo Oliveira Filho

Bug Description

I'm on build 95 rtm-proposed on krillin

Something happened in the past few days that is causing my sync to be broken. In checking the log, the sync fails and then retries again and this goes on, never stops.

Sync Report
  "dir" : "/home/phablet/.cache/syncevolution/google_+contacts_+3-2014-10-11-09-24"
  "end" : "1413033985"
  "error" : "error code from SyncEvolution remote, status 400: PUT: bad HTTP status: <status 1.1, code 400, class 4, Bad Request>"
  "peer" : "google-contacts-3"
  "source-contacts__uoa__3-backup-after" : "-1"
  "source-contacts__uoa__3-backup-before" : "-1"
  "source-contacts__uoa__3-first" : "false"
  "source-contacts__uoa__3-mode" : "slow"
  "source-contacts__uoa__3-resume" : "false"
  "source-contacts__uoa__3-status" : "400"
  "start" : "1413033883"
  "status" : "400"
"[10/11/14 9:26 AM] Sync done: <email address hidden> (contacts) Status: 400 Error: Unknown status Duration: 102s"

Related branches

Revision history for this message
Bill Filler (bfiller) wrote :
Revision history for this message
Bill Filler (bfiller) wrote :
Revision history for this message
Bill Filler (bfiller) wrote :
Changed in sync-monitor:
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
importance: Undecided → Critical
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

try to disable and enable the sync on UOA settings page.

Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

looks like a authentication problem;

Revision history for this message
Bill Filler (bfiller) wrote :

Besides the sync failing, we shouldn't continuous retry as this is just an endless loop. Lets please put some limit on the retries before aborting.

Revision history for this message
Bill Filler (bfiller) wrote :

Seems like something in my database must be causing the problem. I added the uphablet account and I can sync that file. But my account is somehow corrupted or there is a contact in my database that is causing the failure. I was testing importing and exporting of vcards. Maybe a contact was created incorrectly in the local database and that is causing sync fallure? if you look at attached html log and search for "abort" it looks like the command "Add" failed for some reason.

Revision history for this message
Bill Filler (bfiller) wrote :

Ok got it. I you create a contact on ubuntu phone with just a phone number and nothing else it will cause this failure condition.

tags: added: rtm14
tags: added: touch-2014-10-23
Revision history for this message
Bill Filler (bfiller) wrote :

And to make things worse, I cannot edit this contact (: When I open it I have a null header at the top of the page and must quit the app to get back.

Bill Filler (bfiller)
Changed in sync-monitor:
status: New → In Progress
Bill Filler (bfiller)
Changed in address-book-service (Ubuntu RTM):
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package address-book-service - 0.1.1+14.10.20141023~rtm-0ubuntu1

---------------
address-book-service (0.1.1+14.10.20141023~rtm-0ubuntu1) 14.09; urgency=low

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Renato Araujo Oliveira Filho ]
  * Make sure that the full name always get updated with some value.
    (LP: #1380094)
 -- Ubuntu daily release <email address hidden> Thu, 23 Oct 2014 16:19:48 +0000

Changed in address-book-service (Ubuntu RTM):
status: In Progress → Fix Released
Bill Filler (bfiller)
Changed in sync-monitor:
importance: Critical → High
Bill Filler (bfiller)
Changed in sync-monitor (Ubuntu RTM):
importance: Undecided → High
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sync-monitor - 0.1+15.04.20141106.1~rtm-0ubuntu1

---------------
sync-monitor (0.1+15.04.20141106.1~rtm-0ubuntu1) 14.09; urgency=low

  [ Ubuntu daily release ]
  * New rebuild forced

  [ Renato Araujo Oliveira Filho ]
  * Check for network connection before sync. Append sync request to run
    later if no network. (LP: #1380094)
  * Do not start sync monitor with upstart. The sync monitor will be
    started by the dbus service only when requested by apps. (LP:
    #1384707)
 -- Ubuntu daily release <email address hidden> Thu, 06 Nov 2014 14:17:13 +0000

Changed in sync-monitor (Ubuntu RTM):
status: In Progress → Fix Released
Changed in sync-monitor:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.