On Sun, Nov 9, 2014 at 7:22 PM, Tracy Moore <[email protected]> wrote:

> I'm using urllib2 to make several HTTP and HTTPS requests. My problem is
> that I'm unable to make HTTPS requests through a proxy, as the GAE httplib
> wont allow tunneling.
>
> Is there anyway around this?
>


I assume you're getting *NotImplementedError - HTTP CONNECT Tunnelling is
not supported*?

Sorry to say this, but there's no way around it. You'll have to find a
different way to connect to the proxy and tell it what to retrieve - for
instance, the proxy could implement a HTTP API that you could then call out
to using basic urlfetch.

Another alternative is to use a Managed VM
<https://cloud.google.com/appengine/docs/managed-vms/#managed_vm_considerations>
and access the proxy from there, or use a prebuilt solution such as
Blockspring
<https://api.blockspring.com/flightman/3db26e8ace9205d683879f0fecf7bd16>.


-----------------
-Vinny P
Technology & Media Consultant
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/d/optout.

Reply via email to