On Thu, Jan 2, 2014 at 1:54 PM, Adrian Randall <[email protected]>
 wrote:

> I am typing this from my phone so I apologize in advance for any odd
> formatting.
> But then the pygeocoder library fails:
> ConnectionError: HTTPSConnectionPool(host='maps.google.com', port=443):
> Max retries exceeded with url:
> /maps/api/geocode/jsonregion=&sensor=false&bounds=&language=
> &address=New+York%2CNew+York+United+States
> (Caused by <class
> 'google.appengine.api.remote_socket._remote_socket_error.error'>:
> [Errno 13] Permission denied)




I see you've posted the error text; can you also post the error traceback?

There are a few solutions you can try:

1. Sometimes the Sockets API doesn't play well with SSL. Can you try
editing the pygeocoder source to use http:// instead of http*s*://? In
other words, go to pygeocoder.py (
http://code.xster.net/pygeocoder/src/b3ae6365ff6179be903c9e222470cdcd3361405e/pygeocoder.py?at=default
),
go to line 50, and edit the variable GEOCODE_QUERY_URL to use *http://*.

2. Deploy two separate applications in the same application ID (give them
different version numbers). One application can use sockets to pull down
large files, while the other application can use URLFetch for the Geocoder
API.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to