This issue is still happening. I am retrying the job but failing again. Here is the new stacktrace.
Please help. 2016-03-07 19:10:16,859 [AdwordsJobExecutor-akka.actor.default-dispatcher-51] WARN com.google.api.ads.adwords.lib.utils.batch_job.logUpload([...]) at Line 74 FAILED (null) batch job upload to https://www.googleapis.com/upload/storage/v1/b/batch-job-upload-prod-ebe9b43/o?uploadType=resumable&upload_id=AEnB2UpKqM4JyHBHTTur4BCIHKpCvM6dFWBGEb9EyoKBRKvgwcOIL4EfrT170vfa5XlxNoNh3PwWtRPCKyRrPc5S7_opW12hHQ. Exception: com.google.api.client.http.HttpResponseException: 503 Service Unavailable Service Unavailable 2016-03-07 19:10:16,861 [AdwordsJobExecutor-akka.actor.default-dispatcher-51] ERROR com.bonial.megan.services.BatchProcessingService.call([...]) at Line ? Error uploading operations to Google Adwords com.google.api.client.http.HttpResponseException: 503 Service Unavailable Service Unavailable at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1061) at com.google.api.ads.adwords.lib.utils.BatchJobUploader.uploadBatchJobOperations(BatchJobUploader.java:114) at com.google.api.ads.adwords.axis.utils.v201509.batchjob.BatchJobHelper.uploadBatchJobOperations(BatchJobHelper.java:82) at com.bonial.megan.helpers.BatchProcessingServiceHelper.uploadOperations(BatchProcessingServiceHelper.groovy:117) at com.bonial.megan.services.BatchProcessingService.createAndUploadBatchJobOperations(BatchProcessingService.groovy:62) at com.bonial.megan.execution.actors.forcedSwitchOff.mutate.ForcedSwitchOffMutateActor$_onReceiveBody_closure1.doCall(ForcedSwitchOffMutateActor.groovy:40) at com.bonial.megan.execution.actors.forcedSwitchOff.mutate.ForcedSwitchOffMutateActor.onReceiveBody(ForcedSwitchOffMutateActor.groovy:39) 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) 2016-03-07 19:10:16,878 [AdwordsJobExecutor-akka.actor.default-dispatcher-35] ERROR com.bonial.megan.execution.actors.forcedSwitchOff.mutate.ForcedSwitchOffMutateSupervisor.invoke0([...]) at Line ? BatchJobException [Problem sending data to batch upload URL.] detected. Caused by: com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger.logSoapXml([...]) at Line 83 SOAP Request: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201509" soapenv:mustUnderstand="0"> <ns1:clientCustomerId>1621197255</ns1:clientCustomerId> <ns1:developerToken>MYDEVELOPERTOKEN</ns1:developerToken> <ns1:userAgent>began:1.0.0 (AwApi-Java, AdWords-Axis/2.7.0, Common-Java/2.7.0, Axis/1.4, Java/1.8.0_25, maven)</ns1:userAgent> <ns1:validateOnly>false</ns1:validateOnly> <ns1:partialFailure>true</ns1:partialFailure> </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201509"> <operations> <operator>ADD</operator> <operand/> </operations> </mutate> </soapenv:Body> </soapenv:Envelope> 2016-03-07 19:10:49,266 [AdwordsJobExecutor-akka.actor.default-dispatcher-59] WARN com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger.logSoapXml([...]) at Line 84 SOAP Response: <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:HTTP</faultcode> <faultstring>(502)Bad Gateway</faultstring> <detail> <string>return code: 502 <!DOCTYPE html> <html lang=en> <meta charset=utf-8> <meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width"> <title>Error 502 (Server Error)!!1</title> <style> *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px} </style> <a href=//www.google.com/><span id=logo aria-label=Google></span></a> <p><b>502.</b> <ins>That’s an error.</ins> <p>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds. <ins>That’s all we know.</ins> </string> <ns2:HttpErrorCode xmlns:ns2="http://xml.apache.org/axis/">502</ns2:HttpErrorCode> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> On Thursday, February 25, 2016 at 2:30:18 PM UTC+1, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > Could you provide me with the following? > > 1. The *clientCustomerId* of the account. > 2. The BatchJob.id > > <https://developers.google.com/adwords/api/docs/reference/v201601/BatchJobService.BatchJob#id> > corresponding > to the download that failed. > > Thanks, > Josh, AdWords API Team > > On Thursday, February 25, 2016 at 7:10:09 AM UTC-5, Biniam Asnake wrote: >> >> >> Additional information: *This log repeated for a while and caused >> StackOverflowError which killed tomcat.* >> >> 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 >>> <https://cloud.google.com/storage/docs/resumable-uploads-xml#practices> 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/515a454d-698a-479a-9e9b-89d0d4b6eb3a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
