Failed to connect to the remote jupyter server #12996
Unanswered
xwshen51
asked this question in
Questions and Answers
Replies: 2 comments 3 replies
-
Most likely a duplicate of #13000 (comment) |
Beta Was this translation helpful? Give feedback.
3 replies
-
Attempt to upgrade your Jupyter notebook package. It worked for me! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have submitted a batch job to launch jupyter lab on cluster, but when I copy the url to vscode jupyter server, the following error appears and I am not able to connect. Could anyone please offer me some advice? Thanks in advance.
info 17:25:26.254: Creating server with url : http://localhost:55704
warn 17:25:26.259: DataScience Error [Gi [Error]: Failed to connect to the remote Jupyter Server 'http://localhost:55704/'. Verify the server is running and reachable. (request to http://localhost:55704/api/kernels?1678033526256 failed, reason: connect ECONNREFUSED 127.0.0.1:55704).
at no.setJupyterURIToRemote (/cluster/home/shenxi/.vscode-server/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:1730215)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async no.startSelectingURI (/cluster/home/shenxi/.vscode-server/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:1731611)
at async Ui.stepThrough (/cluster/home/shenxi/.vscode-server/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:1724919)] {
category: 'remotejupyterserverconnection',
url: 'http://localhost:55704/lab?token=cd15ce0e0473cf2b83e63ff965347053d7eea84f6a8d53c8',
serverId: 'a8a153d122521d245d7c0c1560970b37cbeb968fca3f5fc22fd431f84fef9588',
originalError: [FetchError: request to http://localhost:55704/api/kernels?1678033526256 failed, reason: connect ECONNREFUSED 127.0.0.1:55704
at ClientRequest. (/cluster/home/shenxi/.vscode-server/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:1160163)
at ClientRequest.emit (node:events:526:28)
at Socket.socketErrorListener (node:_http_client:442:9)
at Socket.emit (node:events:526:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)],
baseUrl: 'http://localhost:55704/'
}
error 17:25:26.260: SessionManager:getKernelSpecs failure: [Error: Poll (@jupyterlab/services:KernelSpecManager#specs) is disposed.
at e.dispose (/cluster/home/shenxi/.vscode-server/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:172134)
at u.dispose (/cluster/home/shenxi/.vscode-server/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:2:63778)
at Km.dispose (/cluster/home/shenxi/.vscode-server/extensions/ms-toolsai.jupyter-2023.1.2010391206/out/extension.node.js:17:280038)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)]
Beta Was this translation helpful? Give feedback.
All reactions