Closed Bug 1377838 Opened 7 years ago Closed 7 years ago

[Train 90] Sync doesn't work on the staging server

Categories

(Cloud Services :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: u549602, Unassigned)

Details

(Keywords: qablocker)

Device: Android
Build: Any
Server : Stage (train 90)

STR:

1. Log in with the same account on multiple devices
2. Sync devices

Expected: Sync should be performed and the devices are synced.

Actual: Sync doesn't work
:bobm, any known issues with sync in stage at the moment?

:Ninu, any chance you can grab an adb log for further debugging here, following http://160.twinql.com/how-to-file-a-good-android-sync-bug/ ?
Flags: needinfo?(mihai.ninu)
Flags: needinfo?(bobm)
FWIW I'm able to successfully sync between Nightly on desktop and Nightly on android with the staging server, so the problem may be device or firefox-version specific :-(
Hi Ryan,

Here is the Logcat off the sync process on a samsung Galaxy S6 EDGE running on Android 7.0 with the latest beta build (55.0b5) https://pastebin.mozilla.org/9026223 

And this one is the logcat on a Nexus 6P on Android 8 where the Sync Now button doesn't do anything https://pastebin.mozilla.org/9026224 (Also using the latest beta build)
Flags: needinfo?(mihai.ninu)
:grisha, any red flags in the above debug logs?  I don't know enough about them to know whether the errors therein are expected or not.
Flags: needinfo?(gkruglov)
(In reply to Mihai Ninu {:Ninu} from comment #3)
> Hi Ryan,
> 
> Here is the Logcat off the sync process on a samsung Galaxy S6 EDGE running
> on Android 7.0 with the latest beta build (55.0b5)
> https://pastebin.mozilla.org/9026223 

This log is a bit strange, I'll retain the NI to take a proper look once I'm back from the holidays. On one hand things are working - bunch of data was synced, on another hand we're seeing async 401 errors (code 104) from the OAuth server.

> And this one is the logcat on a Nexus 6P on Android 8 where the Sync Now
> button doesn't do anything https://pastebin.mozilla.org/9026224 (Also using
> the latest beta build)

This is fixed in Bug 1365865.
> On one hand things are working - bunch of data was synced

Interesting.  :Ninu, when you say "Sync doesn't work" for this device, what symptoms was it showing?

> on another hand we're seeing async 401 errors (code 104) from the OAuth server

I wonder if the phone is trying to talk to the prod oauth-server using an assertion from the stage auth-server, which might explain an auth issue here.  :Ninu, could you please double-check the "identity.fxaccounts.remote.oauth.uri" config value for this device?
Hi Ryan,

Checked again the "identity.fxaccounts.remote.oauth.uri"  pref and it's https://oauth.stage.mozaws.net/v1 .

Following on Grisha's comment  "This is fixed in Bug 1365865.", I can confirm that on the latest Nightly build, the sync is working on Android O(the Nexus), waiting for the Beta build to test it also. 

@ Ryan: as a reply to "Ninu, when you say "Sync doesn't work" for this device, what symptoms was it showing?" - Pressing the sync now button did absolutely nothing. it had visual feedback that it was pressed, but upon release no change of state.
:Ninu - Is Sync now working for you against prod or stage using Android O?
Flags: needinfo?(mihai.ninu)
Hi Shane,

On Android O the problems are still occurring on Beta(used latest 55.0b7) Stage and Prod, Could not reproduce these issues on the latest Nightly build (56.0a1 - 2017-07-06) on both Stage and Prod. 

On the other hand, Sync now works on my Samsunga Galaxy S6 EDGE (Android N) on all builds/servers
Flags: needinfo?(mihai.ninu)
(In reply to Mihai Ninu {:Ninu} from comment #9)
> Hi Shane,
> 
> On Android O the problems are still occurring on Beta(used latest 55.0b7)
> Stage and Prod, Could not reproduce these issues on the latest Nightly build
> (56.0a1 - 2017-07-06) on both Stage and Prod. 
> 
> On the other hand, Sync now works on my Samsunga Galaxy S6 EDGE (Android N)
> on all builds/servers

I'd expect 55 to work with Android O. If the beta is still not working for you, can you please attach adb logcat logs as you try to sync?
Flags: needinfo?(gkruglov)
See Comment 10.
Flags: needinfo?(mihai.ninu)
Hi Grisha,

Could not reproduce the issue by using the same nexus with android O and the 55.0b8 build.
Flags: needinfo?(mihai.ninu)
Can we close this out?
Flags: needinfo?(bobm)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.