V
V
Viktor Yurchenko2019-02-26 19:53:57
Django
Viktor Yurchenko, 2019-02-26 19:53:57

How to fix [Errno 111] Connection refused error?

Page with an error description of the error and site settings at the link:
elec.market/search/?s=123&quant=1&cur=RUB
I understand that it's in the mail, but I don't understand what's wrong.
The article search results should be displayed.
The error details are below:

Environment:


Request Method: GET
Request URL: http://elec.market/search/?s=123&quant=1&cur=RUB

Django Version: 1.10.5
Python Version: 2.7.12
Installed Applications:
['modeltranslation',
 'django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django_uwsgi',
 'compressor',
 'bootstrap3',
 'django_select2',
 'mptt',
 'haystack',
 'widget_tweaks',
 'django_user_agents',
 'fcapp',
 'ckeditor',
 'megabom',
 'ckeditor_uploader',
 u'machina',
 u'machina.apps.forum',
 u'machina.apps.forum_conversation',
 u'machina.apps.forum_conversation.forum_attachments',
 u'machina.apps.forum_conversation.forum_polls',
 u'machina.apps.forum_feeds',
 u'machina.apps.forum_moderation',
 'forum_apps.forum_search',
 u'machina.apps.forum_tracking',
 'forum_apps.forum_member',
 u'machina.apps.forum_permission']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'fcapp.middleware.LastSeenMiddleware',
 'fcapp.middleware.UserAgentMiddleware',
 'machina.apps.forum_permission.middleware.ForumPermissionMiddleware']



Traceback:

File "/home/webuser/venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner
  39.             response = get_response(request)

File "/home/webuser/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
  187.                 response = self.process_exception_by_middleware(e, request)

File "/home/webuser/venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response
  185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/home/webuser/venv/local/lib/python2.7/site-packages/django/views/generic/base.py" in view
  68.             return self.dispatch(request, *args, **kwargs)

File "/home/webuser/fcprj/fcapp/views/base.py" in dispatch
  63.         return super(View, self).dispatch(request, *args, **kwargs)

File "/home/webuser/venv/local/lib/python2.7/site-packages/django/views/generic/base.py" in dispatch
  88.         return handler(request, *args, **kwargs)

File "/home/webuser/venv/local/lib/python2.7/site-packages/sortable_listview/views.py" in get
  37.         return super(SortableListView, self).get(request, *args, **kwargs)

File "/home/webuser/venv/local/lib/python2.7/site-packages/django/views/generic/list.py" in get
  159.         self.object_list = self.get_queryset()

File "/home/webuser/fcprj/fcapp/views/search.py" in get_queryset
  143.             company_id=company_id,

File "/home/webuser/fcprj/fcapp/online_search.py" in search2
  134.     responses = proxy.fetch(urls, timeout or JOINALL_TIMEOUT)

File "/usr/lib/python2.7/xmlrpclib.py" in __call__
  1243.         return self.__send(self.__name, args)

File "/usr/lib/python2.7/xmlrpclib.py" in __request
  1602.             verbose=self.__verbose

File "/usr/lib/python2.7/xmlrpclib.py" in request
  1283.                 return self.single_request(host, handler, request_body, verbose)

File "/usr/lib/python2.7/xmlrpclib.py" in single_request
  1311.             self.send_content(h, request_body)

File "/usr/lib/python2.7/xmlrpclib.py" in send_content
  1459.         connection.endheaders(request_body)

File "/usr/lib/python2.7/httplib.py" in endheaders
  1053.         self._send_output(message_body)

File "/usr/lib/python2.7/httplib.py" in _send_output
  897.         self.send(msg)

File "/usr/lib/python2.7/httplib.py" in send
  859.                 self.connect()

File "/usr/lib/python2.7/httplib.py" in connect
  836.                                            self.timeout, self.source_address)

File "/usr/lib/python2.7/socket.py" in create_connection
  575.         raise err

Exception Type: error at /search/
Exception Value: [Errno 111] Connection refused

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question