Closed Bug 726088 Opened 12 years ago Closed 12 years ago

"canceling and rescheduling sync because it ran too long"

Categories

(Firefox for Android Graveyard :: Android Sync, defect, P3)

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: nhirata, Unassigned)

References

Details

Attachments

(1 file)

Attached file logcat
When trying to sync with a Sony Ericsson, asset does not match:


02-10 18:53:36.080: D/dalvikvm(1778): GC freed 8878 objects / 861376 bytes in 134ms
02-10 18:53:37.010: E/vending(1778): [41] UpdateTask.doInBackground(): Image response asset ID 5084781000954763510, no matching asset response
02-10 18:53:37.210: I/ActivityManager(1158): Starting activity: Intent { act=android.settings.ACCOUNT_SYNC_SETTINGS cmp=com.android.providers.subscribedfeeds/com.android.settings.AccountSyncSettings (has extras) }
02-10 18:53:37.240: V/SyncSettings(1158): Got account: Account {name=nh.test.008@gmail.com, type=org.mozilla.firefox_sync}
Note: I don't see any of the bookmarks imported in Fennec.
The log tag "vending" is nothing to do with us; that's some Android daemon.

There are oddities in the log, such as:

  Could not find method android.util.Base64.encode, referenced from method ch.boye.httpclientandroidlib.impl.auth.BasicScheme.authenticate

and:

handleSyncHandlerMessage: sync context doesn't match, dropping: mActiveSyncContext null != startTime 182734050, mTimeoutStartTime 182734050, mHistoryRowId 211, syncOperation authority: org.mozilla.fennec_aurora.db.browser account: Account {name=nh.test.008@gmail.com, type=org.mozilla.firefox_sync} extras: [] syncSource: 0 when: 182734012 delay: 0 key: {authority: org.mozilla.fennec_aurora.db.browser account: Account {name=nh.test.008@gmail.com, type=org.mozilla.firefox_sync} extras: []} pendingOperation: android.content.SyncStorageEngine$PendingOperation@45c7fc90


but here's the problem:

canceling and rescheduling sync because it ran too long: authority: org.mozilla.fennec_aurora.db.browser account: Account {name=nh.test.008@gmail.com, type=org.mozilla.fir

Well, that explains it.
Summary: When trying to sync with a Sony Ericsson, asset does not match. → "canceling and rescheduling sync because it ran too long"
(In reply to Richard Newman [:rnewman] from comment #2)
> The log tag "vending" is nothing to do with us; that's some Android daemon.
> 
> There are oddities in the log, such as:
> 
>   Could not find method android.util.Base64.encode, referenced from method
> ch.boye.httpclientandroidlib.impl.auth.BasicScheme.authenticate
> 

The Xperia is running Android 2.1 (API level 7). android.util.Base64 requires API level 8 [1]

[1] - http://developer.android.com/reference/android/util/Base64.html
This sounds like it is below our supported version and beyond our control. Is there anything we can do?
(In reply to :Ally Naaktgeboren from comment #4)
> This sounds like it is below our supported version and beyond our control.
> Is there anything we can do?

We could ship our own Android base64 lib. I'd be happier to just push on Bug 662891.
Priority: -- → P3
Blocks: 730637
Filed Bug 730637 to track Base64.

Gonna INCOMPLETE this one, because addressing the system 5-minute timeout seems like a fool's errand.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
Product: Mozilla Services → Android Background Services
Product: Android Background Services → Firefox for Android
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: