java - Android - Error connecting with login URI -
i'm trying connect google spreadsheet in code. worked while, lately stopped working. started after moved workspace directory. did not change else... here error:
06-01 17:04:56.108: w/system.err(1290): com.google.gdata.util.authenticationexception: error connecting login uri 06-01 17:04:56.118: w/system.err(1290): @ com.google.gdata.client.googleauthtokenfactory.getauthtoken(googleauthtokenfactory.java:549) 06-01 17:04:56.118: w/system.err(1290): @ com.google.gdata.client.googleauthtokenfactory.setusercredentials(googleauthtokenfactory.java:397) 06-01 17:04:56.118: w/system.err(1290): @ com.google.gdata.client.googleservice.setusercredentials(googleservice.java:364) 06-01 17:04:56.118: w/system.err(1290): @ com.google.gdata.client.googleservice.setusercredentials(googleservice.java:319) 06-01 17:04:56.118: w/system.err(1290): @ com.google.gdata.client.googleservice.setusercredentials(googleservice.java:303) 06-01 17:04:56.118: w/system.err(1290): @ googledriveconnection.myspreadsheetintegration.<init>(myspreadsheetintegration.java:59) 06-01 17:04:56.118: w/system.err(1290): @ googledriveconnection.myspreadsheetintegration.instance(myspreadsheetintegration.java:45) 06-01 17:04:56.118: w/system.err(1290): @ smsmanaging.smssendrunnable.run(smssendrunnable.java:60) 06-01 17:04:56.118: w/system.err(1290): @ java.lang.thread.run(thread.java:1019) 06-01 17:04:56.118: w/system.err(1290): caused by: javax.net.ssl.sslhandshakeexception: org.bouncycastle.jce.exception.extcertpathvalidatorexception: not validate certificate: current time: sun jun 01 17:04:56 gmt+00:00 2014, validation time: wed jun 04 08:58:29 gmt+00:00 2014 06-01 17:04:56.118: w/system.err(1290): @ org.apache.harmony.xnet.provider.jsse.opensslsocketimpl.starthandshake(opensslsocketimpl.java:477) 06-01 17:04:56.118: w/system.err(1290): @ org.apache.harmony.xnet.provider.jsse.opensslsocketimpl.starthandshake(opensslsocketimpl.java:328) 06-01 17:04:56.118: w/system.err(1290): @ org.apache.harmony.luni.internal.net.www.protocol.http.httpconnection.setupsecuresocket(httpconnection.java:185) 06-01 17:04:56.118: w/system.err(1290): @ org.apache.harmony.luni.internal.net.www.protocol.https.httpsurlconnectionimpl$httpsengine.makesslconnection(httpsurlconnectionimpl.java:433) 06-01 17:04:56.118: w/system.err(1290): @ org.apache.harmony.luni.internal.net.www.protocol.https.httpsurlconnectionimpl$httpsengine.makeconnection(httpsurlconnectionimpl.java:378) 06-01 17:04:56.118: w/system.err(1290): @ org.apache.harmony.luni.internal.net.www.protocol.http.httpurlconnectionimpl.connect(httpurlconnectionimpl.java:205) 06-01 17:04:56.118: w/system.err(1290): @ org.apache.harmony.luni.internal.net.www.protocol.http.httpurlconnectionimpl.getoutputstream(httpurlconnectionimpl.java:614) 06-01 17:04:56.118: w/system.err(1290): @ org.apache.harmony.luni.internal.net.www.protocol.https.httpsurlconnectionimpl.getoutputstream(httpsurlconnectionimpl.java:268) 06-01 17:04:56.128: w/system.err(1290): @ com.google.gdata.client.googleauthtokenfactory.makepostrequest(googleauthtokenfactory.java:611) 06-01 17:04:56.128: w/system.err(1290): @ com.google.gdata.client.googleauthtokenfactory.getauthtoken(googleauthtokenfactory.java:547) 06-01 17:04:56.128: w/system.err(1290): ... 8 more 06-01 17:04:56.128: w/system.err(1290): caused by: java.security.cert.certificateexception: org.bouncycastle.jce.exception.extcertpathvalidatorexception: not validate certificate: current time: sun jun 01 17:04:56 gmt+00:00 2014, validation time: wed jun 04 08:58:29 gmt+00:00 2014 06-01 17:04:56.128: w/system.err(1290): @ org.apache.harmony.xnet.provider.jsse.trustmanagerimpl.checkservertrusted(trustmanagerimpl.java:161) 06-01 17:04:56.128: w/system.err(1290): @ org.apache.harmony.xnet.provider.jsse.opensslsocketimpl.verifycertificatechain(opensslsocketimpl.java:664) 06-01 17:04:56.128: w/system.err(1290): @ org.apache.harmony.xnet.provider.jsse.nativecrypto.ssl_do_handshake(native method) 06-01 17:04:56.128: w/system.err(1290): @ org.apache.harmony.xnet.provider.jsse.opensslsocketimpl.starthandshake(opensslsocketimpl.java:474) 06-01 17:04:56.128: w/system.err(1290): ... 17 more 06-01 17:04:56.128: w/system.err(1290): caused by: org.bouncycastle.jce.exception.extcertpathvalidatorexception: not validate certificate: current time: sun jun 01 17:04:56 gmt+00:00 2014, validation time: wed jun 04 08:58:29 gmt+00:00 2014 06-01 17:04:56.138: w/system.err(1290): @ org.bouncycastle.jce.provider.rfc3280certpathutilities.processcerta(rfc3280certpathutilities.java:1521) 06-01 17:04:56.138: w/system.err(1290): @ org.bouncycastle.jce.provider.pkixcertpathvalidatorspi.enginevalidate(pkixcertpathvalidatorspi.java:399) 06-01 17:04:56.138: w/system.err(1290): @ java.security.cert.certpathvalidator.validate(certpathvalidator.java:197) 06-01 17:04:56.138: w/system.err(1290): @ org.apache.harmony.xnet.provider.jsse.trustmanagerimpl.checkservertrusted(trustmanagerimpl.java:156) 06-01 17:04:56.138: w/system.err(1290): ... 20 more 06-01 17:04:56.138: w/system.err(1290): caused by: java.security.cert.certificatenotyetvalidexception: current time: sun jun 01 17:04:56 gmt+00:00 2014, validation time: wed jun 04 08:58:29 gmt+00:00 2014 06-01 17:04:56.138: w/system.err(1290): @ org.apache.harmony.security.provider.cert.x509certimpl.checkvalidity(x509certimpl.java:163) 06-01 17:04:56.138: w/system.err(1290): @ org.apache.harmony.security.provider.cert.x509certimpl.checkvalidity(x509certimpl.java:157) 06-01 17:04:56.138: w/system.err(1290): @ org.bouncycastle.jce.provider.rfc3280certpathutilities.processcerta(rfc3280certpathutilities.java:1512) 06-01 17:04:56.138: w/system.err(1290): ... 23 more
i searched forum, , found somthing similar didn't me - com.google.gdata.util.authenticationexception: error connecting login uri
thanks! dan
06-01 17:04:56.128: w/system.err(1290): caused by: org.bouncycastle.jce.exception.extcertpathvalidatorexception: not validate certificate: current time: sun jun 01 17:04:56 gmt+00:00 2014, validation time: wed jun 04 08:58:29 gmt+00:00 2014
set system (phone/emulator) date time current date time, failing validate certification because of date time mismatch
Comments
Post a Comment