Frequent sporadic occurrence in AxisFault ... (0)null

1,072 views
Skip to first unread message

Rohit

unread,
Jul 27, 2008, 10:44:10 PM7/27/08
to AdWords API Forum
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)

---

AdWords API Advisor

unread,
Jul 28, 2008, 11:19:52 AM7/28/08
to AdWords API Forum
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

Rohit

unread,
Aug 1, 2008, 3:15:18 PM8/1/08
to AdWords API Forum
Thanks for the info Jeff - we'll try increasing the client timeout via
Axis API.
Appreciate the response. Will update the forum on the results after we
make this change.

On Jul 28, 8:19 am, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> > com.google.api.adwords.CriterionServiceSoapBindingStub.getCampaignNegativeC­riteria(CriterionServiceSoapBindingStub.java:
> > com.google.api.adwords.CriterionServiceSoapBindingStub.getAllCriteria(Crite­rionServiceSoapBindingStub.java:
> > com.google.api.adwords.AdServiceSoapBindingStub.getAllAds(AdServiceSoapBind­ingStub.java:
> > com.google.api.adwords.AdGroupServiceSoapBindingStub.getAllAdGroups(AdGroup­ServiceSoapBindingStub.java:
> > 526)
>
> > ---- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages