Traceback (most recent call last):


 "C:\ProgramData\Anaconda3\lib\site-packages\spyder_notebook\notebookplugin.py", line 372, in close_client

client.shutdown_kernel()


 "C:\ProgramData\Anaconda3\lib\site-packages\spyder_notebook\widgets\client.py", line 236, in shutdown_kernel

kernel_id = self.get_kernel_id()


 "C:\ProgramData\Anaconda3\lib\site-packages\spyder_notebook\widgets\client.py", line 221, in get_kernel_id

sessions_req = requests.get(sessions_url).content.decode()


 "C:\ProgramData\Anaconda3\lib\site-packages\requests\api.py", line 72, in get

return request('get', url, params=params, **kwargs)


 "C:\ProgramData\Anaconda3\lib\site-packages\requests\api.py", line 58, in request

return session.request(method=method, url=url, **kwargs)


 "C:\ProgramData\Anaconda3\lib\site-packages\requests\sessions.py", line 508, in request

resp = self.send(prep, **send_kwargs)


 "C:\ProgramData\Anaconda3\lib\site-packages\requests\sessions.py", line 618, in send

r = adapter.send(request, **kwargs)


 "C:\ProgramData\Anaconda3\lib\site-packages\requests\adapters.py", line 508, in send

raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8888): Max retries exceeded with url: /api/sessions?token=982fdaa4caecfa7587a1cef0b7f5d25495296b4b4f30e641 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000026164B145F8>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝，无法连接。',))

Traceback (most recent call last):


 "/home/user/.vim/bundle/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 214, in HandleServerException

yield


 "/home/user/.vim/bundle/YouCompleteMe/autoload/../python/ycm/client/debug_info_request.py", line 41, in Start

self._response = self.PostDataToHandler( request_data, 'debug_info' )


 "/home/user/.vim/bundle/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 78, in PostDataToHandler

timeout ) )


 "/home/user/.vim/bundle/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 180, in JsonFromFuture

response = future.result()


 "/home/user/anaconda3/lib/python3.6/concurrent/futures/_base.py", line 405, in result

return self.__get_result()


 "/home/user/anaconda3/lib/python3.6/concurrent/futures/_base.py", line 357, in __get_result

raise self._exception


 "/home/user/.vim/bundle/YouCompleteMe/autoload/../python/ycm/unsafe_thread_pool_executor.py", line 43, in run

result = self.fn(*self.args, **self.kwargs)


 "/home/user/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/sessions.py", line 468, in request

resp = self.send(prep, **send_kwargs)


 "/home/user/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/sessions.py", line 576, in send

r = adapter.send(request, **kwargs)


 "/home/user/.vim/bundle/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=55259): Max retries exceeded with url: /debug_info (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fc23deff0f0>: Failed to establish a new connection: [Errno 111] Connection refused',))
