Question

I followed the tutorial for Deploying a flask application with Nginx and Uswgi

I was following this tutorial (https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-uwsgi-and-nginx-on-ubuntu-20-04#conclusion) and I did all the steps. But now I get the error that my website took too long to respond. This happened 3 or 4 times and I redid my application but it still shows this.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @yah,

Does this error show itself every time you load your website or not?

I know it might sound stupid but are you sure it’s not your internet connection? I’ve had issues like that.

Other solutions or ways to check what’s going on would be your Nginx’s error_logs. If Nginx has a problem loading the website it will show it in it’s error_log. Can you see anything in there? If yes, please post it and we can go further debugging what’s the problem.

Regards, KFSys