Closed Bug 1033195 Opened 10 years ago Closed 10 years ago

[tarako] unable to sync contacts from facebook

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect, P1)

x86_64
Linux
defect

Tracking

(blocking-b2g:1.3T+, b2g-v1.3T affected)

VERIFIED FIXED
blocking-b2g 1.3T+
Tracking Status
b2g-v1.3T --- affected

People

(Reporter: angelc04, Unassigned)

References

Details

(Whiteboard: [sprd326829][partner-blocker])

Steps to reproduce
--------------------------------------------------------------------
1. Launch Contacts
2. Tap on the setting icon on top right
3. Try to enable "Sync Friends"
   --> Unable to load m.facebook.com. Tap on "Retry", I get error message: "Unable to Connect: Firefox has detected that the server is redirecting the request for this address in a way that will never complete.".

Note: I can connect to facebook using browser and facebook app. So it's not network problem.

This error happens after facebook changed to low-fi version for tarako.
Whiteboard: [sprd326829][partner-blocker]
Test build:
---------------------------------------------------------------------------------------
Gaia 3c896abb05d95ebe3d66634d014dac03a05f4caf
Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/f8a929882cb0
BuildID 20140630014001
Version 28.1
ro.build.version.incremental=eng.cltbld.20140630.045332
ro.build.date=Mon Jun 30 04:53:41 EDT 2014
we have removed the user agent override for facebook
can you test it again?
(In reply to ying.xu from comment #2)
> we have removed the user agent override for facebook
> can you test it again?

I tested on the latest build again. But still have the same problem. 

Test build
--------------------------------------------------------------------------------------
Gaia      366bf651ac320c8ccc458f08ece01f2b8aadfa1c
Gecko     https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/226e21f9d53f
BuildID   20140701164004
Version   28.1
ro.build.version.incremental=eng.cltbld.20140701.200837
ro.build.date=Tue Jul  1 20:08:44 EDT 2014
Severity: normal → blocker
Priority: -- → P1
It's MP blocker issue.
Severity: blocker → normal
Flags: needinfo?(wchang)
Flags: needinfo?(ryang)
Priority: P1 → --
Severity: normal → blocker
Priority: -- → P1
Console log shows: ""Error, while retrieving friends" "(#602) phones is not a member of the user table." importer_ui.js 567
It happened because facebook api has been changed.
See Also: → 1007019
Flags: needinfo?(wchang)
Likely due to the special treatments that facebook is feeding to the tarako UA.
1.3T+ needed for Tarako
ni? Thomas Elin for further input. thanks
blocking-b2g: 1.3T? → 1.3T+
Flags: needinfo?(telin)
might because of FB low-fi version. already send devices to FB for further investigation.
Flags: needinfo?(ryang)
Hi,

Just tried on a Tarako, and after setting the date correctly, we I was able to import contacts perfectly.

I'm requesting QA for this bug, since it looks like a Facebook problem that now I'm not able to reproduce.

Thanks!
Most of QA is no longer working on QA Wanted bugs for Tarako. You'll need to needinfo the reporter to get support at this point, so I'm putting a needinfo on Peipei to look into comment 9.
Flags: needinfo?(pcheng)
Keywords: qawanted
FB should have their Tarako today and are aware of this issue. 

@Lisa- Can you review the fix in Comment 9? It would be great to understand if this is still a concern.
Flags: needinfo?(telin) → needinfo?(adora)
I'm still getting the redirect error.  Verified that time and date are set correctly on device.
Flags: needinfo?(adora)
I tested on today's pvt build(both user build and eng build) but still see this redirecting problem. 
The system date/time is correct. And I can open m.facebook.com from browser successfully. Also facebook app can be installed and launched from marketplace.

I checked adb log, but there is no useful information there. Please let me know what log I need to get.

Test Build
-------------------------------------------------------------------------------
│ Gaia      64716f3f6dd79c40ae79ccaf96ebd51645694ce3                           │  
│ Gecko                                                                        │  
│ https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/0c6e9a70115e         │  
│ BuildID   20140703164010                                                     │  
│ Version   28.1
Flags: needinfo?(pcheng)
Flags: needinfo?(kkuo)
Harald,

Have we heard back from Facebook on this?

I experimented with an UA switcher on Firefox desktop today and confirmed that when using the Tarako UA:
1) we get lo-fi version - OK
2) OAuth fails with and infinite loop, can't even see the credential entry page.
Flags: needinfo?(hkirschner)
Facebook received the Tarako end of last week and will investigate the issues today.
Flags: needinfo?(hkirschner)
Flags: needinfo?(kkuo)
Facebook pushed a fix early this week which solves the oauth flow issue.
I just tested on latest build. I can sync facebook contacts to Contacts now.

James, could you please also ask sprd QA to verify?
Flags: needinfo?(james.zhang)
Marking as QAWANTED to do a final check with current facebook patch.

By the way I tried on tarako and works good.

Thanks!
Keywords: qawanted
(In reply to pcheng from comment #17)
> I just tested on latest build. I can sync facebook contacts to Contacts now.
> 
> James, could you please also ask sprd QA to verify?

Loop Ying, ask our SQA to verify this issue in daily test.
Flags: needinfo?(james.zhang) → needinfo?(ying.xu)
Hi! James, Ying,

Any update from your side?

--
Keven
Results from sprd SQA

sometimes "Exceeded timeout retrieving friends" are displayed.

But if we retried, it can succeed. 

No failed case happen.
Flags: needinfo?(ying.xu)
"Exceeded timeout retrieving friends" should be a network problem.


I verified this on following build. Syncing contacts from facebook always succeed.

Gaia      ddc4e82186e200592e91fe44cdc71a04ea0c2380
Gecko     https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/c89fe723e9e9          
BuildID   20140716164019  
Version   28.1
Keywords: qawanted
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.