Hi Team,

up vdown vote
favorite 
<http://stackoverflow.com/questions/43000760/pkix-path-validation-failed-java-security-cert-certpathvalidatorexception-time#>

When i am doing through scheduler i am getting an error like below.

*Scheduler Time*:0 30 * ? * * *

and the above time is monthly scheduler of dumping the stats and it should 
fire on every 2nd of month

I have updated the access token and refresh token too.

For instance: i run on Mar 2nd 2017  02:30:00 AM and i m getting exception 
like below


javax.net.ssl.SSLHandshakeException: 
sun.security.validator.ValidatorException: PKIX path validation failed: 
java.security.cert.CertPathValidatorException: timestamp check failed

at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)

at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)

at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)

at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)

at 
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1497)

at 
sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)

at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)

at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)

at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)

at 
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)

at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)

at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)

at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)

at 
com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:93)

at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:965)

at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)

at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)

at 
com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)

at 
com.netelixir.api.reportsautomation.AnalyticsDumpAutoReportsStats.getNewAnalyticsReportDefination(AnalyticsDumpAutoReportsStats.java:174)

at 
com.netelixir.api.reportsautomation.SEReportDefinationsServiceImpl.getNewGAReportDefination(SEReportDefinationsServiceImpl.java:159)

at 
com.netelixir.api.reportsautomation.AutoRprtsNewMntlyStats.getJsonAndInsert(AutoRprtsNewMntlyStats.java:201)

at 
com.netelixir.api.reportsautomation.AutoRprtsNewMntlyStats.setCommonData(AutoRprtsNewMntlyStats.java:189)

at 
com.netelixir.api.reportsautomation.AutoRprtsNewMntlyStats.getMonthlyStatsAndInsert(AutoRprtsNewMntlyStats.java:104)

at 
com.netelixir.api.reportsautomation.AutoRprtsMonthlyNewGAStatsDumpThread.run(AutoRprtsMonthlyNewGAStatsDumpThread.java:84)

at java.lang.Thread.run(Thread.java:745)

Caused by: sun.security.validator.ValidatorException: PKIX path validation 
failed: java.security.cert.CertPathValidatorException: timestamp check 
failed

at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:352)

at 
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:249)

at sun.security.validator.Validator.validate(Validator.java:260)

at 
sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)

at 
sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)

at 
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)

at 
sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1479)

... 22 more
Caused by: java.security.cert.CertPathValidatorException: timestamp check 
failed





at 
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:129)

at 
sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:219)

at 
sun.security.provider.certpath.PKIXCertPathValidator.validate(PKIXCertPathValidator.java:140)

at 
sun.security.provider.certpath.PKIXCertPathValidator.engineValidate(PKIXCertPathValidator.java:79)

at java.security.cert.CertPathValidator.validate(CertPathValidator.java:292)

at sun.security.validator.PKIXValidator.doValidate(PKIXValidator.java:347)

... 28 more

Caused by: java.security.cert.CertificateNotYetValidException: NotBefore: 
Thu Mar 16 14:24:00 IST 2017

at sun.security.x509.CertificateValidity.valid(CertificateValidity.java:270)

at sun.security.x509.X509CertImpl.checkValidity(X509CertImpl.java:629)

at 
sun.security.provider.certpath.BasicChecker.verifyTimestamp(BasicChecker.java:190)

at sun.security.provider.certpath.BasicChecker.check(BasicChecker.java:144)

at 
sun.security.provider.certpath.PKIXMasterCertPathValidator.validate(PKIXMasterCertPathValidator.java:119)

... 33 more



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e93939ec-854e-4edb-b49d-dbe12342f5b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • javax.ne... harshitha . yeddala
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • jav... Harshi Manju
    • jav... Harshi Manju

Reply via email to