google-code-export / gaeunit

Automatically exported from code.google.com/p/gaeunit
0 stars 0 forks source link

Suggested noob FAQ: urlfetch works only on ports 80 and 443 #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After spending a regrettable amount of effort trying to discover why urlfetch 
kept timing out when 
asked to retrieve a page from my development server, I discovered that per 
Google documentation, 
urlfetch works only on ports 80 and 443.

Original issue reported on code.google.com by tlhola...@gmail.com on 8 Jan 2009 at 3:36

GoogleCodeExporter commented 9 years ago
i think this is caused by something else. you can urlfetch from whatever port.

the dev_appserver can only do one thing at a time so it cant run your function 
and fetch something from your app within this function. i had a similar problem 
in my app when i tried to urlfetch a page to store the content in the 
datastore. 

the solution was to start 2 dev_appservers on different ports one serving the 
app and the other fetching the content from the first.  

Original comment by a.schmi...@gmail.com on 1 Dec 2010 at 3:20