On 02/16/2015 12:47 PM, Ross Guarino wrote:
Hello all,

I'm stuck, I have a pyramid web application that works while using
pserve, but when I run it using apache and mod_wsgi it doesn't work.

I get a "Script timed out before returning headers: pyramid.wsgi" error
in the apache error.log after a few minutes. Other than that there is no
other output from apache and my application.

There is never any output from the pyramid app it's self, its full of
debug out, but it never gets to running my application. Unfortunately I
have no idea how to debug the application because it never runs my code.
Do you know of anyways to debug the startup process or any ideas why
using apache + mod_wsgi would break the app this way?

No, but getting mod_wsgi working can be a little fiddly sometimes. I'd suggest making a "hello world" WSGI app like the one described at <https://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide#WSGI_Application_Script_File> work under mod_wsgi first, if you have not already. Once that works, I'd suggest making a very simple hello world Pyramid application and trying to make that work. And once that works, try your real application.

This stackoverflow post seems to indicate that there is error log output when such a situation occurs:

<http://stackoverflow.com/questions/6608748/mod-wsgi-process-getting-killed-and-django-stops-working>



Thanks for the help,
-RG

--
You received this message because you are subscribed to the Google
Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to