Closed Bug 746109 Opened 12 years ago Closed 12 years ago

Nightly got into a state where the J-PAKE code is not generated

Categories

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

ARM
Android
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 746232

People

(Reporter: AdrianT, Unassigned)

Details

Attachments

(1 file)

Attached file logs
Fennec/14.0a1 2012-04-16
Device: Motorola Droid 2(Android 2.3)

Steps to reproduce
1. Open Nightly.
2. Open the Menu-> More and select Sync.
3. Wait for the J-PAKE to be generated.

Expected Results:
The J-PAKE is generated.

Actual Results: 
The J-PAKE code is never generated.
The following error can be seen in the logs:
07-19 23:17:24.304: E/SyncJPakeStage(4951): Threw HTTP exception.
07-19 23:17:24.304: E/SyncJPakeStage(4951): javax.net.ssl.SSLPeerUnverifiedException: No peer certificate
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at org.apache.harmony.xnet.provider.jsse.SSLSessionImpl.getPeerCertificates(SSLSessionImpl.java:258)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at ch.boye.httpclientandroidlib.conn.ssl.AbstractVerifier.verify(AbstractVerifier.java:128)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at ch.boye.httpclientandroidlib.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:397)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at ch.boye.httpclientandroidlib.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at ch.boye.httpclientandroidlib.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at ch.boye.httpclientandroidlib.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at ch.boye.httpclientandroidlib.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:573)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at ch.boye.httpclientandroidlib.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:425)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at ch.boye.httpclientandroidlib.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:818)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at ch.boye.httpclientandroidlib.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:752)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at org.mozilla.gecko.sync.net.BaseResource.execute(BaseResource.java:247)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at org.mozilla.gecko.sync.net.BaseResource.go(BaseResource.java:275)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at org.mozilla.gecko.sync.net.BaseResource.get(BaseResource.java:281)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at org.mozilla.gecko.sync.jpake.stage.GetChannelStage$3.run(GetChannelStage.java:135)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:444)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
07-19 23:17:24.304: E/SyncJPakeStage(4951): 	at java.lang.Thread.run(Thread.java:1019)
The issue was reproduced again after uninstalling Nightly 2012-04-16 and installing Nightly/14.0a1 2012-04-17. Restarting Fennec or the device does not have any effect. I am only able to reproduce the issue on one device - Motorola Droid 2
If I had to guess, you're on crap wifi. This happens a lot at the Mozilla offices.

Please try on a different network.
Closing to dupe to a formal J-PAKE connection error bug.
Status: NEW → RESOLVED
Closed: 12 years ago
Priority: -- → P3
Resolution: --- → DUPLICATE
Adrian, can you check if this still reproduces in your office setting?  If so, can you try with another wifi connection?

I'd like to make sure its not a connection problem, and indeed a true code error.   Logs again would help.

Thanks.
I am able to reproduce the issue on a second wifi network. Unfortunately the device is CDMA and I can't test on 3G.
I have also removed all firefox builds to remove the firefox sync from accounts and reinstalled the build but with the same results. I have managed to set up the sync account using the manual settings but the JPAKE is never created. However the issue could not be reproduced on any other device and I can load webpages without any issues and with decent load times.
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.

Attachment

General

Created:
Updated:
Size: