Hi, Code:
import urllib2 url = 'http://127.0.0.1/server/default/index' response = urllib2.urlopen(url) Here 127.0.0.1 is the same web2py from which this code is being called. On doing so, the web2py hangs. I debugged the issue to Rocket, where it does not allocate a new thread to request (active_queue.get() does not return a new thread required to complete the response), as the current session is already using one. This is not a problem with other web servers. Is this a bug or just the way Rocket server was made to behave? Vihang