Closed
Bug 1016456
Opened 11 years ago
Closed 11 years ago
Can't use Release and Aurora sync at the same time
Categories
(Firefox for Android Graveyard :: Android Sync, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
People
(Reporter: gerv, Unassigned)
Details
I have both Aurora and Release installed on my Android phone. I have set up a New Sync account on my desktop. I can log in to it with Release, and it syncs great.
However, my Aurora build keeps popping a "could not sign in" notification. If I touch the notification, it takes me to sync settings. I try to log in (same username and password), but it says "Could not sign in".
if I look in my Android settings, I have two "accounts" - one for Release and one for Aurora - and _both_ claim that they most recently synced 5 minutes ago! But I made an update to my bookmarks on desktop 10 minutes ago, and it's appeared in Release but not in Aurora. So the Aurora "last sync time" seems to be a lie.
I remember with old sync there were some rules about whether you could have multiple copies of Firefox on the same device. Is this a supported configuration?
Gerv
Comment 1•11 years ago
|
||
(In reply to Gervase Markham [:gerv] from comment #0)
> I have both Aurora and Release installed on my Android phone. I have set up
> a New Sync account on my desktop. I can log in to it with Release, and it
> syncs great.
>
> However, my Aurora build keeps popping a "could not sign in" notification.
> If I touch the notification, it takes me to sync settings. I try to log in
> (same username and password), but it says "Could not sign in".
>
> if I look in my Android settings, I have two "accounts" - one for Release
> and one for Aurora - and _both_ claim that they most recently synced 5
> minutes ago! But I made an update to my bookmarks on desktop 10 minutes ago,
> and it's appeared in Release but not in Aurora. So the Aurora "last sync
> time" seems to be a lie.
>
> I remember with old sync there were some rules about whether you could have
> multiple copies of Firefox on the same device. Is this a supported
> configuration?
This is correct, but we simplified this: now every version of Fennec has its own Account type, and they all work independently. So I'm surprised you're seeing anything different. One option is that we're launching an incorrect setup activity, but I doubt it.
adb logcat while you try to configure and Sync Aurora would be helpful.
OS: Linux → Android
Hardware: x86 → All
| Reporter | ||
Comment 2•11 years ago
|
||
This seems like the relevant bit, from when I try and sign in; let me know if you need more.
...
D/dalvikvm(14934): GC_CONCURRENT freed 934K, 30% free 7567K/10748K, paused 5ms+8ms, total 50ms
I/FxAccounts(14934): fennec_aurora :: FxAccountSetupTask :: Got success.
I/FxAccounts(14934): fennec_aurora :: FxAccountAbstractSetupActivity :: Got success response; adding Android account.
W/AccountManagerService( 2205): insertAccountIntoDatabase: Account {name=gerv@gerv.net, type=org.mozilla.fennec_aurora_fxaccount}, skipping since the account already exists
W/FxAccounts(14934): fennec_aurora :: FxAccountAbstractSetupActivity :: Got exception; showing error message: Could not sign in
W/FxAccounts(14934): java.lang.RuntimeException: Could not add Android account.
W/FxAccounts(14934): at org.mozilla.gecko.fxa.activities.FxAccountAbstractSetupActivity$AddAccountDelegate.handleSuccess(FxAccountAbstractSetupActivity.java:228)
W/FxAccounts(14934): at org.mozilla.gecko.fxa.activities.FxAccountSetupTask.onPostExecute(FxAccountSetupTask.java:77)
W/FxAccounts(14934): at org.mozilla.gecko.fxa.activities.FxAccountSetupTask$FxAccountSignInTask.onPostExecute(FxAccountSetupTask.java:147)
W/FxAccounts(14934): at android.os.AsyncTask.finish(AsyncTask.java:631)
W/FxAccounts(14934): at android.os.AsyncTask.access$600(AsyncTask.java:177)
W/FxAccounts(14934): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
W/FxAccounts(14934): at android.os.Handler.dispatchMessage(Handler.java:99)
W/FxAccounts(14934): at android.os.Looper.loop(Looper.java:137)
W/FxAccounts(14934): at android.app.ActivityThread.main(ActivityThread.java:5227)
W/FxAccounts(14934): at java.lang.reflect.Method.invokeNative(Native Method)
W/FxAccounts(14934): at java.lang.reflect.Method.invoke(Method.java:511)
W/FxAccounts(14934): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
W/FxAccounts(14934): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
W/FxAccounts(14934): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
W/FxAccounts(14934): at dalvik.system.NativeStart.main(Native Method)
Gerv
Comment 3•11 years ago
|
||
(In reply to Gervase Markham [:gerv] from comment #2)
> This seems like the relevant bit, from when I try and sign in; let me know
> if you need more.
>
> ...
> D/dalvikvm(14934): GC_CONCURRENT freed 934K, 30% free 7567K/10748K, paused
> 5ms+8ms, total 50ms
> I/FxAccounts(14934): fennec_aurora :: FxAccountSetupTask :: Got success.
> I/FxAccounts(14934): fennec_aurora :: FxAccountAbstractSetupActivity :: Got
> success response; adding Android account.
> W/AccountManagerService( 2205): insertAccountIntoDatabase: Account
> {name=gerv@gerv.net, type=org.mozilla.fennec_aurora_fxaccount}, skipping
> since the account already exists
> W/FxAccounts(14934): fennec_aurora :: FxAccountAbstractSetupActivity :: Got
> exception; showing error message: Could not sign in
> W/FxAccounts(14934): java.lang.RuntimeException: Could not add Android
> account.
That is the relevant bit. This looks an awful lot like we're trying to add the *same* Android account type, and that's wrong. You can't have two accounts of the same type with the same email address. You should be able to have two accounts of different types with the same email address. Can I get the versions of Release and Aurora you're using, and then I'll investigate?
| Reporter | ||
Comment 4•11 years ago
|
||
Release: 29.0.1
Aurora: 31.0a2 (2014-05-03)
Just retried with Aurora 31.0a2 (2014-05-27) and still couldn't sign in, although I didn't recheck the adb logcat.
Gerv
| Reporter | ||
Comment 5•11 years ago
|
||
More info in case it's relevant:
* At one point, this phone has had Nightly, Aurora, Beta and Release on it all at the same time, although now it doesn't have Beta or Nightly any more.
* This is CyanogenMod 10.1.3, based on Android 4.2.2.
Gerv
Comment 6•11 years ago
|
||
I can't confirm this on my Samsung Galaxy S2, Android 4.3.
I downloaded and installed Release from [1] and Aurora from [2]. No problem creating the same named account and Syncing with both. I can only suggest deleting both packages and starting fresh (which sucks if you actually use this phone), trying another device, or investigating a possible problem with Account types with CyanogenMod. Please re-open if you see this on additional devices, preferably stock Android.
[1] http://ftp.mozilla.org/pub/mozilla.org/mobile/releases/latest/android/multi/fennec-29.0.1.multi.android-arm.apk
[2] http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-aurora-android/fennec-31.0a2.multi.android-arm.apk
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Comment 7•11 years ago
|
||
AaronMT: if you got a moment, could you verify?
Flags: needinfo?(aaron.train)
Updated•11 years ago
|
Status: RESOLVED → VERIFIED
Flags: needinfo?(aaron.train)
| Reporter | ||
Comment 8•11 years ago
|
||
Yes, reinstalling both of them seems to have resolved it. :-)
Gerv
Updated•8 years ago
|
Product: Android Background Services → Firefox for Android
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•