7

Since yesterday I have been wrestling with this problem: unable to load configuration from uwsgi

When I google it, nothing comes up. I am trying to run UWSGI under nginx with a very simple uwsgi.ini file. The file is being pointed to correctly.

Can anyone please explain what this error is, and how I ca go about diagnosing it and fixing it. If there is any more information I can post to help then please just ask.

Regards,

James

2
  • Please post the uwsgi.ini and the uwsgi logs Sep 13, 2013 at 15:55
  • I had the same error, and I didn't have a "application" object in my Python file, as this is the default that uwsgi searches for.
    – Willem
    Apr 16, 2015 at 15:22

1 Answer 1

10

You can try running uwsgi manually to check that your ini file is correct or not,

uwsgi --ini myconf.ini --http :9090 --log-to /tmp/uwsgi.log
tail -f /tmp/uwsgi.log

You can try access the app (something like localhost:9090). There shoud be something write to the log file. If uwsgi itself works fine then the problem might be at nginx configuration.

Reference:

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .