Closed Bug 716123 Opened 13 years ago Closed 12 years ago

J-PAKE setup doesn't complete

Categories

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

ARM
Android
defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rnewman, Assigned: liuche)

Details

Sits at "waiting for device" forever.

01-06 16:09:32.329 D/JPakeClient( 8673): Computing final round.
01-06 16:09:32.337 D/JpakeCrypto( 8673): final round started
01-06 16:09:32.368 D/dalvikvm( 8673): GC_CONCURRENT freed 975K, 37% free 17122K/26887K, paused 1ms+3ms
01-06 16:09:32.439 D/JpakeCrypto( 8673): *** ZKP SUCCESS ***
01-06 16:09:32.509 D/JpakeCrypto( 8673): final round finished; returning key
01-06 16:09:32.509 D/JPakeClient( 8673): Encrypting key verification value.
01-06 16:09:32.509 D/JPakeClient( 8673): enc key64: 78vE4HsAQTxeJFju3VWpa8b+R+QwHXFDOCqNSnnupj4=
01-06 16:09:32.509 E/JPakeClient( 8673): hmac64: HsKqhcUJLKpUcyQNVkztcGt4P4GyQEW2fASeYE1PDW4=
01-06 16:09:32.509 D/JPakeClient( 8673): Uploading message.
01-06 16:09:32.509 D/JPAKE_REQUEST( 8673): new URI: https://setup.services.mozilla.com/t8gj
01-06 16:09:32.509 I/BaseResource( 8673): HTTP PUT https://setup.services.mozilla.com/t8gj
01-06 16:09:32.509 D/class ch.boye.httpclientandroidlib.impl.client.DefaultHttpClient( 8673): Stale connection check
01-06 16:09:32.509 D/class ch.boye.httpclientandroidlib.client.protocol.RequestAuthCache( 8673): Auth cache not set in the context
01-06 16:09:32.626 I/BaseResource( 8673): Response: HTTP/1.1 200 OK
01-06 16:09:32.626 D/JPAKE_REQUEST( 8673): new URI: https://setup.services.mozilla.com/t8gj
01-06 16:09:32.626 I/JPakeClient( 8673): scheduling 2xPollInterval for VERIFY_KEY
01-06 16:09:32.626 I/ActivityManager(  180): START {cmp=org.mozilla.fennec_rnewman/org.mozilla.gecko.sync.setup.activities.SetupWaitingActivity} from pid 8673
01-06 16:09:32.634 D/JPakeClient( 8673): outgoing: {"type":"receiver3","payload":{"ciphertext":"oN6eqcCnmBGkUgFMkjxeqw8DtjACVhCLCuuIUkUR9VY=","IV":"LiKkiJrO+MJmLwUAPttT9Q=="},"version":3}
01-06 16:09:32.697 D/dalvikvm(  180): GC_FOR_ALLOC freed 1191K, 13% free 19410K/22215K, paused 44ms
01-06 16:09:32.704 D/JPakeClient( 8673): aborting...
01-06 16:09:32.704 D/JPakeClient( 8673): jpake.error.userabort
01-06 16:09:32.704 D/JPakeClient( 8673): reporting error to server
01-06 16:09:32.704 D/SetupSync( 8673): abort reason: jpake.error.userabort
01-06 16:09:32.704 D/JPAKE_REQUEST( 8673): new URI: https://setup.services.mozilla.com/report
01-06 16:09:32.704 I/BaseResource( 8673): HTTP POST https://setup.services.mozilla.com/report
01-06 16:09:32.704 D/class ch.boye.httpclientandroidlib.impl.client.DefaultHttpClient( 8673): Stale connection check
01-06 16:09:32.704 D/class ch.boye.httpclientandroidlib.client.protocol.RequestAuthCache( 8673): Auth cache not set in the context
01-06 16:09:32.728 I/WindowManager(  180): createSurface Window{41dcb4f8 org.mozilla.fennec_rnewman/org.mozilla.gecko.sync.setup.activities.SetupWaitingActivity paused=false}: DRAW NOW PENDING
01-06 16:09:32.736 I/BaseResource( 8673): Response: HTTP/1.1 200 OK
01-06 16:09:33.009 I/ActivityManager(  180): Displayed org.mozilla.fennec_rnewman/org.mozilla.gecko.sync.setup.activities.SetupWaitingActivity: +307ms
01-06 16:09:34.634 I/BaseResource( 8673): HTTP GET https://setup.services.mozilla.com/t8gj
01-06 16:09:34.634 D/class ch.boye.httpclientandroidlib.impl.client.DefaultHttpClient( 8673): Stale connection check
01-06 16:09:34.634 D/class ch.boye.httpclientandroidlib.client.protocol.RequestAuthCache( 8673): Auth cache not set in the context
01-06 16:09:34.689 I/BaseResource( 8673): Response: HTTP/1.1 200 OK
Was prematurely terminating J-Pake, after implementing a fix for another case of bug 711797. Fix pushed to github android-sync.
github fix links:

1. Correct timeout usage for completing pairing when creating a new account:
https://github.com/mozilla-services/android-sync/commit/9485f509d570831c458ec3bc1ea7dd91520395ad

and

2. Make flow of setup more consistent, so it does not terminate prematurely.
https://github.com/mozilla-services/android-sync/commit/45ff36888d43638058df21f0178465b3a0b872e7
Whiteboard: [fixed in services]
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in services]
Sync via J-PAKE is working as expected. Verified fixed.
Build: Firefox 14.0a1(2012-03-27)
Device: LG Optimus 2X (Android 2.2)
Status: RESOLVED → VERIFIED
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.