Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
File not found exception on download
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  13 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tozor  
View profile  
 More options Aug 18 2008, 12:26 pm
From: tozor <t...@adlucent.com>
Date: Mon, 18 Aug 2008 09:26:29 -0700 (PDT)
Local: Mon, Aug 18 2008 12:26 pm
Subject: File not found exception on download
I got the following exception when I attempted to download a report:

java.io.FileNotFoundException:
https://adwords.google.com/api/adwords/ReportDownload?t=AAAAAByPTeQAA...
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection....
1168)
        at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConn...
234)
        at
com.adlucent.logic.adwords.ReportManager.downloadReportResults(ReportManage r.java:
327)

Since the URL in question is returned from getGzipReportDownloadUrl(),
I am pretty confident that the problem is not on my end.  When the URL
is returned from getGzipReportDownloadUrl() is the report file
actually available for downloading or is there some small window of
time before the report is actually copied to the download location??
I have seen this error once or twice before but this is over a course
of a year and thousands of reports.  I am wondering if any other
developers have seen this.

Thanks in advance

    Tim Ozor


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AdWords API Advisor Google employee  
View profile  
 More options Aug 19 2008, 12:53 pm
From: AdWords API Advisor <adwordsapiadvi...@google.com>
Date: Tue, 19 Aug 2008 09:53:54 -0700 (PDT)
Local: Tues, Aug 19 2008 12:53 pm
Subject: Re: File not found exception on download
Hello Tim,

 No, that's a new one to me. I know that the URLs eventually expire,
but I don't know what the exact timeframe is for that.

 Has this just happened the one time?

Cheers,
-Jeff Posnick, AdWords API Team

On Aug 18, 12:26 pm, tozor <t...@adlucent.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tozor  
View profile  
 More options Aug 19 2008, 12:55 pm
From: tozor <t...@adlucent.com>
Date: Tue, 19 Aug 2008 09:55:35 -0700 (PDT)
Local: Tues, Aug 19 2008 12:55 pm
Subject: Re: File not found exception on download
Like I said I have seen it two or three times over the course of a
year and we pull thousands of reports in our application.  This is not
a huge deal but I was just wondering if there was a theoretical race
condition.

I'll repost if I see it again.

    Tim

On Aug 19, 11:53 am, AdWords API Advisor


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
dkasak  
View profile  
 More options Sep 25 2008, 10:01 pm
From: dkasak <daniel.ka...@247realmedia.com>
Date: Thu, 25 Sep 2008 19:01:02 -0700 (PDT)
Local: Thurs, Sep 25 2008 10:01 pm
Subject: Re: File not found exception on download
I'm actually seeing this issue quite a bit - I've just been asked to
look into it because of the high number of 'URL not found' issues.
What could be causing this? Too many concurrent connections /
reports / logins / something?

As noted above, the URL we're getting is coming straight from
getGzipReportDownloadUrl, and we're hitting the URL immediately after
receiving it. We're also trying it six times before giving up, so if
it were a timing issue, you'd think we'd pick it up in one of the
later attempts.

Can anyone shed any light on this issue? I have report IDs if these
help track down the issue. One such one is 546548514.

Thanks.

Dan


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Albert  
View profile  
 More options Sep 26 2008, 2:50 am
From: Albert <albert.ben...@gmail.com>
Date: Thu, 25 Sep 2008 23:50:50 -0700 (PDT)
Local: Fri, Sep 26 2008 2:50 am
Subject: Re: File not found exception on download
I confirm, we are having this issue in the past several days a lot.
Happens sporadically.

In the part of the trace, you can see we re-try getting a different
download url several times.

===============(not found trace + soap log)=======================

=====not fount==================

Utilities.Stabilizers.Armor.SafeExec
areParamsValid == true
Max Try is 4
System.Net.WebException: The remote server returned an error: (404)
Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri,
ICredentials credentials)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String
role, Type ofObjectToReturn)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings
settings, XmlParserContext inputContext)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings
settings)
   at Utilities.XMLHelper.ValidateXML(DataSet& ds)
   at
AdCoreModel.API.AdWordsAPI.ReportsDataService.<>c__DisplayClass6.<SaveRepor t>b__3()
in C:\Inetpub\wwwroot\webServices\AdCoreModel\API\AdWordsAPI
\ReportsDataService.cs:line 399
   at Utilities.Stabilizers.Armor.SafeExec(UInt32 maxTries, Type[]
exceptionTypes, CommonWrapper method, UInt32 sleepTime, String[]
detail_InnerText, CommonWrapper backupMethod, Nullable`1 jobRunID)
Going for next try
26/09/2008 01:51:54
Max Try is 3
System.Net.WebException: The remote server returned an error: (404)
Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri,
ICredentials credentials)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String
role, Type ofObjectToReturn)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings
settings, XmlParserContext inputContext)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings
settings)
   at Utilities.XMLHelper.ValidateXML(DataSet& ds)
   at
AdCoreModel.API.AdWordsAPI.ReportsDataService.<>c__DisplayClass6.<SaveRepor t>b__3()
in C:\Inetpub\wwwroot\webServices\AdCoreModel\API\AdWordsAPI
\ReportsDataService.cs:line 399
   at Utilities.Stabilizers.Armor.SafeExec(UInt32 maxTries, Type[]
exceptionTypes, CommonWrapper method, UInt32 sleepTime, String[]
detail_InnerText, CommonWrapper backupMethod, Nullable`1 jobRunID)
Going for next try
26/09/2008 01:51:58
Max Try is 2
System.Net.WebException: The remote server returned an error: (404)
Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri,
ICredentials credentials)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String
role, Type ofObjectToReturn)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings
settings, XmlParserContext inputContext)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings
settings)
   at Utilities.XMLHelper.ValidateXML(DataSet& ds)
   at
AdCoreModel.API.AdWordsAPI.ReportsDataService.<>c__DisplayClass6.<SaveRepor t>b__3()
in C:\Inetpub\wwwroot\webServices\AdCoreModel\API\AdWordsAPI
\ReportsDataService.cs:line 399
   at Utilities.Stabilizers.Armor.SafeExec(UInt32 maxTries, Type[]
exceptionTypes, CommonWrapper method, UInt32 sleepTime, String[]
detail_InnerText, CommonWrapper backupMethod, Nullable`1 jobRunID)
Going for next try
26/09/2008 01:52:02
Max Try is 1
System.Net.WebException: The remote server returned an error: (404)
Not Found.
   at System.Net.HttpWebRequest.GetResponse()
   at System.Xml.XmlDownloadManager.GetNonFileStream(Uri uri,
ICredentials credentials)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials
credentials)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String
role, Type ofObjectToReturn)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings
settings, XmlParserContext inputContext)
   at System.Xml.XmlReader.Create(String inputUri, XmlReaderSettings
settings)
   at Utilities.XMLHelper.ValidateXML(DataSet& ds)
   at
AdCoreModel.API.AdWordsAPI.ReportsDataService.<>c__DisplayClass6.<SaveRepor t>b__3()
in C:\Inetpub\wwwroot\webServices\AdCoreModel\API\AdWordsAPI
\ReportsDataService.cs:line 399
   at Utilities.Stabilizers.Armor.SafeExec(UInt32 maxTries, Type[]
exceptionTypes, CommonWrapper method, UInt32 sleepTime, String[]
detail_InnerText, CommonWrapper backupMethod, Nullable`1 jobRunID)
Going for next try
26/09/2008 01:52:06
Max tries = 0
26/09/2008 01:52:10

=======soap log============
<?xml version="1.0" encoding="iso-8859-1"?>
-----SoapRequest at 26/09/2008 01:51:55
      <?xml version="1.0" encoding="utf-8"?>
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <soap:Header>
          <applicationToken xmlns="https://adwords.google.com/api/
adwords/v12">
            ***
          </applicationToken>
          <clientEmail xmlns="https://adwords.google.com/api/adwords/
v12" />
          <developerToken xmlns="https://adwords.google.com/api/
adwords/v12">
            ***
          </developerToken>
          <email xmlns="https://adwords.google.com/api/adwords/v12">
            ***
          </email>
          <password xmlns="https://adwords.google.com/api/adwords/
v12">
            ***
          </password>
          <useragent xmlns="https://adwords.google.com/api/adwords/
v12">
            ***
          </useragent>
        </soap:Header>
        <soap:Body>
          <getReportDownloadUrl xmlns="https://adwords.google.com/api/
adwords/v12">
            <reportJobId>
              546853164
            </reportJobId>
          </getReportDownloadUrl>
        </soap:Body>
      </soap:Envelope>
      -----SoapResponse at 26/09/2008 01:51:56
      <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>
          <responseTime soapenv:actor="http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns="https://
adwords.google.com/api/adwords/v12">
            77
          </responseTime>
          <operations soapenv:actor="http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns="https://
adwords.google.com/api/adwords/v12">
            1
          </operations>
          <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v12">
            1
          </units>
          <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns="https://
adwords.google.com/api/adwords/v12">
            aee01e833ed2f1615e9a3fc1e070fae3
          </requestId>
        </soapenv:Header>
        <soapenv:Body>
          <getReportDownloadUrlResponse xmlns="https://
adwords.google.com/api/adwords/v12">
            <getReportDownloadUrlReturn>

https://adwords.google.com/api/adwords/ReportDownload?t=AAAAACCYUSwAA...
            </getReportDownloadUrlReturn>
          </getReportDownloadUrlResponse>
        </soapenv:Body>
      </soapenv:Envelope>
      -----SoapRequest at 26/09/2008 01:51:59
      <?xml version="1.0" encoding="utf-8"?>
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <soap:Header>
          <applicationToken xmlns="https://adwords.google.com/api/
adwords/v12">
            ***
          </applicationToken>
          <clientEmail xmlns="https://adwords.google.com/api/adwords/
v12" />
          <developerToken xmlns="https://adwords.google.com/api/
adwords/v12">
            ***
          </developerToken>
          <email xmlns="https://adwords.google.com/api/adwords/v12">
            ***
          </email>
          <password xmlns="https://adwords.google.com/api/adwords/
v12">
            ***
          </password>
          <useragent xmlns="https://adwords.google.com/api/adwords/
v12">
            ***
          </useragent>
        </soap:Header>
        <soap:Body>
          <getReportDownloadUrl xmlns="https://adwords.google.com/api/
adwords/v12">
            <reportJobId>
              546853164
            </reportJobId>
          </getReportDownloadUrl>
        </soap:Body>
      </soap:Envelope>
      -----SoapResponse at 26/09/2008 01:52:00
      <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>
          <responseTime soapenv:actor="http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns="https://
adwords.google.com/api/adwords/v12">
            6
          </responseTime>
          <operations soapenv:actor="http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns="https://
adwords.google.com/api/adwords/v12">
            1
          </operations>
          <units soapenv:actor="http://schemas.xmlsoap.org/soap/actor/
next" soapenv:mustUnderstand="0" xmlns="https://adwords.google.com/api/
adwords/v12">
            1
          </units>
          <requestId soapenv:actor="http://schemas.xmlsoap.org/soap/
actor/next" soapenv:mustUnderstand="0" xmlns="https://
adwords.google.com/api/adwords/v12">
            6a5d74d380f08b928df821b806433660
          </requestId>
...

read more »


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AdWords API Advisor Google employee  
View profile  
 More options Sep 26 2008, 11:43 am
From: AdWords API Advisor <adwordsapiadvi...@google.com>
Date: Fri, 26 Sep 2008 08:43:12 -0700 (PDT)
Local: Fri, Sep 26 2008 11:43 am
Subject: Re: File not found exception on download
Thanks for providing those logs and report job ids. I'll open a bug
with the reports team with that info.

Cheers,
-Jeff Posnick, AdWords API Team

On Sep 26, 2:50 am, Albert <albert.ben...@gmail.com> wrote:

...

read more »


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tozor  
View profile  
 More options Sep 26 2008, 6:20 pm
From: tozor <t...@adlucent.com>
Date: Fri, 26 Sep 2008 15:20:00 -0700 (PDT)
Subject: Re: File not found exception on download
I am also seeing these errors today with some frequency.

    Tim Ozor

On Sep 26, 10:43 am, AdWords API Advisor

...

read more »


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Albert  
View profile  
 More options Sep 29 2008, 4:35 am
From: Albert <albert.ben...@gmail.com>
Date: Mon, 29 Sep 2008 01:35:37 -0700 (PDT)
Local: Mon, Sep 29 2008 4:35 am
Subject: Re: File not found exception on download
Please let us know when this is resolved. In the mean time we've
implemented a re-try ordering a new report if the download url throws
404 not found. The problem with this is we are paying quota for each
new report although the problem is not on our side.

regards,
Albert


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AdWords API Advisor Google employee  
View profile  
 More options Oct 2 2008, 11:07 am
From: AdWords API Advisor <adwordsapiadvi...@google.com>
Date: Thu, 2 Oct 2008 08:07:50 -0700 (PDT)
Local: Thurs, Oct 2 2008 11:07 am
Subject: Re: File not found exception on download
Hello,

 The bug is in with the engineering team, but there's no update on it
yet. How frequently are folks experiencing this behavior over the past
day or so? If this was taking place primarily last week that's a good
data point to pass back to the engineers.

Cheers,
-Jeff Posnick, AdWords API Team

On Sep 29, 4:35 am, Albert <albert.ben...@gmail.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tozor  
View profile  
 More options Oct 2 2008, 1:19 pm
From: tozor <t...@adlucent.com>
Date: Thu, 2 Oct 2008 10:19:44 -0700 (PDT)
Local: Thurs, Oct 2 2008 1:19 pm
Subject: Re: File not found exception on download
I saw it several times on Friday during the day, but have not seen it
since then.

    Tim Ozor

On Oct 2, 10:07 am, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AdWords API Advisor Google employee  
View profile  
 More options Oct 14 2008, 2:30 pm
From: AdWords API Advisor <adwordsapiadvi...@google.com>
Date: Tue, 14 Oct 2008 11:30:16 -0700 (PDT)
Local: Tues, Oct 14 2008 2:30 pm
Subject: Re: File not found exception on download
I wanted to update folks after speaking to the engineering team about
this again.

There's speculation that these bad URLs might be returned during a
period of time in which the backend datastore is in a particular state
(apologies for not being able to get more specific than that). They're
matching up the timestamps from the sample failures everyone has
already provided, but what they'd really like is to be notified the
next time this happens so that they could try to catch things live.

So, please don't hesitate to post again about this behavior soon after
you see it. I'll bring it to the engineers' immediate attention when
you do.

Cheers,
-Jeff Posnick, AdWords API Team

On Oct 2, 1:19 pm, tozor <t...@adlucent.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tozor  
View profile  
 More options Nov 24 2008, 6:32 pm
From: tozor <t...@adlucent.com>
Date: Mon, 24 Nov 2008 15:32:55 -0800 (PST)
Local: Mon, Nov 24 2008 6:32 pm
Subject: Re: File not found exception on download
We had a reoccurence of this error at 7:30AM PST.

Thanks.

    Tim Ozor

On Oct 14, 12:30 pm, AdWords API Advisor


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AdWords API Advisor Google employee  
View profile  
 More options Nov 25 2008, 2:44 pm
From: AdWords API Advisor <adwordsapiadvi...@google.com>
Date: Tue, 25 Nov 2008 11:44:07 -0800 (PST)
Local: Tues, Nov 25 2008 2:44 pm
Subject: Re: File not found exception on download
Hello Tim,

 So yesterday's occurrence is actually something that the core
engineering team knows the root cause of. There was a loss of
connectivity between one particular set of AdWords API servers and the
backend data store that contains reports data yesterday morning for
several hours. There is retry/failover logic in place that should have
protected most users from seeing anything other than slightly
increased response times, but they did see a handful of outright
failures to fetch report data due to this.

 But... it's not a type of failure that has occurred previously, so
the engineering team isn't convinced that it has particular insight to
offer into the root cause of the previous occurrences. \

Cheers,
-Jeff Posnick, AdWords API Team

On Nov 24, 6:32 pm, tozor <t...@adlucent.com> wrote:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google