Nadine, Unfortunately I don't have access to the production server until Tuesday 9 June. Would it help if I tell you that on that same day we were able to retrieve over 2000 reports succesfully, and at the time of errors at least 200 reports?
Further, we don't run the AdWords UI on the production server. Let me know if you still need the tracert and ping results. Cheers, Zweitze de Vries Maxlead. On Thu, Jun 4, 2015 at 6:01 PM, <[email protected]> wrote: > Hello, > > I want to to make sure our engineers have all the information they need to > track this down. > > - Are you also seeing 502 errors from the AdWords UI as well, or are > these errors only coming from the API? > - Could you please run *traceroute adwords.google.com > <http://adwords.google.com> *and send me the output? > - Could you please run *ping adwords.google.com > <http://adwords.google.com>* and send me the output? > > Thanks, > Nadine, AdWords API Team > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion group: > http://googleadsdeveloper.blogspot.com/search/label/adwords_api > https://developers.google.com/adwords/api/community/ > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > On 06/04/15 02:34:33 [email protected] wrote: > > >If your SOAP response does not have a *requestId*, then the request may > not have even made it to our servers. > > I am surprised to learn this. In ten years (!) I have never seen AdWords > servers return a RequestId with a HTTP 5xx response. > > Anyway, those errors started to pop up here too. When an error appears we > also log the headers. > > Example 1 - Request headers: > Content-Type > application/x-www-form-urlencoded > Authorization > Bearer ya29.h...uX7W1b > clientCustomerId > 8077325588 > developerToken > kNkfox...m9qg_g > skipReportHeader > True > skipReportSummary > True > User-Agent > Adwords API by Maxlead > Host > adwords.google.com > Content-Length > 1865 > Accept-Encoding > gzip, deflate > > Request (a report): > <?xml version="1.0"?> > <reportDefinition> > <selector xmlns="https://adwords.google.com/api/adwords/cm/v201409"> > <fields>CampaignId</fields> > <fields>Month</fields> > <fields>AdNetworkType1</fields> > <fields>AveragePosition</fields> > <fields>Clicks</fields> > <fields>Cost</fields> > <fields>Impressions</fields> > <fields>ContentBudgetLostImpressionShare</fields> > <fields>ContentImpressionShare</fields> > <fields>ContentRankLostImpressionShare</fields> > <fields>SearchBudgetLostImpressionShare</fields> > <fields>SearchExactMatchImpressionShare</fields> > <fields>SearchImpressionShare</fields> > <fields>SearchRankLostImpressionShare</fields> > <fields>RelativeCtr</fields> > <predicates> > <field>Status</field> > <operator>IN</operator> > <values>ENABLED</values> > <values>PAUSED</values> > <values>REMOVED</values> > </predicates> > <dateRange> > <min>20150401</min> > <max>20150603</max> > </dateRange> > </selector> > <reportName > xmlns="https://adwords.google.com/api/adwords/cm/v201409">CampaignImpressionShare_20150401_20150603</reportName> > > <reportType > xmlns="https://adwords.google.com/api/adwords/cm/v201409">CAMPAIGN_PERFORMANCE_REPORT</reportType> > > <dateRangeType > xmlns="https://adwords.google.com/api/adwords/cm/v201409">CUSTOM_DATE</dateRangeType> > > <downloadFormat > xmlns="https://adwords.google.com/api/adwords/cm/v201409">GZIPPED_XML</downloadFormat> > > <includeZeroImpressions xmlns=" > https://adwords.google.com/api/adwords/cm/v201409">false</includeZeroImpressions> > > </reportDefinition> > > Response headers: > Content-Type > text/html; charset=UTF-8 > Content-Length > 1477 > Date > Wed, 03 Jun 2015 16:16:06 GMT > Server > GFE/2.0 > > Unfortunately we don't log the content of the error response. > Also note that we don't have proxies or anything like that, and having > seen many AdWords API responses, those headers look like something that was > generated by Google. > > > Example 2 - request headers > Content-Type > application/x-www-form-urlencoded > Authorization > Bearer ya29.h...uX7W1b > clientCustomerId > 9121915867 > developerToken > kNkfox...m9qg_g > skipReportHeader > True > skipReportSummary > True > User-Agent > Adwords API by Maxlead > Host > adwords.google.com > Content-Length > 1494 > Accept-Encoding > gzip, deflate > > Request (a different report): > <?xml version="1.0"?> > <reportDefinition> > <selector xmlns="https://adwords.google.com/api/adwords/cm/v201409"> > <fields>CampaignId</fields> > <fields>AdGroupId</fields> > <fields>AdGroupName</fields> > <fields>AdGroupStatus</fields> > <fields>CpcBid</fields> > <fields>CpmBid</fields> > <predicates> > <field>CampaignStatus</field> > <operator>IN</operator> > <values>ENABLED</values> > <values>PAUSED</values> > <values>REMOVED</values> > </predicates> > <predicates> > <field>Status</field> > <operator>IN</operator> > <values>ENABLED</values> > <values>PAUSED</values> > <values>REMOVED</values> > </predicates> > </selector> > <reportName > xmlns="https://adwords.google.com/api/adwords/cm/v201409">GroupInfo_All_Time</reportName> > <reportType > xmlns="https://adwords.google.com/api/adwords/cm/v201409">ADGROUP_PERFORMANCE_REPORT</reportType> > > <dateRangeType > xmlns="https://adwords.google.com/api/adwords/cm/v201409">ALL_TIME</dateRangeType> > > <downloadFormat > xmlns="https://adwords.google.com/api/adwords/cm/v201409">GZIPPED_XML</downloadFormat> > > <includeZeroImpressions xmlns=" > https://adwords.google.com/api/adwords/cm/v201409">true</includeZeroImpressions> > > </reportDefinition> > > Response headers: > Content-Type > text/html; charset=UTF-8 > Content-Length > 1477 > Date > Wed, 03 Jun 2015 16:30:43 GMT > Server > GFE/2.0 > > Note: in case of HTTP 502 we always retry the request three times before > giving up. In other words, we experienced at least 8 errors. Unfortunately > we don't log the older requests and responses. > > At the same time (approx 16.30h GMT) we also experienced a timeout, which > could be related. > Headers: > Content-Type > application/x-www-form-urlencoded > Authorization > Bearer ya29.h...uX7W1b > clientCustomerId > 9861198322 > developerToken > kNkfox...m9qg_g > skipReportHeader > True > skipReportSummary > True > User-Agent > Adwords API by Maxlead > Host > adwords.google.com > Content-Length > 1106 > Accept-Encoding > gzip, deflate > > Request: > <?xml version="1.0"?> > <reportDefinition> > <selector xmlns="https://adwords.google.com/api/adwords/cm/v201409"> > <fields>AccountDescriptiveName</fields> > <fields>AccountCurrencyCode</fields> > <fields>AccountTimeZoneId</fields> > <fields>Impressions</fields> > <fields>ExternalCustomerId</fields> > </selector> > <reportName > xmlns="https://adwords.google.com/api/adwords/cm/v201409">AdwordsReportAccountInfo_All_Time</reportName> > > <reportType > xmlns="https://adwords.google.com/api/adwords/cm/v201409">ACCOUNT_PERFORMANCE_REPORT</reportType> > > <dateRangeType > xmlns="https://adwords.google.com/api/adwords/cm/v201409">ALL_TIME</dateRangeType> > > <downloadFormat > xmlns="https://adwords.google.com/api/adwords/cm/v201409">GZIPPED_XML</downloadFormat> > > <includeZeroImpressions xmlns=" > https://adwords.google.com/api/adwords/cm/v201409">true</includeZeroImpressions> > > </reportDefinition> > > Again, a timeout will only stop our processes when it appears four times > in a row. > > > I hope this data helps! > > > > On Wednesday, June 3, 2015 at 7:06:40 PM UTC+2, Nadine Sundquist (AdWords > API Team) wrote: > > Hello Ashley, > > I took a look at the errors on our servers. I'm not seeing anything > unusual that could cause gateway issues. If your SOAP response does not > have a *requestId*, then the request may not have even made it to our > servers. I would recommend checking with your network administrator to see > if you can trace the route of the request. > > Best, > Nadine, AdWords API Team > > On Tuesday, June 2, 2015 at 5:26:00 PM UTC-4, Ashley Xu wrote: > > Could someone please help to investigate? > > On Monday, June 1, 2015 at 5:41:56 PM UTC-7, Ashley Xu wrote: > > Hi, > > We have seen a lot of 502 bad gateway errors recently. Please find below > the stack trace and the number of failures per day. Could you please help > take a look? > > Thanks > Ashley > > Sync error: WebExceptionProtocolError ---> System.Net.WebException: The > request failed with HTTP status 502: Bad Gateway. > at > System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage > message, WebResponse response, Stream responseStream, Boolean asyncCall) > at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String > methodName, Object[] parameters) > at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String > methodName, Object[] parameters) > at Google.Api.Ads.AdWords.v201409.ManagedCustomerService.get(Selector > serviceSelector) > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/CAB%3D6ZDeAusJ6UNS%3DhiRU%3DhNX1gNpUUXJ3hVLfMh87uYhdqEd2Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
