> Greetings, > > I thought I had the internal router working as expected (see previous > emails). However, something is causing the routing uwsgi process to not > be able to read the http content from uwsgi_req->poll.fd and it will > time out. The uwsgi header get sent to the remote uwsgi, but no content > as the routing uwsgi has no data to read from uwsgi_req->poll.fd. > > On the surface, the problem appears to be that I have somehow configured > the routing uwsgi to read the contents from the socket and write them to > uwsgi_req->async_post. Are the options http-socket and route > incompatible? > > The config is: > [uwsgi] > emperor-fd = 7 > ini = flask_server.ini > http-socket = 127.0.0.1:6767 > route = ^/json_rpc_search uwsgi:127.0.0.1:6768,0,0 > base_web_dir = /website/drugsite-test.msi.umn.edu > uwsgi_dir = /website/drugsite-test.msi.umn.edu/uwsgi > virtualenv = > /website/drugsite-test.msi.umn.edu/.virtualenvs/test_drugsite_40 > auto-procname = True > procname-prefix-spaced = DrugSite TEST Flask App > show-config = True > master = True > module = DrugSite_app:app > threads = 4 > chdir = /website/drugsite-test.msi.umn.edu/uwsgi > logto = /website/drugsite-test.msi.umn.edu/uwsgi/log/flask_server.log > cctbx_base_dir = /website/drugsite-test.msi.umn.edu/local/src > cctbx_sources_dir = > /website/drugsite-test.msi.umn.edu/local/src/cctbx_sources > cctbx_build_dir = /website/drugsite-test.msi.umn.edu/local/src/cctbx_build > env = BASE_WEB_DIR=/website/drugsite-test.msi.umn.edu > env = > VIRTUAL_ENV=/website/drugsite-test.msi.umn.edu/.virtualenvs/test_drugsite_40 > env = > PYTHONPATH=/website/drugsite-test.msi.umn.edu/.virtualenvs/test_drugsite_40/lib/python2.6/site-packages:/website/drugsite-test.msi.umn.edu/local/src/cctbx_sources:/website/drugsite-test.msi.umn.edu/local/src/cctbx_sourcesPyCifRW:/website/drugsite-test.msi.umn.edu/local/src/cctbx_sources/boost_adaptbx:/website/drugsite-test.msi.umn.edu/local/src/cctbx_sources/libtbx/pythonpath:/website/drugsite-test.msi.umn.edu/local/src/cctbx_build/lib > env = > LIBTBX_BUILD=/website/drugsite-test.msi.umn.edu/local/src/cctbx_build > ;end of configuration > > *** Starting uWSGI 1.2.5 (64bit) on [Thu Aug 30 17:19:00 2012] *** > *** > *** You are running a DEBUG version of uWSGI, please disable debug in > your build profile and recompile it *** > *** > >
It should be fixed in latest tip (1.3), can you check it ? Thanks -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
