Israel Brewster <ibrews...@flyravn.com> writes:
> I have a flask application deployed on CentOS 7 using Python 3.6.7 and uwsgi 
> 2.0.17.1, proxied behind nginx. uwsgi is configured to listed on a socket in 
> /tmp. The app uses gevent and the flask_uwsgi_websockets plugin as well as 
> various other third-party modules, all installed via pip in a virtualenv. The 
> environment was set up using pip just a couple of days ago, so everything 
> should be fully up-to-date. The application *appears* to be running properly 
> (it is in moderate use and there have been no reports of issues, nor has my 
> testing turned up any problems), however I keep getting entries like the 
> following in the error log:
>
> AssertionError
> 2019-01-14T19:16:32Z <callback at 0x7f9bd4b2ae88 stopped> failed with 
> AssertionError

I would try to find out where the log message above has been generated
and ensure it does not only log the information above but also the
associated traceback.

I assume that the log comes from some framework -- maybe "uwsgi"
or "gevent". It is a weakness to log exceptions without the
associated traceback.

> There is no additional information provided, just that. I was running the 
> same app (checked out from a GIT repository, so exact same code) on CentOS 6 
> for years without issue, it was only since I moved to CentOS 7 that I've seen 
> the errors. I have not so far been able to correlate this error with any 
> specific request. Has anyone seen anything like this before such that you can 
> give me some pointers to fixing this? As the application *appears* to be 
> functioning normally, it may not be a big issue, but it has locked up once 
> since the move (no errors in the log, just not responding on the socket), so 
> I am a bit concerned.
> -----------------------------------------------
> Israel Brewster
> Systems Analyst II
> 5245 Airport Industrial Rd
> Fairbanks, AK 99709
> (907) 450-7293
> -----------------------------------------------
>
> [cid:05a3a602-0c27-4749-91b8-096a5857d984@flyravn.com]
>
>
>
> [cid:bbc82752-6db4-44cf-b919-421ed304e1d1@flyravn.com]

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to