Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flask errors when DB hostname changed #38

Open
ghost opened this issue Nov 9, 2017 · 0 comments
Open

Flask errors when DB hostname changed #38

ghost opened this issue Nov 9, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Nov 9, 2017

We have a Redis cluster running on AWS using their Elasticache server and for reasons I won't go into we periodically change the host that the DB behind it is running on. When we do this, and even with an application (apache/wsgi) rolling restart, we still see failures from the flask-redis plugin that are not recoverable without a reboot. Sounds like something at the connection level, so we probably terminate at that level but a quick reboot does the trick. Has anyone seen this before?

[Thu Nov 09 22:33:06.033764 2017] [:error] [pid 2301] Exception AttributeError: AttributeError("'NoneType' object has no attribute 'error'",) in <bound method Connection.__del__ of Connection<host=**********8.0001.use1.cache.amazonaws.com,port=6379, db=2>> ignored

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants