Flask-MonitoringDashboard
Flask-MonitoringDashboard copied to clipboard
How can I use Flask-MonitoringDashboard with uwsgi?
How can I use Flask-MonitoringDashboard with uwsgi? It works in local, but when i try to use on uwsgi, I will receive an error:
*** no app loaded. going in full dynamic mode ***
*** uWSGI is running in multiple interpreter mode ***
spawned uWSGI worker 1 (and the only) (pid: 46666, cores: 1)
--- no python application found, check your startup logs for errors ---
seems that you're not configuring uwsgi correctly? does your app work w/o the FMD and stops working after you add FMD?
Thanks for you help @mircealungu, exactly my app works without FMD. I'm a not an expert of uwsgi, I'm using this: https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uswgi-and-nginx-on-ubuntu-18-04 Is there something wrong with configuration that doesn't allow me to use FMD?
EDIT: Solved: added 2 threads for any process
I can't tell you unless i see the code. Is the code on GitHub maybe? I can have a look. or otherwise can you share the python file containing the code where you attach the dashboard to the application?