Hello everyone

I'm installing a new production server in CentOS7 and I'm getting 502 bad 
gateway when connecting to the web console.

I think it's a problem with uwsgi that I have been trying to solve for 
quite a while without success.

Uwsgi starts, ps ax | grep uwsgi returns:

20755 pts/1    T      0:00 /bin/systemctl start uwsgi.service
20831 ?        Ss     0:00 /usr/sbin/uwsgi --ini /opt/openwisp2/uwsgi.ini
20832 ?        Sl     0:00 /usr/sbin/uwsgi --ini /opt/openwisp2/uwsgi.ini
20833 ?        Sl     0:00 /usr/sbin/uwsgi --ini /opt/openwisp2/uwsgi.ini

But when looking at the output of the service I can spot something that 
looks wrong:


Nov 08 12:11:47 o <http://xaplpoc27v.ibge.gov.br/>penwispserver.domain.com 
uwsgi[20831]: 
*** Operational MODE: preforking+threaded ***
Nov 08 12:11:47 o <http://xaplpoc27v.ibge.gov.br/>penwispserver.domain.com 
uwsgi[20831]: 
*** no app loaded. going in full dynamic mode ***
Nov 08 12:11:47 o <http://xaplpoc27v.ibge.gov.br/>penwispserver.domain.com 
uwsgi[20831]: 
*** uWSGI is running in multiple interpreter mode ***

and any http request to the console will result with:

Nov 08 12:12:01 xaplpoc27v.ibge.gov.br uwsgi[20831]: -- unavailable 
modifier requested: 0 --


I reviewed the access to /opt/openwisp2/openwisp2/wsgi.py and it all looks 
ok (I ended up giving full permission to the folder /opt) to rule out a 
permission issues. 

It looks like a common problem out there but I can't quite figure out what 
is wrong. I would really appreciate any help with this.

Regards,

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/openwisp/b2624bc4-69e4-47d7-b237-e21d7291b11a%40googlegroups.com.

Reply via email to