You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I opened a new notebook, it showed "This site can't be reached". So I closed it and this error showed.
Traceback
File "C:\ProgramData\Miniconda3\lib\site-packages\urllib3\connection.py", line 157, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "C:\ProgramData\Miniconda3\lib\site-packages\urllib3\util\connection.py", line 84, in create_connectionraise err
File "C:\ProgramData\Miniconda3\lib\site-packages\urllib3\util\connection.py", line 74, in create_connection
sock.connect(sa)
ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 672, in urlopen
chunked=chunked,
File "C:\ProgramData\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 387, in _make_request
conn.request(method, url, **httplib_request_kw)
File "C:\ProgramData\Miniconda3\lib\http\client.py", line 1244, in requestself._send_request(method, url, body, headers, encode_chunked)
File "C:\ProgramData\Miniconda3\lib\http\client.py", line 1290, in _send_requestself.endheaders(body, encode_chunked=encode_chunked)
File "C:\ProgramData\Miniconda3\lib\http\client.py", line 1239, in endheadersself._send_output(message_body, encode_chunked=encode_chunked)
File "C:\ProgramData\Miniconda3\lib\http\client.py", line 1026, in _send_outputself.send(msg)
File "C:\ProgramData\Miniconda3\lib\http\client.py", line 966, in sendself.connect()
File "C:\ProgramData\Miniconda3\lib\site-packages\urllib3\connection.py", line 184, in connect
conn =self._new_conn()
File "C:\ProgramData\Miniconda3\lib\site-packages\urllib3\connection.py", line 169, in _new_connself, "Failed to establish a new connection: %s"% e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x0000021934112D08>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Miniconda3\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\ProgramData\Miniconda3\lib\site-packages\urllib3\connectionpool.py", line 720, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "C:\ProgramData\Miniconda3\lib\site-packages\urllib3\util\retry.py", line 436, in incrementraise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8888): Max retries exceeded with url: /api/sessions?token=13b8c019bde82073da708c0f24e9df5d3da505a62a807d45 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000021934112D08>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\ProgramData\Miniconda3\lib\site-packages\spyder_notebook\notebookplugin.py", line 378, in close_client
client.shutdown_kernel()
File "C:\ProgramData\Miniconda3\lib\site-packages\spyder_notebook\widgets\client.py", line 248, in shutdown_kernel
kernel_id =self.get_kernel_id()
File "C:\ProgramData\Miniconda3\lib\site-packages\spyder_notebook\widgets\client.py", line 232, in get_kernel_id
sessions_req = requests.get(sessions_url).content.decode()
File "C:\ProgramData\Miniconda3\lib\site-packages\requests\api.py", line 75, in getreturn request('get', url, params=params, **kwargs)
File "C:\ProgramData\Miniconda3\lib\site-packages\requests\api.py", line 60, in requestreturn session.request(method=method, url=url, **kwargs)
File "C:\ProgramData\Miniconda3\lib\site-packages\requests\sessions.py", line 533, in request
resp =self.send(prep, **send_kwargs)
File "C:\ProgramData\Miniconda3\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\ProgramData\Miniconda3\lib\site-packages\requests\adapters.py", line 516, in sendraiseConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8888): Max retries exceeded with url: /api/sessions?token=13b8c019bde82073da708c0f24e9df5d3da505a62a807d45 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000021934112D08>: Failed to establish a new connection: [WinError 10061] 由于目标计算机积极拒绝,无法连接。'))
Thanks for the report. This is probably the same issue as reported in #213, which is fixed in version 0.2.2 of spyder-notebook, coincidentally released two days ago. So please upgrade.
If the error persists after upgrading, do let me know and I will have another look.
Description
What steps will reproduce the problem?
When I opened a new notebook, it showed "This site can't be reached". So I closed it and this error showed.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: