[google-appengine] Re: Cron jobs fail with error "Request was aborted after waiting too long to attempt to service your request."

2010-03-06 Thread John_Idol
Not fixed for me - I am still getting it pretty often not on cron-jobs
but on normal calls (even on the google login service call):

"Request was aborted after waiting too long to attempt to service your
request. Most likely, this indicates that you have reached your
simultaneous dynamic request limit. This is almost always due to
excessively high latency in your app. Please see
http://code.google.com/appengine/docs/quotas.html for more details."

This is pretty annoying and is a serious limitation to my commercial
app.

It seems to happen when the app is in idle state - once you manage to
load the first time then everything seems to go smoothly.

Puzzled ...

On Jan 29, 5:07 am, Abhinav Bhagwat  wrote:
> I am monitoring my app since past 1 week and I have found that the error
> rate has dropped to almost 0% (I see 1 or 2 requests failing sometimes).
> Thanks for fixing this issue.
>
> Thanks,
> Abhinav
>
>
>
> On Thu, Jan 21, 2010 at 5:55 AM, Xlorep DarkHelm  wrote:
> > Just as an FYI, I also have been seeing this bug happen over and over,
> > I have a cron job (that quite simply just drops off a task to be
> > processed into the default task queue), and it fails probably 60% of
> > the time, from casual glance at my logs. I originally just wanted this
> > cron to run once a day, but because of the high failure rate, I am
> > forced to make it run once an hour (and have code to gracefully end if
> > it already successfully ran within a day). Pretty frustrating to deal
> > with, and I'd appreciate if this problem was resolved.
>
> > I'm fairly confident in how I'm using the API as far as it is matching
> > the details in the documentation (the cron job is extraordinarily
> > simple).
>
> > My tasks also have this crop up, but they fortunately wait and try
> > again, which makes them work a lot better than the cron currently,
> > which just simply ends and refuses to try again without me using this
> > current work-around.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Cron jobs fail with error "Request was aborted after waiting too long to attempt to service your request."

2010-01-13 Thread John_Idol
Guys - I get the exact same error both on a cron job (no particular
pattern and very little being done - 4 queries which return nothing
since my db is empty + sending an email at the end) and other normal
calls.
I have no clue of the reason why. I deployed the exact same app 4
months ago and none of this was happening, it went offline then
recently re-deployed (end of december) and I am seeing this problem.

Puzzling!

On Dec 14 2009, 12:11 pm, Abhi  wrote:
> Sometimes my cron jobs fail with a HTTP 500 error and message:-
>
> Request was aborted after waiting too long to attempt to service your
> request. Most likely, this indicates that you have reached your
> simultaneous dynamic request limit. This is almost always due to
> excessively high latency in your app. Please 
> seehttp://code.google.com/appengine/docs/quotas.htmlfor more details.
>
> When this happens the logs show that the job took about 10086ms of CPU
> time. The cron is the only job running in the application and it fires
> one request every 5 minutes. I don't see any reason of why the quota
> for simultaneous request should be exceed by this one req/5 minutes
> application. There is nothing else this application is doing.
>
> If i access the same page (which has admin only permissions - so i am
> sure no one else can access it) from a browser it never fails.
>
> Can someone help me with this?
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




[google-appengine] Re: App Engine serving all pages as html -

2009-08-10 Thread John_Idol

@Nick

thanks for your help.

I tried with a firefox plugin - everything seems to be coming up as
expected:

http://www.wokhei.com/sitemaps/sitemap.xml --> Contet-type: text/plain
http://www.wokhei.com/sitemaps/sitemap.xml --> Contet-type:
application/xml

With my servlet:
http://www.wokhei.com/wokhei/serveSitemap?fileType=TXT --> Contet-
type: text/plain
http://www.wokhei.com/wokhei/serveSitemap?fileType=XML--> Contet-type:
text/plain

All I get from webmaster tool is -->Sitemap is HTML.

I guess it's time to move this to the webmaster tools help forum.



On Aug 10, 1:14 pm, "Nick Johnson (Google)" 
wrote:
> On Sun, Aug 9, 2009 at 4:43 PM, John_Idol wrote:
>
> > @Nick
>
> > ok - I implemented a servlet to serve the sitemap as text/plain (I am
> > loading the file into an array of bytes then calling):
>
> >                        resp.setContentType("text/plain");
> >                        resp.getOutputStream().write(bytes);
>
> > If I call the servlet manually I see the output I expect but if I feed
> > the servlet path to google webmaster tools I still get --> Sitemap is
> > HTML
>
> Try using curl or wget, or the Firefox 'raw http headers' plugin to
> verify the content-type and other headers being served. For example,
> in wget, do "wget -O /dev/null -Shttp://yoururl/...";. Try this on
> both your original static file and on the new servlet. If they're
> actually serving up as text/plain, you need to use the contact
> mechanisms for Sitemaps to find out what's up.
>
> -Nick Johnson
>
>
>
>
>
>
>
> > Trying with both XMl and TXT plain text ... starting to lose hope! :)
>
> > On Aug 9, 12:25 pm, John_Idol  wrote:
> >> The other strange thing is that robots.txt is apparently being served
> >> correctly (no errors from webmaster tools) and being a txt I would
> >> expect the same error as my txt sitemap
>
> >> On Aug 9, 12:15 pm, John_Idol  wrote:
>
> >> > Ok,
>
> >> > I jst noticed I was doing the opposite of what you suggested, from the
> >> > doc:
>
> >> > To serve a file with a custom MIME type, make the file a resource file
> >> > instead of a static file, and create a servlet that serves the data
> >> > with the custom MIME type.
>
> >> > Does this mean I have to make my sistemaps resource files in the
> >> > appengine-web.xml and implement a servlet just to serve them as text?
>
> >> > On Aug 9, 12:12 pm, John_Idol  wrote:
>
> >> > > Hi Nick - thanks for your help, I tried with:
>
> >> > > 
> >> > >         
> >> > >         
> >> > > 
>
> >> > > in my appengine-web.xml but now I am getting errors on the otherpages:
>
> >> > > WARNING: Can not serve /index.htmldirectly.  You need to include it
> >> > > in  in your appengine-web.xml.
>
> >> > > If I includehtmlfiles then it complains about pngs and so forth :)
>
> >> > > Any help appreciated!
>
> >> > > On Aug 9, 11:28 am, "Nick Johnson (Google)" 
> >> > > wrote:
>
> >> > > > Hi John,
>
> >> > > > If the mime-type being served is incorrect, you need to specify it
> >> > > > manually - see the docs on static handlers for 
> >> > > > Python:http://code.google.com/appengine/docs/python/config/appconfig.html#St...
> >> > > > and 
> >> > > > Java:http://code.google.com/appengine/docs/java/config/appconfig.html#Stat...
>
> >> > > > -Nick Johnson
>
> >> > > > On Sat, Aug 8, 2009 at 4:56 PM, John_Idol 
> >> > > > wrote:
>
> >> > > > > I have a very simple txt sitemap (named sitemap.txt) that looks 
> >> > > > > like
> >> > > > > this:
>
> >> > > > >http://myDomain.com
> >> > > > >http://myDomain.com/about.html
> >> > > > >http://myDomain.com/faq.html
> >> > > > >http://myDomain.com/careers.html
>
> >> > > > > When I load it up on webmaster tools I get:
>
> >> > > > > Sitemap isHTML- Your Sitemap appears to be anHTMLpage. Please use
> >> > > > > a supported sitemap format instead
>
> >> > > > > I tried a few alternatives (such as with or without www) but no 
> >> > > > > luck.
>
> >> > > > > I tried also with an xml sitemap and getting the same error so it
> >> > > > > looks like the server isservingeverything as text/htmlinstead of
> >> > > > > text/plain..
>
> >> > > > > Now the question is ... how do I get the appspot server to server 
> >> > > > > text
> >> > > > > as plain?
>
> >> > > > > Anyone any clue?
>
> >> > > > > Any help appreciated!
>
> >> > > > > P.S. if I am not posting in the appropriate group please tell me 
> >> > > > > which
> >> > > > > one should I post to
>
> >> > > > --
> >> > > > Nick Johnson, Developer Programs Engineer,AppEngine
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: App Engine serving all pages as html -

2009-08-09 Thread John_Idol

@Nick

ok - I implemented a servlet to serve the sitemap as text/plain (I am
loading the file into an array of bytes then calling):

resp.setContentType("text/plain");
resp.getOutputStream().write(bytes);

If I call the servlet manually I see the output I expect but if I feed
the servlet path to google webmaster tools I still get --> Sitemap is
HTML

Trying with both XMl and TXT plain text ... starting to lose hope! :)

On Aug 9, 12:25 pm, John_Idol  wrote:
> The other strange thing is that robots.txt is apparently being served
> correctly (no errors from webmaster tools) and being a txt I would
> expect the same error as my txt sitemap
>
> On Aug 9, 12:15 pm, John_Idol  wrote:
>
>
>
> > Ok,
>
> > I jst noticed I was doing the opposite of what you suggested, from the
> > doc:
>
> > To serve a file with a custom MIME type, make the file a resource file
> > instead of a static file, and create a servlet that serves the data
> > with the custom MIME type.
>
> > Does this mean I have to make my sistemaps resource files in the
> > appengine-web.xml and implement a servlet just to serve them as text?
>
> > On Aug 9, 12:12 pm, John_Idol  wrote:
>
> > > Hi Nick - thanks for your help, I tried with:
>
> > > 
> > >         
> > >         
> > > 
>
> > > in my appengine-web.xml but now I am getting errors on the otherpages:
>
> > > WARNING: Can not serve /index.htmldirectly.  You need to include it
> > > in  in your appengine-web.xml.
>
> > > If I includehtmlfiles then it complains about pngs and so forth :)
>
> > > Any help appreciated!
>
> > > On Aug 9, 11:28 am, "Nick Johnson (Google)" 
> > > wrote:
>
> > > > Hi John,
>
> > > > If the mime-type being served is incorrect, you need to specify it
> > > > manually - see the docs on static handlers for 
> > > > Python:http://code.google.com/appengine/docs/python/config/appconfig.html#St...
> > > > and 
> > > > Java:http://code.google.com/appengine/docs/java/config/appconfig.html#Stat...
>
> > > > -Nick Johnson
>
> > > > On Sat, Aug 8, 2009 at 4:56 PM, John_Idol 
> > > > wrote:
>
> > > > > I have a very simple txt sitemap (named sitemap.txt) that looks like
> > > > > this:
>
> > > > >http://myDomain.com
> > > > >http://myDomain.com/about.html
> > > > >http://myDomain.com/faq.html
> > > > >http://myDomain.com/careers.html
>
> > > > > When I load it up on webmaster tools I get:
>
> > > > > Sitemap isHTML- Your Sitemap appears to be anHTMLpage. Please use
> > > > > a supported sitemap format instead
>
> > > > > I tried a few alternatives (such as with or without www) but no luck.
>
> > > > > I tried also with an xml sitemap and getting the same error so it
> > > > > looks like the server isservingeverything as text/htmlinstead of
> > > > > text/plain..
>
> > > > > Now the question is ... how do I get the appspot server to server text
> > > > > as plain?
>
> > > > > Anyone any clue?
>
> > > > > Any help appreciated!
>
> > > > > P.S. if I am not posting in the appropriate group please tell me which
> > > > > one should I post to
>
> > > > --
> > > > Nick Johnson, Developer Programs Engineer,AppEngine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: App Engine serving all pages as html -

2009-08-09 Thread John_Idol

The other strange thing is that robots.txt is apparently being served
correctly (no errors from webmaster tools) and being a txt I would
expect the same error as my txt sitemap

On Aug 9, 12:15 pm, John_Idol  wrote:
> Ok,
>
> I jst noticed I was doing the opposite of what you suggested, from the
> doc:
>
> To serve a file with a custom MIME type, make the file a resource file
> instead of a static file, and create a servlet that serves the data
> with the custom MIME type.
>
> Does this mean I have to make my sistemaps resource files in the
> appengine-web.xml and implement a servlet just to serve them as text?
>
> On Aug 9, 12:12 pm, John_Idol  wrote:
>
>
>
> > Hi Nick - thanks for your help, I tried with:
>
> > 
> >         
> >         
> > 
>
> > in my appengine-web.xml but now I am getting errors on the otherpages:
>
> > WARNING: Can not serve /index.htmldirectly.  You need to include it
> > in  in your appengine-web.xml.
>
> > If I includehtmlfiles then it complains about pngs and so forth :)
>
> > Any help appreciated!
>
> > On Aug 9, 11:28 am, "Nick Johnson (Google)" 
> > wrote:
>
> > > Hi John,
>
> > > If the mime-type being served is incorrect, you need to specify it
> > > manually - see the docs on static handlers for 
> > > Python:http://code.google.com/appengine/docs/python/config/appconfig.html#St...
> > > and 
> > > Java:http://code.google.com/appengine/docs/java/config/appconfig.html#Stat...
>
> > > -Nick Johnson
>
> > > On Sat, Aug 8, 2009 at 4:56 PM, John_Idol wrote:
>
> > > > I have a very simple txt sitemap (named sitemap.txt) that looks like
> > > > this:
>
> > > >http://myDomain.com
> > > >http://myDomain.com/about.html
> > > >http://myDomain.com/faq.html
> > > >http://myDomain.com/careers.html
>
> > > > When I load it up on webmaster tools I get:
>
> > > > Sitemap isHTML- Your Sitemap appears to be anHTMLpage. Please use
> > > > a supported sitemap format instead
>
> > > > I tried a few alternatives (such as with or without www) but no luck.
>
> > > > I tried also with an xml sitemap and getting the same error so it
> > > > looks like the server isservingeverything as text/htmlinstead of
> > > > text/plain..
>
> > > > Now the question is ... how do I get the appspot server to server text
> > > > as plain?
>
> > > > Anyone any clue?
>
> > > > Any help appreciated!
>
> > > > P.S. if I am not posting in the appropriate group please tell me which
> > > > one should I post to
>
> > > --
> > > Nick Johnson, Developer Programs Engineer,AppEngine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: App Engine serving all pages as html -

2009-08-09 Thread John_Idol

Ok,

I jst noticed I was doing the opposite of what you suggested, from the
doc:

To serve a file with a custom MIME type, make the file a resource file
instead of a static file, and create a servlet that serves the data
with the custom MIME type.

Does this mean I have to make my sistemaps resource files in the
appengine-web.xml and implement a servlet just to serve them as text?

