Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After updates, cannot connect to remote servers. #7875

Closed
yangyxt opened this issue Oct 10, 2021 · 5 comments
Closed

After updates, cannot connect to remote servers. #7875

yangyxt opened this issue Oct 10, 2021 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-remote Applies to remote Jupyter Servers

Comments

@yangyxt
Copy link

yangyxt commented Oct 10, 2021

Environment data

  • VS Code version: 1.61.0
  • Jupyter Extension version (available under the Extensions sidebar): v2021.9.1001312534
  • Python Extension version (available under the Extensions sidebar): v2021.10.1317843341
  • OS (Windows | Mac | Linux distro) and version: CentOS 7
  • Python and/or Anaconda version: Python 3.6.7, conda 4.10.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda. (base env)
  • Jupyter server running: Remote

Expected behaviour

Successfully connect to Jupyter notebook Server launched under a PBS interactive job. Several weeks ago the same method succeeded.

Actual behaviour

Launch an Jupyter notebook server under a PBS interactive job, the URI is input to the Jupyter server option. According to the command-line interface, no new notebook is created.

Whereas, launching a Jupyter notebook server in login node, can be accessed by the jupyter notebook when the URI is assigned.

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. XXX

Logs

Output for Jupyter in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

@yangyxt yangyxt added the bug Issue identified by VS Code Team member as probable bug label Oct 10, 2021
@DonJayamanne
Copy link
Contributor

Thanks for coming this issue and sorry you area thinking into this.

  • Please could you provide the logs from the Jupyter output panel.
  • Also please could you provide some steps to repro this.
  • When you stay it doesn't work, what do you mean by that, can you not see them kennels, or doesn't the kennel start, etc

@DonJayamanne DonJayamanne self-assigned this Oct 10, 2021
@greazer greazer added housekeeping-review info-needed Issue requires more information from poster and removed housekeeping-review labels Oct 10, 2021
@DonJayamanne DonJayamanne added kernel-enumeration notebook-remote Applies to remote Jupyter Servers labels Oct 11, 2021
@0x0L
Copy link

0x0L commented Oct 13, 2021

@DonJayamanne

This might be related:
coder/code-server#4333 (comment)

@DonJayamanne
Copy link
Contributor

Sorry, but code server is not something we support, would help if you provide the logs and information requested above.

@0x0L
Copy link

0x0L commented Oct 13, 2021

jupyter ext v2021.8.12
python ext v2021.10.1317843341
code-server: v3.12.0
VS Code: v1.60.0
Commit: b37ff28a0a582aee84a8f961755d0cb40a4081db
Date: 2021-09-16T20:08:09Z (3 wks ago)
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36
[2021-10-13 14:18:46.791] [exthost] [error] Activating extension ms-toolsai.jupyter failed due to an error:
[2021-10-13 14:18:46.791] [exthost] [error] Error: Cannot find module '/home/testuser/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.8.12/out/client/extension'
Require stack:
- /usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/loader.js
- /usr/lib/code-server/vendor/modules/code-oss-dev/out/bootstrap-amd.js
- /usr/lib/code-server/vendor/modules/code-oss-dev/out/bootstrap-fork.js
	at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
	at Function.Module._load (internal/modules/cjs/loader.js:745:27)
	at Function.u._load (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:28329)
	at Function.E._load (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:24906)
	at Function.o._load (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:103:59872)
	at Module.require (internal/modules/cjs/loader.js:961:19)
	at Module.require (/usr/lib/code-server/vendor/modules/code-oss-dev/extensions/git/dist/main.js:2:515806)
	at require (internal/modules/cjs/helpers.js:92:18)
	at Function.t [as __$__nodeRequire] (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/loader.js:5:101)
	at p._loadCommonJSModule (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:113:26315)
	at p._doActivateExtension (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:12594)
	at p._activateExtension (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:11695)
	at Object.actualActivateExtension (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:9236)
	at c._activateExtension (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:94:87973)
	at /usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:94:87655
	at Array.map (<anonymous>)
	at c._activateExtensions (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:94:87643)
	at c.activateByEvent (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:94:84977)
	at p._activateByEvent (/usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:10175)
	at /usr/lib/code-server/vendor/modules/code-oss-dev/out/vs/workbench/services/extensions/node/extensionHostProcess.js:99:19973
	at processTicksAndRejections (internal/process/task_queues.js:95:5)

/home/testuser/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.8.12/out/client/ does not exist

@DonJayamanne
Copy link
Contributor

Looks like the Jupyter extension was not installed correctly as the times area missing.

home/testuser/.local/share/code-server/extensions/ms-toolsai.jupyter-2021.8.12/out/client/ does not exist

Closing this issue as it's a bug in the installation of the extension. Code server needed to install the extension correctly. Individual extensions aren't rresponsible for installation of extensions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook-remote Applies to remote Jupyter Servers
Projects
None yet
Development

No branches or pull requests

4 participants