javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake in com.google.api.ads.adwords.axis.v201601.cm.CampaignCriterionServiceSoapBindingStub.get(CampaignCriterionServiceSoapBindingStub.java:1339)

310 views
Skip to first unread message

Anna

unread,
Aug 2, 2016, 11:59:25 AM8/2/16
to AdWords API Forum
Hi,

We've encountered the following error while fetching proximity for set of campaigns. Is there anything we need to do on our side to catch this kind of exceptions and retry? Please advice.
How often do we experience this kind of errors?

<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake</faultstring>
<detail>
<ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1343)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1371)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1355)
at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)
at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.google.api.ads.adwords.axis.v201601.cm.CampaignCriterionServiceSoapBindingStub.get(CampaignCriterionServiceSoapBindingStub.java:1339)
at sun.reflect.GeneratedMethodAccessor4945.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109)
at com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:230)
at com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:62)
at com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:92)
at com.sun.proxy.$Proxy149.get(Unknown Source)
at sun.reflect.GeneratedMethodAccessor4003.invoke(Unknown Source)

Thanks,
Anna

Vishal Vinayak (Adwords API Team)

unread,
Aug 2, 2016, 2:27:35 PM8/2/16
to AdWords API Forum
Hi Anna,

This error is usually temporary and tends to go away after a few retries. The problem generally occurs if there's an issue in the network layer (i.e. with you internet service provider).  

If you are still facing issues after a few retries, please provide the complete SOAP XML request and response logs and I'll try to look into the issue for you.

Regards,
Vishal, AdWords API Team
Reply all
Reply to author
Forward
0 new messages