[Flask] Fwd: my flask question is ...

Corey Boyle coreybrett at gmail.com
Fri Mar 6 19:10:28 EST 2020


It’s impossible to diagnose this with the limited information you have
supplied.

What app server are you using ?

Post your config files.

I’ve been running a fairly complex Flask web app for several months using
Nginx and UWSGI without a lick of trouble. Previously I’ve used Apache and
mod-wsgi, and that was a breeze as well.

I would start by creating a server-setup.txt file in your code repo with
detailed instructions for setting up your server from scratch. You can copy
the contents of your various config files into that file as reference. Then
you will have something to share with us.

On Fri, Mar 6, 2020 at 3:52 PM flaskee via Flask <flask at python.org> wrote:

> Sorry, I should of broken this into its own email to be clear.
> Here it is.
>
>
> I asked my question here about 2 months back, and I'm still stuck.
>
> (I have been all through the stackoverflows, Miguels' blog, books, etc.)
>
> Here it is again.
> =================
>
> I have a full flask site running under the latest Apache.
> Debian 10.3.
> I'm using Python 3.5.
>
> The site goes down with 500 errors randomly.
> I can not figure out why.
> It will sometimes go down (AND COME BACK UP BY ITSELF!).
> No intervention!
>
> Often though I have to reload the site to get it back.
>
> When it is "down" with the 500 error,
> and you access the site,
> it still loads the access.log with the files to be accessed.
>
> nmap -sP mysite.org reports the "Host is up"
> when it is in it's 500 error state.
>
> It is odd.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> *All of this makes it so I can not recommend a full flask site to
> customers.*
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I am seeing no errors in the server's logs, the site's error.log, or
> anywhere really.
>
> Other sites on the same apache server run without problem while the flask
> site is 500'd.
>
> I am stuck
>
> _______________________________________________
> Flask mailing list
> Flask at python.org
> https://mail.python.org/mailman/listinfo/flask
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20200306/3a0d6d69/attachment.html>


More information about the Flask mailing list