Witosser
@Witosser
студент IT ВУЗа, увлекаюсь веб-разработкой

Как исправить ошибку [Errno 111] Connection refused?

Страница с ошибкой описанием ошибки и настройками сайта по ссылке:
elec.market/search/?s=123&quant=1&cur=RUB
Я так понимаю что дело в почте, но не понимаю что не так.
Должна выводиться результаты поиска артикула.
Подробная информация об ошибке ниже:
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
  • Вопрос задан
  • 2032 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы