Hello Francisco, the recommended method for issuing http requests on App Engine Python is to use the URL Fetch service <https://cloud.google.com/appengine/docs/standard/python/issue-requests>. You can also use the "requests" library by following these instructions <https://cloud.google.com/appengine/docs/standard/python/issue-requests#gae-url-requests> .
On Friday, October 27, 2017 at 3:47:35 PM UTC-4, Francisco Javier Gonzalez wrote: > > > > down votefavorite > <https://stackoverflow.com/questions/46759689/request-google-app-engine-flex-enviroment#> > > I do a http request with module requests in django (python 3), > > import requests > url = 'https://www.google.es' > r = requests.get(url) > str = str(r.content) > > and It work right in localhost, but when I deploy in Google App Engine, It > return a "('Connection aborted.', error(104, 'connection reset by peer'))", > I deploy in a flex enviroment. > > I read than it not necessary change for urlfetch module. > -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/a264c354-ea78-47ee-b176-09d8c4cdc228%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
