Closed
Bug 568136
Opened 15 years ago
Closed 15 years ago
Migration requires client to check for a node again after a 401.
Categories
(Firefox :: Sync, defect)
Firefox
Sync
Tracking
()
RESOLVED
FIXED
1.4
People
(Reporter: zandr, Assigned: Mardak)
Details
(Whiteboard: [fixed-1.3.1])
Attachments
(1 file, 2 obsolete files)
|
4.11 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
When we migrate users we change their primaryNode in LDAP. This means that sync attempts against the old node will 401.
Disconnect/Reconnect is sufficient to make things work again, but this needs to be seamless.
Per mconnor, right solution it to catch a 401 during sync and log out/log in.
Updated•15 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → 1.4
| Assignee | ||
Comment 1•15 years ago
|
||
Assignee: nobody → edilee
Attachment #449144 -
Flags: review?(mconnor)
Comment 2•15 years ago
|
||
Comment on attachment 449144 [details] [diff] [review]
v1
other places to deal with off the top of my head:
* heartbeat
* fx tabs page
* fennec tabs page
Attachment #449144 -
Flags: review?(mconnor) → review-
| Assignee | ||
Comment 3•15 years ago
|
||
Components.utils.import("resource://weave/service.js"); Weave.Service.clusterURL = "https://sj-weave06.services.mozilla.com/";
doing a sync:
2010-06-03 17:41:57 Service.Main DEBUG Caching URLs under storage user base: https://sj-weave06.services.mozilla.com/1.0/edtest/
2010-06-03 17:42:02 Net.Resource DEBUG GET fail 401 https://sj-weave06.services.mozilla.com/1.0/edtest/info/collections
2010-06-03 17:42:02 Service.Main DEBUG Finding cluster for user edtest
2010-06-03 17:42:03 Net.Resource DEBUG GET success 200 https://auth.services.mozilla.com/user/1.0/edtest/node/weave
2010-06-03 17:42:03 Service.Main DEBUG cluster value = https://sj-weave07.services.mozilla.com/
2010-06-03 17:42:03 Service.Main DEBUG Caching URLs under storage user base: https://sj-weave07.services.mozilla.com/1.0/edtest/
2010-06-03 17:42:03 Net.Resource DEBUG GET success 200 https://sj-weave07.services.mozilla.com/1.0/edtest/info/collections
Attachment #449144 -
Attachment is obsolete: true
Attachment #449162 -
Flags: review?(mconnor)
| Assignee | ||
Comment 4•15 years ago
|
||
Attachment #449162 -
Attachment is obsolete: true
Attachment #449163 -
Flags: review?(mconnor)
Attachment #449162 -
Flags: review?(mconnor)
Comment 5•15 years ago
|
||
Comment on attachment 449163 [details] [diff] [review]
v2.1
yeah, that's good. doing our own URL munging makes me twitchy, but I think it's okay and necessary here.
Attachment #449163 -
Flags: review?(mconnor) → review+
| Assignee | ||
Comment 6•15 years ago
|
||
http://hg.mozilla.org/labs/weave/rev/5346547346ae
Allow observers to watch for resource 401s and to specify a new uri to request. Test to make sure "weave:resource:status:401" gets notified and resource handles uri changes.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 7•15 years ago
|
||
For 1.3.x branch
http://hg.mozilla.org/labs/weave/rev/77c464bd3f3a
Allow observers to watch for resource 401s and to specify a new uri to request.
Whiteboard: [fixed-1.3.1]
Updated•7 years ago
|
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in
before you can comment on or make changes to this bug.
Description
•