Appengine 1.6.3 Python 2.7 - Error 404

588 views
Skip to first unread message

andidol

unread,
Mar 2, 2012, 9:14:27 AM3/2/12
to google-a...@googlegroups.com
Hi,
I just migrated my AppEngine App to 2.7 and concurrent requests. Everything works except some requests response with a 404 Not Found (The resource could not be found.) Google Frontend Server error. 
What is going on here? It works the most time but sometimes requests get a 404 response from my app. The URL definitely exists and should get handled as it does 90% of the requests.
Are there limitations on an instance which returns 404 if I go beyond them?

Thank you

Ikai Lan (Google)

unread,
Mar 2, 2012, 2:38:51 PM3/2/12
to google-a...@googlegroups.com
There shouldn't be. If you go over quota GAE should return a 503 error.

This is a long shot, but any chance you have accidentally enabled traffic splitting? This is a new feature that allows you to very easily do A/B testing:


Anyone else seeing similar problems?

--
Ikai Lan 
Developer Programs Engineer, Google App Engine



--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Wh4K0MeVCwsJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

jon

unread,
Mar 3, 2012, 10:52:44 PM3/3/12
to Google App Engine
Excellent feature! Is routing to non appspot.com domains supported?

On Mar 3, 6:38 am, "Ikai Lan (Google)" <ika...@google.com> wrote:
> There shouldn't be. If you go over quota GAE should return a 503 error.
>
> This is a long shot, but any chance you have accidentally enabled traffic
> splitting? This is a new feature that allows you to very easily do A/B
> testing:
>
> http://code.google.com/appengine/docs/adminconsole/trafficsplitting.html
>
> Anyone else seeing similar problems?
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com
>
>
>
>
>
>
>
> On Fri, Mar 2, 2012 at 6:14 AM, andidol <andreas.dolin...@gmail.com> wrote:
> > Hi,
> > I just migrated my AppEngine App to 2.7 and concurrent requests.
> > Everything works except some requests response with a 404 Not Found (The
> > resource could not be found.) Google Frontend Server error.
> > What is going on here? It works the most time but *sometimes* requests

Brandon Wirtz

unread,
Mar 3, 2012, 10:59:27 PM3/3/12
to google-a...@googlegroups.com
Does traffic split versions share MemCache?


andidol

unread,
Mar 5, 2012, 4:00:55 AM3/5/12
to google-a...@googlegroups.com
Hi, I found out what the problem is. I have %0A (carriage return) in the URL and since the new version python2.7/webapp2 the URL no longer matches anything..

- url: /v1.*
  script: ...

http://<baseurl>/v1/lorem%0Aipsum => does not work, but worked before the migration. I get an "Error 404. resource not found" result page. 

I don't get an Not found error: ... did not match any patterns in application configuration.

How could I solve/workaround this?

Thank you



On Friday, March 2, 2012 8:38:51 PM UTC+1, Ikai Lan wrote:
There shouldn't be. If you go over quota GAE should return a 503 error.

This is a long shot, but any chance you have accidentally enabled traffic splitting? This is a new feature that allows you to very easily do A/B testing:


Anyone else seeing similar problems?

--
Ikai Lan 
Developer Programs Engineer, Google App Engine



On Fri, Mar 2, 2012 at 6:14 AM, andidol <andreas....@gmail.com> wrote:
Hi,
I just migrated my AppEngine App to 2.7 and concurrent requests. Everything works except some requests response with a 404 Not Found (The resource could not be found.) Google Frontend Server error. 
What is going on here? It works the most time but sometimes requests get a 404 response from my app. The URL definitely exists and should get handled as it does 90% of the requests.
Are there limitations on an instance which returns 404 if I go beyond them?

Thank you

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/Wh4K0MeVCwsJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to google-appengine+unsubscribe@googlegroups.com.

andidol

unread,
Mar 9, 2012, 3:40:32 AM3/9/12
to google-a...@googlegroups.com
Solved it with using additional specifying the %0A (\n) in the regular expression. In old webapp it was not necessary.

- url: /v1.*
  script: ..

application = webapp2.WSGIApplication([(r'/v1/(.|\n)*', Script)], debug=True)

Chris Ramsdale

unread,
Mar 9, 2012, 1:36:53 PM3/9/12
to google-a...@googlegroups.com
Split versions do share MemCache.

-- Chris


On Sat, Mar 3, 2012 at 7:59 PM, Brandon Wirtz <dra...@digerat.com> wrote:
Does traffic split versions share MemCache?
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
Reply all
Reply to author
Forward
0 new messages