Bug #454
Cannot authenticate to gmail.com
Description
The market app has version 0.1.7 and so does the tip of the source tree, but when I build from source code and try to login to my Google account (hacksoft@gmail.com) I cannot and get the following errors in the logcat:
D/AccountConfigureFragment( 7934): create progress dialog
D/AccountConfigureFragment( 7934): Xmpp login task
D/AccountConfigureFragment( 7934): jid hacksoft@gmail.com server null
W/System.err( 7934): java.security.KeyStoreException: java.security.NoSuchAlgorithmException: KeyStore jks implementation not found
W/System.err( 7934): at java.security.KeyStore.getInstance(KeyStore.java:119)
W/System.err( 7934): at org.jivesoftware.smack.ServerTrustManager.<init>(ServerTrustManager.java:61)
W/System.err( 7934): at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:826)
W/System.err( 7934): at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267)
W/System.err( 7934): at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
W/System.err( 7934): at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
W/System.err( 7934): Caused by: java.security.NoSuchAlgorithmException: KeyStore jks implementation not found
W/System.err( 7934): at org.apache.harmony.security.fortress.Engine.notFound(Engine.java:177)
W/System.err( 7934): at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:151)
W/System.err( 7934): at java.security.KeyStore.getInstance(KeyStore.java:116)
W/System.err( 7934): ... 5 more
E/AccountConfigureFragment( 7934): Unable to connect to Xmpp server
E/AccountConfigureFragment( 7934): SASL authentication PLAIN failed: invalid-authzid:
E/AccountConfigureFragment( 7934): at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:337)
E/AccountConfigureFragment( 7934): at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:230)
E/AccountConfigureFragment( 7934): at org.jivesoftware.smack.Connection.login(Connection.java:344)
E/AccountConfigureFragment( 7934): at com.beem.project.beem.ui.wizard.AccountConfigureFragment$ConnectionTestTask.doInBackground(AccountConfigureFragment.java:431)
E/AccountConfigureFragment( 7934): at com.beem.project.beem.ui.wizard.AccountConfigureFragment$ConnectionTestTask.doInBackground(AccountConfigureFragment.java:384)
E/AccountConfigureFragment( 7934): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/AccountConfigureFragment( 7934): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AccountConfigureFragment( 7934): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AccountConfigureFragment( 7934): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
E/AccountConfigureFragment( 7934): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
E/AccountConfigureFragment( 7934): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
E/AccountConfigureFragment( 7934): at java.lang.Thread.run(Thread.java:856)