Skip to content

Internal Server Errors #10

@heidi666

Description

@heidi666

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions