frequently RemoteExceptions

121 views
Skip to first unread message

Pearl Jam

unread,
Jul 2, 2014, 8:01:09 AM7/2/14
to adwor...@googlegroups.com


Hi,

since few days we often get RemoteExceptions like these


Caused by: org.apache.axis.AxisFault: ; nested exception is:
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) ~[axis-1.4.jar:na]
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154) ~[axis-1.4.jar:na]
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) ~[axis-1.4.jar:na]
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) ~[axis-1.4.jar:na]
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) ~[axis-1.4.jar:na]
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) ~[axis-1.4.jar:na]
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784) ~[axis-1.4.jar:na]
    at org.apache.axis.client.Call.invoke(Call.java:2767) ~[axis-1.4.jar:na]
    at org.apache.axis.client.Call.invoke(Call.java:2443) ~[axis-1.4.jar:na]
    at org.apache.axis.client.Call.invoke(Call.java:2366) ~[axis-1.4.jar:na]
    at org.apache.axis.client.Call.invoke(Call.java:1812) ~[axis-1.4.jar:na]
    at com.google.api.ads.adwords.axis.v201402.cm.AdParamServiceSoapBindingStub.mutate(AdParamServiceSoapBindingStub.java:686) ~[adwords-axis-1.26.0.jar:na]
    at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source) ~[na:na]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_25]
    at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_25]
    at com.google.api.ads.common.lib.soap.SoapClientHandler.invoke(SoapClientHandler.java:109) ~[ads-lib-1.26.0.jar:na]
    at com.google.api.ads.common.lib.soap.axis.AxisHandler.invokeSoapCall(AxisHandler.java:201) ~[ads-lib-axis-1.26.0.jar:na]
    at com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:64) ~[ads-lib-1.26.0.jar:na]
    at com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93) ~[ads-lib-1.26.0.jar:na]
    ...
    ... 9 common frames omitted
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:946) ~[na:1.7.0_25]
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312) ~[na:1.7.0_25]
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339) ~[na:1.7.0_25]
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323) ~[na:1.7.0_25]
    at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186) ~[axis-1.4.jar:na]
    at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191) ~[axis-1.4.jar:na]
    at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404) ~[axis-1.4.jar:na]
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138) ~[axis-1.4.jar:na]
    ... 30 common frames omitted
Caused by: java.io.EOFException: SSL peer shut down incorrectly
    at sun.security.ssl.InputRecord.read(InputRecord.java:482) ~[na:1.7.0_25]
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927) ~[na:1.7.0_25]
    ... 37 common frames omitted


Sometimes our service waits for hours without getting any timeout or other exceptions.
Stack looks like this (target_machine seems to be bk-in-f50.1e100.net):

 java.lang.Thread.State: RUNNABLE
 at java.net.SocketInputStream.socketRead0(Native Method)
 at java.net.SocketInputStream.read(SocketInputStream.java:150)
 at java.net.SocketInputStream.read(SocketInputStream.java:121)
 at sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
 at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:554)
 at sun.security.ssl.InputRecord.read(InputRecord.java:509)
 at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
 - locked <0x00000004554715b8> (a java.lang.Object)
 at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
 - locked <0x0000000455471668> (a java.lang.Object)
 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
 at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
 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.v201402.cm.AdParamServiceSoapBindingStub.mutate(AdParamServiceSoapBindingStub.java:686)
 at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 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:201)
 - locked <0x0000000445ddd130> (a com.google.api.ads.adwords.axis.v201402.cm.AdParamServiceSoapBindingStub)
 at com.google.api.ads.common.lib.soap.SoapServiceClient.callSoapClient(SoapServiceClient.java:64)
 - locked <0x0000000445ddd108> (a com.google.api.ads.adwords.lib.client.AdWordsServiceClient)
 at com.google.api.ads.common.lib.soap.SoapServiceClient.invoke(SoapServiceClient.java:93)


Is this a known issue?

Thanks,
Jam




Ray Tsang (AdWords API Team)

unread,
Jul 2, 2014, 2:42:43 PM7/2/14
to adwor...@googlegroups.com
Jam,

How often does this occur?  Is it consistent?  Or consistently probable?  Is it still an on-going issue as of now?

Thanks,

Ray

Pearl Jam

unread,
Jul 3, 2014, 3:13:02 AM7/3/14
to adwor...@googlegroups.com
Hi,

we stopped the service where it got stuck.
The issue occured once on sunday and twice on tuesday and we dont want to restart our service before we know that the problem is solved, or at least a timeout-signal would be returned.

Thanks,
Jam

Ray Tsang (AdWords API Team)

unread,
Jul 7, 2014, 10:54:11 AM7/7/14
to adwor...@googlegroups.com
Jam,

The issues may be intermittent - could I trouble you to retry the process?

Thanks,

Ray
Reply all
Reply to author
Forward
0 new messages