I\'m running uwsgi in emperor mode
uwsgi --emperor /path/to/vassals/ --buffer-size=32768
and getting this error
invalid re
This error is shown when uWSGI server is using uwsgi
protocol and one tries to access it via http
protocol by curl
or web browser directly. If you can, try configuring your uWSGI server to use http
protocol, so you can access it via web browser or curl.
In case you cannot (or do not want to) change it, you can use a reverse proxy (e.g. nginx
) in front of local or remote uWSGI server, see https://uwsgi-docs.readthedocs.org/en/latest/Nginx.html
If it feels like too much work, give a try to uwsgi-tools
python package:
$ pip install uwsgi-tools
$ uwsgi_curl 10.0.0.1:3030
There is also a simple reverse proxy server uwsgi_proxy
if you need to access your application(s) via web browser etc. See more expanded answer https://stackoverflow.com/a/32893520/179581