Monday, December 28, 2015

Re: Django debug= false throwing 503 error

Hi,
I assume the development server is working. If that is the case it could be that you have a problem with your production stack. I remember a situation long time ago (like Django 1.1 or so) a project I run with apache + mod_wsgi and we have a problem like this (I don't remember the error code) because there were a "print" in the code.

So please confirm you can use "runserver"
    * If so, try to put more data on your production stack (web server, wsgi gateway, etc.)
    * If no you'll probably have much more data to fix the problem.

Regards,
Esau.



On Mon, Dec 28, 2015 at 8:46 AM, Web Architect <pinakeeb@gmail.com> wrote:
Hi,

I have set the following in settings.py for our production system:

DEBUG=False

ALLOWED_HOSTS = ['*'] (in fact any value is not working)

The server is throwing "HTTPError = 503". 

There are no logs and I am clueless about the reason for the error. I tried searching the net and looking into DJango documents but couldn't find the possible reason.

Django version is 1.8.3. 

Would really appreciate if anyone could help with the above.

Thanks.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a3a76d7c-438c-442d-a68b-3d31859b4708%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Esaú Rodríguez
esauro@gmail.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAB4Jw77oU1kmem6vbo-y0HJoCqvmx%3DZjnimxtX9x2tSLPyhijA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment