could not connect to localhost:27017: [Errno 111] Connection refused
| Request Method: | GET |
|---|---|
| Request URL: | http://www.imageforensic.org/ |
| Django Version: | 1.5.5 |
| Exception Type: | ConnectionFailure |
| Exception Value: | could not connect to localhost:27017: [Errno 111] Connection refused |
| Exception Location: | /htdocs/imageforensic.org/pyenv/local/lib/python2.7/site-packages/pymongo/mongo_client.py in __init__, line 352 |
| Python Executable: | /usr/local/bin/uwsgi |
| Python Version: | 2.7.3 |
| Python Path: | ['.', '', '/htdocs/imageforensic.org/pyenv/local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg', '/htdocs/imageforensic.org/pyenv/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg', '/htdocs/imageforensic.org/pyenv/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg', '/htdocs/imageforensic.org/pyenv/lib/python2.7/site-packages/pip-1.1-py2.7.egg', '/htdocs/imageforensic.org/pyenv/lib/python2.7', '/htdocs/imageforensic.org/pyenv/lib/python2.7/plat-linux2', '/htdocs/imageforensic.org/pyenv/lib/python2.7/lib-tk', '/htdocs/imageforensic.org/pyenv/lib/python2.7/lib-old', '/htdocs/imageforensic.org/pyenv/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/htdocs/imageforensic.org/pyenv/local/lib/python2.7/site-packages', '/htdocs/imageforensic.org/pyenv/lib/python2.7/site-packages', '/usr/local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/pymodules/python2.7'] |
| Server time: | Tue, 24 Feb 2026 01:10:22 -0600 |
/htdocs/imageforensic.org/pyenv/local/lib/python2.7/site-packages/django/core/handlers/base.py in get_response
if response is None:
if hasattr(request, 'urlconf'):
# Reset url resolver with a custom urlconf.
urlconf = request.urlconf
urlresolvers.set_urlconf(urlconf)
resolver = urlresolvers.RegexURLResolver(r'^/', urlconf)
resolver_match = resolver.resolve(request.path_info)...
callback, callback_args, callback_kwargs = resolver_match
request.resolver_match = resolver_match
# Apply view middleware
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
| Variable | Value |
|---|---|
| middleware_method | <bound method MessageMiddleware.process_request of <django.contrib.messages.middleware.MessageMiddleware object at 0x1716e50>> |
| self | <django.core.handlers.wsgi.WSGIHandler object at 0x1195a50> |
| request | '<WSGIRequest\npath:/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{\'CONTENT_LENGTH\': \'\',\n \'CONTENT_TYPE\': \'\',\n \'DOCUMENT_ROOT\': \'/etc/nginx/html\',\n \'HTTP_ACCEPT\': \'*/*\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, br\',\n \'HTTP_CDN_LOOP\': \'cloudflare; loops=1\',\n \'HTTP_CF_CONNECTING_IP\': \'206.189.94.68\',\n \'HTTP_CF_IPCOUNTRY\': \'SG\',\n \'HTTP_CF_RAY\': \'9d2d29d2ce27fd1d-SIN\',\n \'HTTP_CF_VISITOR\': \'{"scheme":"https"}\',\n \'HTTP_CONNECTION\': \'Keep-Alive\',\n \'HTTP_HOST\': \'www.imageforensic.org\',\n \'HTTP_USER_AGENT\': \'PHP-Curl-Class/9.14.3 (+https://github.com/php-curl-class/php-curl-class) PHP/7.3.20-1+ubuntu20.04.1+deb.sury.org+1 curl/7.68.0\',\n \'HTTP_X_FORWARDED_FOR\': \'206.189.94.68\',\n \'HTTP_X_FORWARDED_PROTO\': \'https\',\n \'PATH_INFO\': u\'/\',\n \'QUERY_STRING\': \'\',\n \'REMOTE_ADDR\': \'206.189.94.68\',\n \'REMOTE_PORT\': \'\',\n \'REQUEST_METHOD\': \'GET\',\n \'REQUEST_URI\': \'/\',\n u\'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'www.imageforensic.org\',\n \'SERVER_PORT\': \'80\',\n \'SERVER_PROTOCOL\': \'HTTP/1.1\',\n \'UWSGI_APPID\': \'www.imageforensic.org|\',\n \'uwsgi.node\': \'ks3094366.kimsufi.com\',\n \'uwsgi.version\': \'2.0.2\',\n \'wsgi.errors\': <open file \'wsgi_errors\', mode \'w\' at 0x11ab1e0>,\n \'wsgi.file_wrapper\': <built-in function uwsgi_sendfile>,\n \'wsgi.input\': <uwsgi._Input object at 0x10b47f8>,\n \'wsgi.multiprocess\': True,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'http\',\n \'wsgi.version\': (1, 0)}>' |
| resolver | <RegexURLResolver 'pfa.urls' (None:None) ^/> |
| response | None |
| urlconf | 'pfa.urls' |
/htdocs/imageforensic.org/pyenv/local/lib/python2.7/site-packages/django/core/urlresolvers.py in resolve
def resolve(self, path):
tried = []
match = self.regex.search(path)
if match:
new_path = path[match.end():]
for pattern in self.url_patterns:
try:
sub_match = pattern.resolve(new_path)...
except Resolver404 as e:
sub_tried = e.args[0].get('tried')if sub_tried is not None:
tried.extend([[pattern] + t for t in sub_tried])
else:
tried.append([pattern])