Contacts sync always fails with SyncException(com.funambol.syncml.spds.SyncException: Server responded 511 to command SyncHdr [])

Bug #681190 reported by Matteo Settenvini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
the Ubuntu One Android contacts sync client
New
Undecided
Unassigned

Bug Description

Hi,

running the UbuntuOne Contact Sync on my Android phone always results in a failure. This is happening every single time I sync since October (more or less after it became a pay-per-use service), but I hoped it was somewhat a temporary problem, so I tried to wait a little while before reporting this bug.

Could maybe be related to: https://bugs.launchpad.net/ubuntuone-servers/+bug/423353

The relevant part of the synclog.txt log file is:

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [DEBUG] [SyncManager] Processing Status for <SyncHdr> command.

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [ERROR] [SyncManager] Server responded 511 to command SyncHdr []

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [ERROR] [SyncManager] SyncException(com.funambol.syncml.spds.SyncException: Server responded 511 to command SyncHdr [])

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [ERROR] com.funambol.syncml.spds.SyncException: Server responded 511 to command SyncHdr []
 at com.funambol.syncml.spds.SyncManager.processModifications(SyncManager.java:1673)
 at com.funambol.syncml.spds.SyncManager.sync(SyncManager.java:528)
 at com.funambol.client.engine.SyncEngine.fireSync(SyncEngine.java:515)
 at com.funambol.client.engine.SyncEngine$SyncThread.synchronize(SyncEngine.java:443)
 at com.funambol.client.engine.SyncEngine$SyncThread.sync(SyncEngine.java:369)
 at com.funambol.client.engine.SyncEngine.synchronize(SyncEngine.java:247)
 at com.funambol.client.engine.SyncEngine.sync(SyncEngine.java:143)
 at com.funambol.push.SyncScheduler.callListener(SyncScheduler.java:268)
 at com.funambol.push.SyncScheduler.doSync(SyncScheduler.java:230)
 at com.funambol.push.SyncScheduler.addRequest(SyncScheduler.java:88)
 at com.funambol.client.controller.SynchronizationController.continueSynchronizationAfterFirstSyncDialog(SynchronizationController.java:538)
 at com.funambol.android.controller.AndroidHomeScreenController.continueSynchronizationAfterFirstSyncDialog(AndroidHomeScreenController.java:500)
 at com.funambol.client.controller.SynchronizationController.continueSynchronizationAfterBandwithSaverDialog(SynchronizationController.java:464)
 at com.funambol.client.controller.SynchronizationController.forceSynchronization(SynchronizationController.java:381)
 at com.funambol.android.controller.AndroidHomeScreenController.synchronize(AndroidHomeScreenController.java:183)
 at com.funambol.client.controller.SynchronizationController.synchronize(SynchronizationController.java:261)
 at com.funambol.client.controller.SynchronizationController.synchronize(SynchronizationController.java:245)
 at com.funambol.android.services.AbstractSyncAdapterService.synchronize(AbstractSyncAdapterService.java:364)
 at com.funambol.android.services.AbstractSyncAdapterService.access$400(AbstractSyncAdapterService.java:86)
 at com.funambol.android.services.AbstractSyncAdapterService$SyncAdapterImpl.onPerformSync(AbstractSyncAdapterService.java:172)
 at android.content.AbstractThreadedSyncAdapter$SyncThread.run(AbstractThreadedSyncAdapter.java:159)

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [TRACE] [SyncManager] getting listener status for 511

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [DEBUG] [SyncManager] Ending session (141)

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [TRACE] [UISyncSourceController] endSession

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [INFO]
==================================================================
| Syncrhonization report for
| Local URI: contacts - Remote URI:card
| Requested sync mode: 200 - Alerted sync mode:201
|-----------------------------------------------------------------
| Changes received from server
|-----------------------------------------------------------------
| Add: 0
| Replace: 0
| Delete: 0
| Total errors: 0
|-----------------------------------------------------------------
| Changes sent to server
|-----------------------------------------------------------------
| Add: 0
| Replace: 9
| Delete: 0
| Total errors: 0
|-----------------------------------------------------------------
| Global sync status: 141
==================================================================

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [DEBUG] [UISyncSourceController] getLastSyncStatus Sync not completed

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [TRACE] [AndroidButtonUISyncSource] syncEnded, stopping any spinning icon

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [TRACE] [AppSyncSourceConfig] Committing config for: Contacts

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [DEBUG] [AppSyncSourceConfig] Storing SourceConfig for Contacts

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [TRACE] [Sourceconfig.serialize] contacts serializing. LastAnchor = 0 NextAnchor = 1290502613692

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [TRACE] [Controller] Reapplying configuration for source Contacts

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [TRACE] [HomeScreenController] updateEnabledSources

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [TRACE] [AppSyncSourceManager] getWorkingSources

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [TRACE] [AppSyncSourceManager] Sorting Sources

Tue Nov 23 09:57:27 Europe/Sarajevo 2010 [TRACE] [AppSyncSourceManager] Returning sorted Sources: 3

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [TRACE] [SynchronizationController] sourceFailed

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [TRACE] [HomeScreenController] sync ended

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [DEBUG] [UISyncSourceController] getLastSyncStatus Last sync failed

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [TRACE] [HomeScreenController] forceUpdateAvailableSources

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [TRACE] [AppSyncSourceManager] getRegisteredSources

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [DEBUG] [HomeScreenController] Number of visible sources: 1

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [DEBUG] [HomeScreenController] Setting source Contacts at position: 0

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [TRACE] [AppSyncSourceManager] getRegisteredSources

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [DEBUG] [HomeScreenController] Setting source at index: 0

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [DEBUG] [AndroidHomeScreen] Focus moved to item: 0

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [DEBUG] [AutoSyncSwitcher] Switching to native auto sync

Tue Nov 23 09:57:28 Europe/Sarajevo 2010 [DEBUG] [UISyncSourceController] getLastSyncStatus Last sync failed

Revision history for this message
Matteo Settenvini (tchernobog) wrote :

Sorry for bothering again, but given I'm a monthly subscriber, I'd prefer not to pay for something that doesn't fulfill my needs since months, even if the price is low. I don't mean to sound harsh, but when you're selling a service, you have to care for your customers to keep them.

Revision history for this message
Pascal Sachs (psachs) wrote :

I think I had a similar problem. After a couple of contacts it stopped sync with an error. I had to delete all contacts (data from ubuntu one contacs under preferences->applications) and then import them again from a previously saved vcard. Then it started to work again.

Probably this solves your problem as well, but I agree, this issue should be fixed.

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.