On Aug 9, 12:12 pm, John_Idol  wrote:
> Hi Nick - thanks for your help, I tried with:
>
> 
>         
>         
> 
>
> in my appengine-web.xml but now I am getting errors on the otherpages:
>
> WARNING: Can not serve /index.htmldirectly.  You need to include it
> in  in your appengine-web.xml.
>
> If I includehtmlfiles then it complains about pngs and so forth :)
>
> Any help appreciated!
>
> On Aug 9, 11:28 am, "Nick Johnson (Google)" 
> wrote:
>
>
>
> > Hi John,
>
> > If the mime-type being served is incorrect, you need to specify it
> > manually - see the docs on static handlers for 
> > Python:http://code.google.com/appengine/docs/python/config/appconfig.html#St...
> > and 
> > Java:http://code.google.com/appengine/docs/java/config/appconfig.html#Stat...
>
> > -Nick Johnson
>
> > On Sat, Aug 8, 2009 at 4:56 PM, John_Idol wrote:
>
> > > I have a very simple txt sitemap (named sitemap.txt) that looks like
> > > this:
>
> > >http://myDomain.com
> > >http://myDomain.com/about.html
> > >http://myDomain.com/faq.html
> > >http://myDomain.com/careers.html
>
> > > When I load it up on webmaster tools I get:
>
> > > Sitemap isHTML- Your Sitemap appears to be anHTMLpage. Please use
> > > a supported sitemap format instead
>
> > > I tried a few alternatives (such as with or without www) but no luck.
>
> > > I tried also with an xml sitemap and getting the same error so it
> > > looks like the server isservingeverything as text/htmlinstead of
> > > text/plain..
>
> > > Now the question is ... how do I get the appspot server to server text
> > > as plain?
>
> > > Anyone any clue?
>
> > > Any help appreciated!
>
> > > P.S. if I am not posting in the appropriate group please tell me which
> > > one should I post to
>
> > --
> > Nick Johnson, Developer Programs Engineer,AppEngine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: App Engine serving all pages as html -

2009-08-09 Thread John_Idol

Hi Nick - thanks for your help, I tried with:






in my appengine-web.xml but now I am getting errors on the other
pages:

WARNING: Can not serve /index.html directly.  You need to include it
in  in your appengine-web.xml.

If I include html files then it complains about pngs and so forth :)

Any help appreciated!

On Aug 9, 11:28 am, "Nick Johnson (Google)" 
wrote:
> Hi John,
>
> If the mime-type being served is incorrect, you need to specify it
> manually - see the docs on static handlers for 
> Python:http://code.google.com/appengine/docs/python/config/appconfig.html#St...
> and 
> Java:http://code.google.com/appengine/docs/java/config/appconfig.html#Stat...
>
> -Nick Johnson
>
>
>
>
>
> On Sat, Aug 8, 2009 at 4:56 PM, John_Idol wrote:
>
> > I have a very simple txt sitemap (named sitemap.txt) that looks like
> > this:
>
> >http://myDomain.com
> >http://myDomain.com/about.html
> >http://myDomain.com/faq.html
> >http://myDomain.com/careers.html
>
> > When I load it up on webmaster tools I get:
>
> > Sitemap isHTML- Your Sitemap appears to be anHTMLpage. Please use
> > a supported sitemap format instead
>
> > I tried a few alternatives (such as with or without www) but no luck.
>
> > I tried also with an xml sitemap and getting the same error so it
> > looks like the server isservingeverything as text/htmlinstead of
> > text/plain..
>
> > Now the question is ... how do I get the appspot server to server text
> > as plain?
>
> > Anyone any clue?
>
> > Any help appreciated!
>
> > P.S. if I am not posting in the appropriate group please tell me which
> > one should I post to
>
> --
> Nick Johnson, Developer Programs Engineer,AppEngine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] App Engine serving all pages as html -

2009-08-08 Thread John_Idol

I have a very simple txt sitemap (named sitemap.txt) that looks like
this:

http://myDomain.com
http://myDomain.com/about.html
http://myDomain.com/faq.html
http://myDomain.com/careers.html

When I load it up on webmaster tools I get:

Sitemap is HTML - Your Sitemap appears to be an HTML page. Please use
a supported sitemap format instead

I tried a few alternatives (such as with or without www) but no luck.

I tried also with an xml sitemap and getting the same error so it
looks like the server is serving everything as text/html instead of
text/plain..

Now the question is ... how do I get the appspot server to server text
as plain?

Anyone any clue?

Any help appreciated!

P.S. if I am not posting in the appropriate group please tell me which
one should I post to

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---