You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Occasionally on all sorts of pages I will get this traceback:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 90, in get_response
response = middleware_method(request)
File "/usr/local/lib/python2.7/dist-packages/banish/middleware.py", line 80, in process_request
if self.is_banned(ip) or self.monitor_abuse(ip) or user_agent in self.BANNED_AGENTS:
File "/usr/local/lib/python2.7/dist-packages/banish/middleware.py", line 113, in monitor_abuse
cache.incr(cache_key)
File "/usr/local/lib/python2.7/dist-packages/django/core/cache/backends/locmem.py", line 81, in incr
raise ValueError("Key '%s' not found" % key)
ValueError: Key 'DJANGO_BANISH_ABUSE:[ip address here]' not found
Solutions?
The text was updated successfully, but these errors were encountered:
As the documentation states memcached is a requirement. From that stacktrace it looks like you are not using memcached but Django's in-process cache -- and I suspect that to be the root cause of your issue.
Occasionally on all sorts of pages I will get this traceback:
Solutions?
The text was updated successfully, but these errors were encountered: