> On 9 Aug 2018, at 11:24 pm, Tim Moody <[email protected]> wrote:
>
> I am seeing a large number of these in the apache2 error log. The application
> is an html/javascript front end that makes jquery ajax calls to a mod_wsgi
> python app that is simply a wrapper to send requests over zeromq to a local
> custom server written in python. On startup it makes 8 such calls and this
> error can appear after the 4th or 5th; however all 8 frequently, but not
> always, succeed. The wrapper talks to the server over an ipc socket.
>
> I'm not clear if this message is coming from mod_wsgi or zeromq or apache or
> something else. The server being contacted does not show any errors.
It looks like logging from your Python application code or some Python package
it uses.
Anything logged/printed by the Python web application being hosted, to
stdout/stderr, gets saved into the Apache error log. It will be marked as
wsgi:error, but is just ordinary program output and need not mean there is an
error, and definitely is not from mod_wsgi itself.
Have you tried running 'grep' on your application source code, and your Python
environments site-packages directory, to search for the string 'Connecting to
server'?
Graham
--
You received this message because you are subscribed to the Google Groups
"modwsgi" 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 https://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.