Are you running your application in mod_wsgi daemon mode or embedded mode?

Graham

On 21 June 2011 23:54, Nick K <[email protected]> wrote:
> Hi, all,
> I hope this is the right forum (I am very new at this).
> I've been trying to get Django to work as a Paypal IPN endpoint, and I've
> been using wsgi. Basically, Paypal contacts my server with information using
> a seemingly headerless request.
> Here is the entry in the access log:
> 216.113.191.33 - - [21/Jun/2011:11:42:03 -0400] "POST /ipn_endpoint_test
> HTTP/1.0" 500 36936 "-" "-"
>
> and here is the error:
> [Tue Jun 21 11:42:03 2011] [error] [client 216.113.191.33] mod_wsgi
> (pid=11130): Exception occurred processing WSGI script
> '/var/www/wsgi/wsgi.wsgi'.
> [Tue Jun 21 11:42:03 2011] [error] [client 216.113.191.33] IOError: failed
> to write data
> What mystifies me is that the script runs perfectly in the browser. The
> first line of the script being called is a logging entry, and it doesn't
> even reach that point when PayPal calls it. I also (think) I have Paste's
> error middleware running, and that's also not registering anything.
> (1) Anyone know what could be causing this?
> (2) Anyone want to help a poor n00b figure out the best way to debug this?
> Thanks so much,
> Nick
>
> --
> You received this message because you are subscribed to the Google Groups
> "modwsgi" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/modwsgi/-/VNgedkT2zvcJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/modwsgi?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to