3 messages in com.googlegroups.adwords-apiAdWords API Re: Frequent sporadic occ...
FromSent OnAttachments
Rohit27 Jul 2008 19:43 
AdWords API Advisor28 Jul 2008 08:19 
Rohit01 Aug 2008 12:14 
Subject:AdWords API Re: Frequent sporadic occurrence in AxisFault ... (0)null
From:AdWords API Advisor (adwo@google.com)
Date:07/28/2008 08:19:29 AM
List:com.googlegroups.adwords-api

Hello Rohit,

The fact that you're not getting any response back (no HTTP response code, no SOAP fault) and that the exception is being thrown at readFromSocket() would imply that you're running into a prematurely terminated HTTP response. This may be due to a timeout on the client side (though I believe I've seen different underlying exceptions in the past when that's been the case). About how long does it take for the response to return when the error isn't encountered? Can you try bumping up the client timeout you're using for HTTP connections? The SOAP server shouldn't be terminating connections before everything is sent--I'm not aware of any server-side timeouts that we impose.

In any case, retrying this sort of error is the right thing to do, especially if subsequent requests come back properly.

Cheers, -Jeff Posnick, AdWords API Team

On Jul 27, 10:44 pm, Rohit <rohi@gmail.com> wrote:

We have a large client with about 50+ google accounts with several million keywords and other related structural items. In scanning through the account structure, we frequently receive the following AxisFault error from the server. Fortunately for us, we wrap this in a retry block and it eventually succeeds. However, this failure occurs on ANY api call and wrapping every single API call with a retry block is not desirable.

FYI ... we're using AdWords API v12, J2SE 5, Axis 1.4

Could someone at Google take a look at this and provide some insight into what the problem here is (without a workaround of retrying a request later)?

Examples below are sporadic API failures that occur most frequently with getAllCriteria, getAllAds, getAllAdGroups and getCampaignNegativeCriteria (this has started occuring recently)...

---

2008-07-27 16:26:10,038 ERROR [STDERR] AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (0)null faultActor: faultNode: faultDetail: {}:return code: 0

{http://xml.apache.org/axis/}HttpErrorCode:0 2008-07-27 16:26:10,038 ERROR [STDERR] (0)null 2008-07-27 16:26:10,038 ERROR [STDERR] at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java: 744) 2008-07-27 16:26:10,038 ERROR [STDERR] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) 2008-07-27 16:26:10,038 ERROR [STDERR] at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: 32) 2008-07-27 16:26:10,039 ERROR [STDERR] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) 2008-07-27 16:26:10,039 ERROR [STDERR] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) 2008-07-27 16:26:10,039 ERROR [STDERR] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) 2008-07-27 16:26:10,039 ERROR [STDERR] at org.apache.axis.client.Call.invokeEngine(Call.java:2784) 2008-07-27 16:26:10,039 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2767) 2008-07-27 16:26:10,039 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2443) 2008-07-27 16:26:10,039 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2366) 2008-07-27 16:26:10,039 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:1812) 2008-07-27 16:26:10,039 ERROR [STDERR] at com.google.api.adwords.CriterionServiceSoapBindingStub.getCampaignNegativeCriteria(CriterionServiceSoapBindingStub.java: 560)

---

2008-07-27 12:56:58,826 ERROR [STDERR] AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (0)null faultActor: faultNode: faultDetail: {}:return code: 0

{http://xml.apache.org/axis/}HttpErrorCode:0 2008-07-27 12:56:58,826 ERROR [STDERR] (0)null 2008-07-27 12:56:58,826 ERROR [STDERR] at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java: 744) 2008-07-27 12:56:58,826 ERROR [STDERR] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) 2008-07-27 12:56:58,831 ERROR [STDERR] at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: 32) 2008-07-27 12:56:58,831 ERROR [STDERR] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) 2008-07-27 12:56:58,831 ERROR [STDERR] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) 2008-07-27 12:56:58,831 ERROR [STDERR] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) 2008-07-27 12:56:58,831 ERROR [STDERR] at org.apache.axis.client.Call.invokeEngine(Call.java:2784) 2008-07-27 12:56:58,831 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2767) 2008-07-27 12:56:58,831 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2443) 2008-07-27 12:56:58,831 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2366) 2008-07-27 12:56:58,831 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:1812) 2008-07-27 12:56:58,832 ERROR [STDERR] at com.google.api.adwords.CriterionServiceSoapBindingStub.getAllCriteria(CriterionServiceSoapBindingStub.java: 518)

---

2008-07-27 13:03:30,348 ERROR [STDERR] AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (0)null faultActor: faultNode: faultDetail: {}:return code: 0

{http://xml.apache.org/axis/}HttpErrorCode:0 2008-07-27 13:03:30,349 ERROR [STDERR] (0)null 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java: 744) 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: 32) 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.client.Call.invokeEngine(Call.java:2784) 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2767) 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2443) 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2366) 2008-07-27 13:03:30,349 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:1812) 2008-07-27 13:03:30,349 ERROR [STDERR] at com.google.api.adwords.AdServiceSoapBindingStub.getAllAds(AdServiceSoapBindingStub.java: 759)

---

2008-07-27 13:20:19,617 ERROR [STDERR] AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (0)null faultActor: faultNode: faultDetail: {}:return code: 0

{http://xml.apache.org/axis/}HttpErrorCode:0 2008-07-27 13:20:19,617 ERROR [STDERR] (0)null 2008-07-27 13:20:19,617 ERROR [STDERR] at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java: 744) 2008-07-27 13:20:19,617 ERROR [STDERR] at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144) 2008-07-27 13:20:19,617 ERROR [STDERR] at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java: 32) 2008-07-27 13:20:19,617 ERROR [STDERR] at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) 2008-07-27 13:20:19,617 ERROR [STDERR] at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) 2008-07-27 13:20:19,618 ERROR [STDERR] at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) 2008-07-27 13:20:19,618 ERROR [STDERR] at org.apache.axis.client.Call.invokeEngine(Call.java:2784) 2008-07-27 13:20:19,618 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2767) 2008-07-27 13:20:19,618 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2443) 2008-07-27 13:20:19,618 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:2366) 2008-07-27 13:20:19,618 ERROR [STDERR] at org.apache.axis.client.Call.invoke(Call.java:1812) 2008-07-27 13:20:19,618 ERROR [STDERR] at com.google.api.adwords.AdGroupServiceSoapBindingStub.getAllAdGroups(AdGroupServiceSoapBindingStub.java: 526)