Thursday, 25 February 2016

Re: BatchJobService HTTP 503 Service Unavailable - [URGENT]

I am retrying the requests but still getting errors.
The error I got now is: org.xml.sax.SAXParseException; lineNumber: 965; columnNumber: 19; The element type "biddingStrategyConfiguration" must be terminated by the matching end-tag "</biddingStrategyConfiguration>".

Please investigate and fix ASAP since my application is in production.

Thank you.

Here is the stacktrace.

com.google.api.ads.adwords.lib.utils.BatchJobException: Failed to download batch job mutate response from URL: https://batch-job-download-prod-ebe9b43.storage.googleapis.com/123572580/1280929.results.xml?GoogleAccessId=926043054183-rbu1gk


dushnqrfcf47gser4u8qse2ig4@developer.gserviceaccount.com&Expires=1458989812&Signature=UNjnChtcUX%2FBNtLpSDz22GReDMoH5xNqzIxjivf0faO3ZrtqWx6VN%2B0w21nTzq1HG73y40Ww3tsd9rBEk7lsyYN5Qhuhmt1dQCeSfOs%2BVLF%2FMuX030ys1TSf7e%2F1gHwY5tgwxFfr%2FrAF


7XwdhI6ykCw268HFNYaI1q0BfXK60R%2FUMtzUMpwMc2Ie92FkaEMVDopI02hFufnp%2FXBnJg6P67yPaToa3j0gXRP31trNABUmKRKs4Wtd3k5UlIX7JrYUFJizR5VlK9m5xJcZSvVC181yDxcjBJHaZEVQy7MJfFRK9L2t7lgnWY0Ks6PGrrdlMM6w7%2FQTw8rZrQDYjS7hHg%3D%3D


        at com.google.api.ads.adwords.axis.utils.v201509.batchjob.BatchJobHelper.downloadBatchJobMutateResponse(BatchJobHelper.java:105)


        at com.google.api.ads.adwords.axis.utils.v201509.batchjob.BatchJobHelper.downloadBatchJobMutateResponse(BatchJobHelper.java:54)


        at com.google.api.ads.adwords.lib.utils.BatchJobHelperInterface$downloadBatchJobMutateResponse$17.call(Unknown Source)


        at com.bonial.megan.helpers.BatchProcessingServiceHelper.retrieveMutateResults(BatchProcessingServiceHelper.groovy:271)


        at com.bonial.megan.helpers.BatchProcessingServiceHelper$retrieveMutateResults$40.callStatic(Unknown Source)


        at com.bonial.megan.services.BatchProcessingService.handleDoneBatchJob(BatchProcessingService.groovy:199)


        at sun.reflect.GeneratedMethodAccessor677.invoke(Unknown Source)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


        at java.lang.reflect.Method.invoke(Method.java:483)


        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:207)


        at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:56)


        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)


        at com.bonial.megan.services.BatchProcessingService.handleBatchJobCompletionStatus(BatchProcessingService.groovy:91)


        at com.bonial.megan.services.BatchProcessingService$handleBatchJobCompletionStatus$0.call(Unknown Source)


        at com.bonial.megan.execution.actors.stateChange.mutate.StateChangeStatusCheckerActor.onReceiveBody(StateChangeStatusCheckerActor.groovy:30)


        at com.bonial.megan.execution.actors.stateChange.mutate.StateChangeStatusCheckerActor$onReceiveBody.callCurrent(Unknown Source)


        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:49)


        at com.bonial.megan.execution.actors.stateChange.mutate.StateChangeStatusCheckerSupervisor$onReceiveBody.callCurrent(Unknown Source)


        at com.bonial.megan.execution.actors.AbstractActor.onReceive(AbstractActor.groovy:41)


        at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)


        at akka.actor.Actor$class.aroundReceive(Actor.scala:465)


        at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)


        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)


        at akka.actor.ActorCell.invoke_aroundBody0(ActorCell.scala:487)


        at akka.actor.ActorCell$AjcClosure1.run(ActorCell.scala:1)


        at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)


        at akka.kamon.instrumentation.ActorCellInstrumentation$$anonfun$aroundBehaviourInvoke$1.apply(ActorCellInstrumentation.scala:62)


        at kamon.trace.Tracer$.withContext(TracerModule.scala:57)


        at akka.kamon.instrumentation.ActorCellInstrumentation.aroundBehaviourInvoke(ActorCellInstrumentation.scala:61)


        at akka.actor.ActorCell.invoke(ActorCell.scala:483)


        at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)


        at akka.dispatch.Mailbox.run(Mailbox.scala:221)


        at akka.dispatch.Mailbox.exec(Mailbox.scala:231)


        at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)


        at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)


        at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)


        at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)


Caused by: org.xml.sax.SAXParseException; lineNumber: 965; columnNumber: 19; The element type "biddingStrategyConfiguration" must be terminated by the matching end-tag "</biddingStrategyConfiguration>".


        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)


        at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)


        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)


        at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)


        at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1436)


        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1749)


        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2973)


        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)


        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)


        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)


        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)


        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)


        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)


        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)


        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)


        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:333)


        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)




On Wednesday, February 24, 2016 at 5:07:38 PM UTC+1, Josh Radcliff (AdWords API Team) wrote:
Hi,

Did you retry the request, as Umesh suggested in his earlier reply? Since BatchJobService uploads go to Google Cloud Storage, you should implement retry logic if you are encountering 408, 500, 502, 503, or 504 errors -- please see Recommended practices in the Google Cloud Storage guide for details.

Thanks,
Josh, AdWords API Team

On Wednesday, February 24, 2016 at 10:24:30 AM UTC-5, Biniam Asnake wrote:
This issue happened again and killed tomcat. Please help.

On Tuesday, February 23, 2016 at 6:19:53 PM UTC+1, Umesh Dengale wrote:
Hello,

Thanks for attaching the full stack trace. The above error could be transient. Could you retry above API call? Please let us know if you still experience the issue.

Regards,
Umesh, AdWords API Team.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords 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+unsubscribe@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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@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/dc7f9d54-aaf9-4818-bb6a-f8cf4f8615aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment