When I run this code
url = ('http://maps.google.com/maps/nav?'+
'q=from%3A'+from_address+
'+to%3A'+to_address+
'&output=json&oe=utf8&key='+api_key)
request = urllib2.Request(url)
response = urllib2.urlopen(request)
In a simple view in Django running in google app engine via the Google App Engine Helper for Django I get an ApplicationError: 2 timed out
exception, but when I run the same code in python's or Django's shell it works just fine.
Any ideas what's going on? Thanks!