> I'm recently having problems with a python flask application running on
> uWSGI v2.0.12. This service is a REST API. What brought my attention to
> uWSGI is when the API periodically would return 500 Internal Server error
> responses for calls that should always return 200 success. Even requests
> that happen on a frequent basis fail some of the time but not all of the
> time. It does not seem to have anything to do with the request itself
> (i.e.
> the data in the request is correct).
>
> Digging through the logs I noticed that each time a 500 response would
> happen, a log would be written with the text "no python application
> found".
> I then started looking for where this string would be coming from, and
> found it in the uWSGI native code.
>
> At this point I am trying to understand what could be the origin of this
> error. I notice that the string would only ever get logged when the
> application id is found to be -1. What is not clear to me right now though
> is what would cause that to happen?
>
> I can provide whatever information you need that I have not included in
> this message in a reply.
>
>
>

Please post your configuration, but i would search better in uWSGI logs,
it could happen if your workers are not able to correctly reload the
application

-- 
Roberto De Ioris
http://unbit.com
_______________________________________________
uWSGI mailing list
uWSGI@lists.unbit.it
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to