Skip to content

Instantly share code, notes, and snippets.

@rogaha
Created September 25, 2014 03:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rogaha/6954270e15ab7f141e3f to your computer and use it in GitHub Desktop.
Save rogaha/6954270e15ab7f141e3f to your computer and use it in GitHub Desktop.
root@42e8d052494e:~# tail -f /var/log/registry_hub.log
return wrapped(*args, **kwargs)
File "/home/docker/docker_index/profiles/middleware.py", line 118, in process_request
if not sso_enabled() or should_skip_sso(request):
File "/home/docker/docker_index/profiles/middleware.py", line 36, in sso_enabled
return waffle.switch_is_active(SSO_SWITCH_NAME)
File "/src/django-waffle/waffle/__init__.py", line 132, in switch_is_active
switch = cache.get(keyfmt(SWITCH_CACHE_KEY, switch_name))
File "/usr/local/lib/python2.7/dist-packages/redis_cache/cache.py", line 31, in _decorator
raise e.parent
ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
ERROR 2014-09-25 01:52:04,553 [django.request] 108 140108461758208 Internal Server Error: /repos/rogaha/
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 88, in get_response
response = middleware_method(request)
File "/usr/local/lib/python2.7/dist-packages/newrelic-2.24.0.21/newrelic/hooks/framework_django.py", line 175, in wrapper
return wrapped(*args, **kwargs)
File "/home/docker/docker_index/profiles/middleware.py", line 118, in process_request
if not sso_enabled() or should_skip_sso(request):
File "/home/docker/docker_index/profiles/middleware.py", line 36, in sso_enabled
return waffle.switch_is_active(SSO_SWITCH_NAME)
File "/src/django-waffle/waffle/__init__.py", line 132, in switch_is_active
switch = cache.get(keyfmt(SWITCH_CACHE_KEY, switch_name))
File "/usr/local/lib/python2.7/dist-packages/redis_cache/cache.py", line 31, in _decorator
raise e.parent
ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
^C
root@42e8d052494e:~# exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment