Hi,

Your issue seems to be specific to Java client library rather than the
Google Ads API. This being said, I would suggest to post your issue here
<https://github.com/googleads/google-ads-java/issues> as the Java client
library owners are better equipped to assist you here.

Thanks and regards,
Luis
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/20/19 18:47:52 lsathi...@gmail.com wrote:

Hello Team,

I am encountering *javax.net.ssl.SSLHandshakeException: Remote host closed
connection during handshake* exception while making a call to Google Ads
API. Any feedback on what could cause this issue will be greatly
appreciated.

Below is the stack trace:

Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed
connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:994)
~[?:1.8.0_191]
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
~[?:1.8.0_191]
at
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
~[?:1.8.0_191]
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
~[?:1.8.0_191]
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)
~[?:1.8.0_191]
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)
~[?:1.8.0_191]
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259)
~[?:1.8.0_191]
at
com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:77)
~[google-http-client-1.22.0.jar:?]
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:981)
~[google-http-client-1.22.0.jar:?]
at
com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:283)
~[google-oauth-client-1.22.0.jar:?]
at
com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307)
~[google-oauth-client-1.22.0.jar:?]
at
com.google.api.client.auth.oauth2.Credential.executeRefreshToken(Credential.java:570)
~[google-oauth-client-1.22.0.jar:?]
at
com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken(GoogleCredential.java:362)
~[google-api-client-1.22.0.jar:?]
at
com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:489)
~[google-oauth-client-1.22.0.jar:?]
at
com.google.api.ads.common.lib.auth.OAuth2Helper.callRefreshToken(OAuth2Helper.java:69)
~[ads-lib-4.1.0.jar:?]
at
com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:234)
~[ads-lib-4.1.0.jar:?]
... 19 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(InputRecord.java:505) ~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
~[?:1.8.0_191]
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
~[?:1.8.0_191]
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
~[?:1.8.0_191]
at
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
~[?:1.8.0_191]
at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
~[?:1.8.0_191]
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)
~[?:1.8.0_191]
at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)
~[?:1.8.0_191]
at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259)
~[?:1.8.0_191]
at
com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:77)
~[google-http-client-1.22.0.jar:?]
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:981)
~[google-http-client-1.22.0.jar:?]
at
com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:283)
~[google-oauth-client-1.22.0.jar:?]
at
com.google.api.client.auth.oauth2.TokenRequest.execute(TokenRequest.java:307)
~[google-oauth-client-1.22.0.jar:?]
at
com.google.api.client.auth.oauth2.Credential.executeRefreshToken(Credential.java:570)
~[google-oauth-client-1.22.0.jar:?]
at
com.google.api.client.googleapis.auth.oauth2.GoogleCredential.executeRefreshToken(GoogleCredential.java:362)
~[google-api-client-1.22.0.jar:?]
at
com.google.api.client.auth.oauth2.Credential.refreshToken(Credential.java:489)
~[google-oauth-client-1.22.0.jar:?]
at
com.google.api.ads.common.lib.auth.OAuth2Helper.callRefreshToken(OAuth2Helper.java:69)
~[ads-lib-4.1.0.jar:?]
at
com.google.api.ads.common.lib.auth.OfflineCredentials.generateCredential(OfflineCredentials.java:234)
~[ads-lib-4.1.0.jar:?]

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/ee543e19-92cf-4e86-afdd-7a1673206941%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/ee543e19-92cf-4e86-afdd-7a1673206941%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/ijlio4d4l80000010qjkmg0011jej0y74mjed9h6go30c1g68qjec9m%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • javax.n... lsathiesh
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to