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)

On Monday, March 5, 2012 10:00:55 AM UTC+1, andidol wrote:
>
> 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:
>>
>> 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 <[email protected]>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 [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected].
>>> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/fOdBNrzgQJgJ.
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/google-appengine?hl=en.

Reply via email to