Skip to content

Instantly share code, notes, and snippets.

@DhruvParanjape
Created July 14, 2017 04:38
Show Gist options
  • Save DhruvParanjape/1c4d38753eedc539d7371d4a7ba966d3 to your computer and use it in GitHub Desktop.
Save DhruvParanjape/1c4d38753eedc539d7371d4a7ba966d3 to your computer and use it in GitHub Desktop.
2017-07-14 10:05:32,960 - ERROR - Unable to connect to server
Traceback (most recent call last):
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/connection.py", line 137, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/util/connection.py", line 91, in create_connection
raise err
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/util/connection.py", line 81, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
body=body, headers=headers)
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib64/python3.3/http/client.py", line 1061, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python3.3/http/client.py", line 1099, in _send_request
self.endheaders(body)
File "/usr/lib64/python3.3/http/client.py", line 1057, in endheaders
self._send_output(message_body)
File "/usr/lib64/python3.3/http/client.py", line 902, in _send_output
self.send(msg)
File "/usr/lib64/python3.3/http/client.py", line 840, in send
self.connect()
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/connection.py", line 162, in connect
conn = self._new_conn()
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/connection.py", line 146, in _new_conn
self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7f0fecc22350>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/adapters.py", line 376, in send
timeout=timeout
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/connectionpool.py", line 609, in urlopen
_stacktrace=sys.exc_info()[2])
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/util/retry.py", line 273, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=52263): Max retries exceeded with url: /semantic_completion_available (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f0fecc22350>: Failed to establish a new connection: [Errno 111] Connection refused',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 214, in HandleServerException
yield
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/autoload/../python/ycm/client/completer_available_request.py", line 41, in Start
'semantic_completion_available' )
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 78, in PostDataToHandler
timeout ) )
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 180, in JsonFromFuture
response = future.result()
File "/usr/lib64/python3.3/concurrent/futures/_base.py", line 392, in result
return self.__get_result()
File "/usr/lib64/python3.3/concurrent/futures/_base.py", line 351, in __get_result
raise self._exception
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/autoload/../python/ycm/unsafe_thread_pool_executor.py", line 43, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/home/dpar/.local/share/nvim/plugged/YouCompleteMe/third_party/ycmd/third_party/requests/requests/adapters.py", line 437, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=52263): Max retries exceeded with url: /semantic_completion_available (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f0fecc22350>: Failed to establish a new connection: [Errno 111] Connection refused',))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment