jupyter_server
jupyter_server copied to clipboard
New anon users generated ad infinitum when using IdentityProvider token
Description
It's possible that I'm just doing something wrong but this behavior seems related to other issues so I'm posting it as a bug.
I'm using SSH port forwarding to execute code from VS code on a mac with a remote jupyter kernel on a Centos HPC. I was previously using jupyter notebook --no-browser --port=$ipnport --ip=$ipnip
and a notebook token. I updated to jupyter-server v2 and now when I connect to the remote kernel, the server makes a new user every second or so, for as long as the connection is open:
[I 2023-03-25 22:01:29.920 ServerApp] Generating new user for token-authenticated request: b7...
[I 2023-03-25 22:01:30.364 ServerApp] Generating new user for token-authenticated request: e1...
[I 2023-03-25 22:01:30.646 ServerApp] Generating new user for token-authenticated request: c0...
This looks to be related to #1033, as well as https://github.com/jupyterlab/jupyterlab/issues/13432, both of which were resolved by #1076. But I seem to not be the only one experiencing this issue recently (e.g. https://github.com/jupyter/docker-stacks/issues/1892 , https://github.com/NorESMhub/noresm-land-sites-platform/issues/169 , https://stackoverflow.com/questions/75830256/jupyter-spam-with-generating-new-user-for-token-authenticated-request-in-logs )
Reproduce
I'm using c.IdentityProvider.token = '...'
in .jupyter/jupyter_server_config.py
and jupyter server --no-browser --port=$ipnport --ip=$ipnip
to open the connection.
I have tried numerous other configs but nothing seems to change the behavior. E.g.
jupyter lab --no-browser --port=$ipnport --ip=$ipnip --ServerApp.password='' --ServerApp.jpserver_extensions="nbclassic=False" --ServerApp.tornado_settings='{"headers": {"Content-Security-Policy": "frame-ancestors *"}}'
shows the same behavior.
Expected behavior
For jupyter server to create one user when the connection is established rather than a new user every second-ish.
Context
- Operating System and version: Remote kernel running on Centos 7.7.1908, in conda env.
- Browser and version: Locally I'm using VS Code on MacOS 12.6.3
- Jupyter Server version: 2.4.0
The troubleshooting output is too long to fit here, I'll post below
Command Line Output
❯ XDG_RUNTIME_DIR="" ❯ iplport=**** ❯ ipnport=**** ❯ ipnip=$(hostname -i) ❯ jupyter server --no-browser --port=$ipnport --ip=$ipnip --ServerApp.jpserver_extensions="nbclassic=False" --debug [D 2023-03-26 02:03:24.992 ServerApp] Searching ['~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter', '~/.jupyter', '~/.local/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files [D 2023-03-26 02:03:24.993 ServerApp] Looking for jupyter_config in /etc/jupyter [D 2023-03-26 02:03:24.994 ServerApp] Looking for jupyter_config in /usr/local/etc/jupyter [D 2023-03-26 02:03:24.994 ServerApp] Looking for jupyter_config in ~/.local/etc/jupyter [D 2023-03-26 02:03:24.995 ServerApp] Looking for jupyter_config in ~/.jupyter [D 2023-03-26 02:03:24.995 ServerApp] Looking for jupyter_config in ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter [D 2023-03-26 02:03:24.998 ServerApp] Looking for jupyter_server_config in /etc/jupyter [D 2023-03-26 02:03:24.999 ServerApp] Looking for jupyter_server_config in /usr/local/etc/jupyter [D 2023-03-26 02:03:24.999 ServerApp] Looking for jupyter_server_config in ~/.local/etc/jupyter [D 2023-03-26 02:03:24.999 ServerApp] Looking for jupyter_server_config in ~/.jupyter [D 2023-03-26 02:03:25.002 ServerApp] Loaded config file: ~/.jupyter/jupyter_server_config.py [D 2023-03-26 02:03:25.002 ServerApp] Looking for jupyter_server_config in ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter [D 2023-03-26 02:03:25.012 ServerApp] Paths used for configuration of jupyter_server_config: /etc/jupyter/jupyter_server_config.json [D 2023-03-26 02:03:25.013 ServerApp] Paths used for configuration of jupyter_server_config: /usr/local/etc/jupyter/jupyter_server_config.json [D 2023-03-26 02:03:25.013 ServerApp] Paths used for configuration of jupyter_server_config: ~/.local/etc/jupyter/jupyter_server_config.json [D 2023-03-26 02:03:25.014 ServerApp] Paths used for configuration of jupyter_server_config: ~/.jupyter/jupyter_server_config.json [D 2023-03-26 02:03:25.015 ServerApp] Paths used for configuration of jupyter_server_config: ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter/jupyter_server_config.d/jupyter_server_fileid.json ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter/jupyter_server_config.d/jupyter_server_terminals.json ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter/jupyter_server_config.d/jupyter_server_ydoc.json ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter/jupyter_server_config.d/jupyterlab.json ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter/jupyter_server_config.d/nbclassic.json ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter/jupyter_server_config.d/notebook_shim.json ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter/jupyter_server_config.json [I 2023-03-26 02:03:25.034 ServerApp] Package jupyter_server_fileid took 0.0077s to import [I 2023-03-26 02:03:25.063 ServerApp] Package jupyter_server_terminals took 0.0282s to import [I 2023-03-26 02:03:25.168 ServerApp] Package jupyter_server_ydoc took 0.1041s to import [I 2023-03-26 02:03:25.414 ServerApp] Package jupyterlab took 0.2449s to import [I 2023-03-26 02:03:26.007 ServerApp] Package notebook_shim took 0.0001s to import [W 2023-03-26 02:03:26.008 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2023-03-26 02:03:26.026 ServerApp] jupyter_server_fileid | extension was successfully linked. [I 2023-03-26 02:03:26.040 ServerApp] jupyter_server_terminals | extension was successfully linked. [I 2023-03-26 02:03:26.054 ServerApp] jupyter_server_ydoc | extension was successfully linked. [I 2023-03-26 02:03:26.073 ServerApp] jupyterlab | extension was successfully linked. [D 2023-03-26 02:03:26.900 ServerApp] Paths used for configuration of jupyter_notebook_config: ~/.jupyter/jupyter_notebook_config.json [D 2023-03-26 02:03:26.901 ServerApp] Paths used for configuration of jupyter_notebook_config: /etc/jupyter/jupyter_notebook_config.json [D 2023-03-26 02:03:26.901 ServerApp] Paths used for configuration of jupyter_notebook_config: /usr/local/etc/jupyter/jupyter_notebook_config.json [D 2023-03-26 02:03:26.902 ServerApp] Paths used for configuration of jupyter_notebook_config: ~/.local/etc/jupyter/jupyter_notebook_config.json [D 2023-03-26 02:03:26.902 ServerApp] Paths used for configuration of jupyter_notebook_config: ~/.jupyter/jupyter_notebook_config.json [D 2023-03-26 02:03:26.903 ServerApp] Paths used for configuration of jupyter_notebook_config: ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter/jupyter_notebook_config.d/jupyter_server_ydoc.json ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json ~/software/anaconda3/envs/ve_iaa_pytorch/etc/jupyter/jupyter_notebook_config.json [I 2023-03-26 02:03:26.906 ServerApp] notebook_shim | extension was successfully linked. [I 2023-03-26 02:03:27.226 ServerApp] notebook_shim | extension was successfully loaded. [I 2023-03-26 02:03:27.227 FileIdExtension] Configured File ID manager: ArbitraryFileIdManager [I 2023-03-26 02:03:27.228 FileIdExtension] ArbitraryFileIdManager : Configured root dir: ~/ite_iaa/ite_gb_inverseappraisal/code [I 2023-03-26 02:03:27.228 FileIdExtension] ArbitraryFileIdManager : Configured database path: ~/.local/share/jupyter/file_id_manager.db [I 2023-03-26 02:03:27.229 FileIdExtension] ArbitraryFileIdManager : Successfully connected to database file. [I 2023-03-26 02:03:27.229 FileIdExtension] ArbitraryFileIdManager : Creating File ID tables and indices with journal_mode = DELETE [I 2023-03-26 02:03:27.236 FileIdExtension] Attached event listeners. [I 2023-03-26 02:03:27.237 ServerApp] jupyter_server_fileid | extension was successfully loaded. [I 2023-03-26 02:03:27.240 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2023-03-26 02:03:27.241 ServerApp] jupyter_server_ydoc | extension was successfully loaded. [I 2023-03-26 02:03:27.243 LabApp] JupyterLab extension loaded from ~/software/anaconda3/envs/ve_iaa_pytorch/lib/python3.10/site-packages/jupyterlab [I 2023-03-26 02:03:27.243 LabApp] JupyterLab application directory is ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/lab [I 2023-03-26 02:03:27.251 ServerApp] jupyterlab | extension was successfully loaded. [I 2023-03-26 02:03:27.251 ServerApp] Serving notebooks from local directory: ~/ite_iaa/ite_gb_inverseappraisal/code [I 2023-03-26 02:03:27.251 ServerApp] Jupyter Server 2.4.0 is running at: [I 2023-03-26 02:03:27.252 ServerApp] http://172.**.**.***:8458/?token=... [I 2023-03-26 02:03:27.252 ServerApp] http://127.0.0.1:8458/?token=... [I 2023-03-26 02:03:27.252 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [D 2023-03-26 02:04:49.936 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:49.937 ServerApp] Generating new user for token-authenticated request: b6f3db5b297f4419b4e857742fc9eaba [W 2023-03-26 02:04:49.939 ServerApp] 404 DELETE /api/sessions/d884d45b-6edb-4538-a9ae-d1bcbef676bf?1679810689733 (172.**.**.***): Session not found: session_id='d884d45b-6edb-4538-a9ae-d1bcbef676bf' [W 2023-03-26 02:04:49.940 ServerApp] wrote error: "Session not found: session_id='d884d45b-6edb-4538-a9ae-d1bcbef676bf'" Traceback (most recent call last): File "~/software/anaconda3/envs/ve_iaa_pytorch/lib/python3.10/site-packages/tornado/web.py", line 1713, in _execute result = await result File "~/software/anaconda3/envs/ve_iaa_pytorch/lib/python3.10/site-packages/jupyter_server/services/sessions/handlers.py", line 190, in delete await sm.delete_session(session_id) File "~/software/anaconda3/envs/ve_iaa_pytorch/lib/python3.10/site-packages/jupyter_server/services/sessions/sessionmanager.py", line 523, in delete_session session = await self.get_session(session_id=session_id) File "~/software/anaconda3/envs/ve_iaa_pytorch/lib/python3.10/site-packages/jupyter_server/services/sessions/sessionmanager.py", line 427, in get_session raise web.HTTPError(404, "Session not found: %s" % (", ".join(q))) tornado.web.HTTPError: HTTP 404: Not Found (Session not found: session_id='d884d45b-6edb-4538-a9ae-d1bcbef676bf') [W 2023-03-26 02:04:49.995 ServerApp] 404 DELETE /api/sessions/d884d45b-6edb-4538-a9ae-d1bcbef676bf?1679810689733 (b6f3db5b297f4419b4e857742fc9eaba@172.**.**.***) 59.76ms referer=None [D 2023-03-26 02:04:50.215 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:50.215 ServerApp] Generating new user for token-authenticated request: d903a67ee2ce475ebc6a698a99587c59 [D 2023-03-26 02:04:50.218 ServerApp] 200 GET /api/sessions?1679810690008 (d903a67ee2ce475ebc6a698a99587c59@172.**.**.***) 3.76ms [D 2023-03-26 02:04:50.219 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:50.219 ServerApp] Generating new user for token-authenticated request: 4d9f8b880c8647609a88f5278f34ae0a [D 2023-03-26 02:04:50.221 ServerApp] 200 GET /api/kernels?1679810690013 (4d9f8b880c8647609a88f5278f34ae0a@172.**.**.***) 2.58ms [D 2023-03-26 02:04:51.039 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:51.040 ServerApp] Generating new user for token-authenticated request: b093f3fc2923417998ff0a46d7bb8c2d [D 2023-03-26 02:04:51.042 ServerApp] 200 GET /api/kernels?1679810690843 (b093f3fc2923417998ff0a46d7bb8c2d@172.**.**.***) 3.35ms [D 2023-03-26 02:04:51.949 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:51.950 ServerApp] Generating new user for token-authenticated request: adeba815d9a041ff98267e2dcc2a0c09 [D 2023-03-26 02:04:51.958 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:04:54.479 ServerApp] 200 GET /api/kernelspecs?1679810691745 (adeba815d9a041ff98267e2dcc2a0c09@172.**.**.***) 2531.48ms [D 2023-03-26 02:04:54.480 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.481 ServerApp] Generating new user for token-authenticated request: f94b39ebb1164d239014fd06d35024c2 [D 2023-03-26 02:04:54.482 ServerApp] 200 GET /api/kernels?1679810691749 (f94b39ebb1164d239014fd06d35024c2@172.**.**.***) 2533.24ms [D 2023-03-26 02:04:54.483 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.483 ServerApp] Generating new user for token-authenticated request: 9fcfed158dbe4e90b62f199bb807217d [D 2023-03-26 02:04:54.485 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:04:54.489 ServerApp] 200 GET /api/kernelspecs?1679810691752 (9fcfed158dbe4e90b62f199bb807217d@172.**.**.***) 6.75ms [D 2023-03-26 02:04:54.492 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.493 ServerApp] Generating new user for token-authenticated request: e28c6a63aa504e45b95ea5f44312ee42 [D 2023-03-26 02:04:54.494 ServerApp] 200 GET /api/kernels?1679810691754 (e28c6a63aa504e45b95ea5f44312ee42@172.**.**.***) 3.35ms [D 2023-03-26 02:04:54.494 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.494 ServerApp] Generating new user for token-authenticated request: 5d9c0352565e4be6b61712fa5944dc6b [D 2023-03-26 02:04:54.495 ServerApp] 200 GET /api/kernels?1679810691755 (5d9c0352565e4be6b61712fa5944dc6b@172.**.**.***) 4.46ms [D 2023-03-26 02:04:54.496 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.496 ServerApp] Generating new user for token-authenticated request: b751740685854aaca515f2dc18800287 [D 2023-03-26 02:04:54.497 ServerApp] 200 GET /api/sessions?1679810691757 (b751740685854aaca515f2dc18800287@172.**.**.***) 5.57ms [D 2023-03-26 02:04:54.497 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.497 ServerApp] Generating new user for token-authenticated request: a0a412414d524432aadc794dcd61ef88 [D 2023-03-26 02:04:54.498 ServerApp] 200 GET /api/kernels?1679810691758 (a0a412414d524432aadc794dcd61ef88@172.**.**.***) 6.62ms [D 2023-03-26 02:04:54.499 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.499 ServerApp] Generating new user for token-authenticated request: 9aa052fc49cd45c8a03efa60ee17c64b [D 2023-03-26 02:04:54.500 ServerApp] 200 GET /api/sessions?1679810691762 (9aa052fc49cd45c8a03efa60ee17c64b@172.**.**.***) 7.67ms [D 2023-03-26 02:04:54.705 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.706 ServerApp] Generating new user for token-authenticated request: 5e45e93ac3ca4780a7ea82beb71a2d7c [D 2023-03-26 02:04:54.709 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:04:54.715 ServerApp] 200 GET /api/kernelspecs?1679810694452 (5e45e93ac3ca4780a7ea82beb71a2d7c@172.**.**.***) 10.16ms [D 2023-03-26 02:04:54.717 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.717 ServerApp] Generating new user for token-authenticated request: 9289c1a6b095494bb5a0192b33b28023 [D 2023-03-26 02:04:54.720 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:04:54.726 ServerApp] 200 GET /api/kernelspecs?1679810694437 (9289c1a6b095494bb5a0192b33b28023@172.**.**.***) 10.50ms [D 2023-03-26 02:04:54.726 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.726 ServerApp] Generating new user for token-authenticated request: 22829e8704784517b381a8dcc3b48665 [D 2023-03-26 02:04:54.729 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:04:54.734 ServerApp] 200 GET /api/kernelspecs?1679810694454 (22829e8704784517b381a8dcc3b48665@172.**.**.***) 18.12ms [D 2023-03-26 02:04:54.734 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.735 ServerApp] Generating new user for token-authenticated request: 8eacf34301f143c49be5679e7daae7cf [D 2023-03-26 02:04:54.737 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:04:54.743 ServerApp] 200 GET /api/kernelspecs?1679810694456 (8eacf34301f143c49be5679e7daae7cf@172.**.**.***) 26.75ms [D 2023-03-26 02:04:54.813 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:54.814 ServerApp] Generating new user for token-authenticated request: 7aa1431941024139b211faa200878346 [D 2023-03-26 02:04:54.815 ServerApp] 200 GET /api/sessions?1679810694621 (7aa1431941024139b211faa200878346@172.**.**.***) 2.51ms [D 2023-03-26 02:04:55.117 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:55.117 ServerApp] Generating new user for token-authenticated request: 98787ca6f17247169a79b466c1730e0f [D 2023-03-26 02:04:55.119 ServerApp] 200 GET /api/sessions?1679810694864 (98787ca6f17247169a79b466c1730e0f@172.**.**.***) 2.86ms [D 2023-03-26 02:04:58.410 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:58.411 ServerApp] Generating new user for token-authenticated request: 016f76fa87d948d29f43e61b0d0f1641 [D 2023-03-26 02:04:58.413 ServerApp] 200 GET /api/kernels?1679810698213 (016f76fa87d948d29f43e61b0d0f1641@172.**.**.***) 3.06ms [D 2023-03-26 02:04:58.486 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:58.487 ServerApp] Generating new user for token-authenticated request: e0d2876788fd4e09bef15653d8d82dcc [D 2023-03-26 02:04:58.490 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:04:58.496 ServerApp] 200 GET /api/kernelspecs?1679810698218 (e0d2876788fd4e09bef15653d8d82dcc@172.**.**.***) 10.43ms [D 2023-03-26 02:04:58.760 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:58.761 ServerApp] Generating new user for token-authenticated request: 0b68be53811b46d8b69317a45b93afdf [I 2023-03-26 02:04:58.762 ServerApp] Creating new notebook in [D 2023-03-26 02:04:58.888 ServerApp] Saving ~/ite_iaa/ite_gb_inverseappraisal/code/Untitled.ipynb [D 2023-03-26 02:04:59.029 ServerApp] 201 POST /api/contents?1679810698503 (0b68be53811b46d8b69317a45b93afdf@172.**.**.***) 269.80ms [D 2023-03-26 02:04:59.236 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:59.236 ServerApp] Generating new user for token-authenticated request: a13ba080d5b14a308a60b3bde175a8be [D 2023-03-26 02:04:59.243 ServerApp] Renaming checkpoint ~/ite_iaa/ite_gb_inverseappraisal/code/.ipynb_checkpoints/Untitled-checkpoint.ipynb -> ~/ite_iaa/ite_gb_inverseappraisal/code/.ipynb_checkpoints/caa_main.py-jvsc-df371516-2c79-478b-9455-649f3cd8eb3ce74bae1c-2f73-4ed7-9433-9174119b7f56-checkpoint.ipynb [D 2023-03-26 02:04:59.247 ServerApp] 200 PATCH /api/contents/Untitled.ipynb?1679810698984 (a13ba080d5b14a308a60b3bde175a8be@172.**.**.***) 12.87ms [D 2023-03-26 02:04:59.458 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:59.459 ServerApp] Generating new user for token-authenticated request: 5ac41f34c75243d2bd6a8e0258ffcc30 [D 2023-03-26 02:04:59.469 ServerApp] Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner [D 2023-03-26 02:04:59.494 ServerApp] Starting kernel: ['~/software/anaconda3/envs/ve_iaa_pytorch/bin/python', '-m', 'ipykernel_launcher', '-f', '~/.local/share/jupyter/runtime/kernel-f8eff202-970d-4500-b2fa-5179642e4946.json'] [D 2023-03-26 02:04:59.498 ServerApp] Connecting to: tcp://127.0.0.1:49483 [D 2023-03-26 02:04:59.510 ServerApp] Connecting to: tcp://127.0.0.1:56492 [I 2023-03-26 02:04:59.512 ServerApp] Kernel started: f8eff202-970d-4500-b2fa-5179642e4946 [D 2023-03-26 02:04:59.512 ServerApp] Kernel args: {'kernel_name': 'python3', 'env': {'XDG_SESSION_ID': '538292', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'SSH_CLIENT': '71.237.71.40 63981 22', 'SSH_TTY': '/dev/pts/275', 'USER': 'dae', 'DEFAULT_TMUX_SHELL': '~/me/zsh/bin/zsh', 'MAIL': '/var/spool/mail/dae', 'PATH': '~/software/anaconda3/envs/ve_iaa_pytorch/bin:~/software/anaconda3/condabin:~/software/texlive/bin/x86_64-linux:~/software/node-v12.14.0-linux-x64/bin:/cm/shared/openmind/gcc/11.1.0/bin:/usr/lib64/qt-3.3/bin:~/me/zsh/bin:~/me/vim/bin:~/me/tmux/bin:~/me/git/bin:/usr/local/bin:/usr/bin:~/bin:/usr/local/sbin:/usr/sbin', 'PWD': '~/ite_iaa/ite_gb_inverseappraisal/code', 'LANG': 'en_US.UTF-8', 'SHLVL': '2', 'HOME': '/home/dae', 'LOGNAME': 'dae', 'ME_PATH': '~/me', 'SSH_CONNECTION': '71.237.71.40 63981 18.13.53.52 22', 'XDG_RUNTIME_DIR': '', '_': '~/software/anaconda3/envs/ve_iaa_pytorch/bin/jupyter', 'OLDPWD': '~/ite_iaa/ite_gb_inverseappraisal', 'HISTCONTROL': 'ignoredups', 'HOSTNAME': 'openmind7', 'HISTSIZE': '50000', 'TMOUT': '604800', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'CVS_RSH': 'ssh', 'XDG_DATA_DIRS': '~/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share', 'SSH_ASKPASS': '/usr/libexec/openssh/gnome-ssh-askpass', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'MODULESHOME': '/usr/share/Modules', 'LOADEDMODULES': 'openmind/gcc/11.1.0:slurm/14', 'MODULEPATH': '/cm/shared/modulefiles:/home/software/modulefiles', 'NCARG_ROOT': '/usr', 'NCARG_LIB': '/usr/lib64/ncarg', 'NCARG_DATABASE': '/usr/lib64/ncarg/database', 'NCARG_FONTCAPS': '/usr/lib64/ncarg/fontcaps', 'NCARG_GRAPHCAPS': '/usr/lib64/ncarg/graphcaps', 'NCARG_NCARG': '/usr/share/ncarg', 'QT_GRAPHICSSYSTEM_CHECKED': '1', 'QTDIR': '/usr/lib64/qt-3.3', 'QTINC': '/usr/lib64/qt-3.3/include', 'QTLIB': '/usr/lib64/qt-3.3/lib', 'P9K_TTY': 'old', '_P9K_TTY': '/dev/pts/275', 'TMUX_COLOR': '#968164', 'LD_LIBRARY_PATH': '/cm/shared/openmind/gcc/11.1.0/lib:/cm/shared/openmind/gcc/11.1.0/lib64', '_LMFILES_': '/cm/shared/modulefiles/openmind/gcc/11.1.0:/cm/shared/modulefiles/slurm/14', 'ZSH': '~/.oh-my-zsh', 'ZSH_COMPDUMP': '~/.oh-my-zsh/cache/.zcompdump-openmind7', 'PAGER': 'less', 'LESS': '-R', 'LSCOLORS': 'Gxfxcxdxbxegedabagacad', 'ZSH_TMUX_TERM': 'screen-256color', '_ZSH_TMUX_FIXED_CONFIG': '~/.oh-my-zsh/plugins/tmux/tmux.only.conf', 'P9K_SSH': '1', '_P9K_SSH_TTY': '/dev/pts/275', 'project_name': 'ITE_IAAcmdstan', 'NVM_DIR': '~/.nvm', 'NVM_CD_FLAGS': '-q', 'NVM_RC_VERSION': '', 'CONDA_EXE': '~/software/anaconda3/bin/conda', '_CE_M': '', '_CE_CONDA': '', 'CONDA_PYTHON_EXE': '~/software/anaconda3/bin/python', 'CONDA_SHLVL': '3', 'CONDA_PREFIX': '~/software/anaconda3/envs/ve_iaa_pytorch', 'CONDA_DEFAULT_ENV': 've_iaa_pytorch', 'CONDA_PROMPT_MODIFIER': '(ve_iaa_pytorch) ', 'CONDA_PREFIX_1': '~/software/anaconda3', 'CONDA_PREFIX_2': '~/software/anaconda3/envs/omlab', 'CONDA_MKL_INTERFACE_LAYER_BACKUP': '', 'MKL_INTERFACE_LAYER': 'LP64,GNU', 'HOST': 'openmind7', 'PYDEVD_USE_FRAME_EVAL': 'NO', 'JPY_SESSION_NAME': '~/ite_iaa/ite_gb_inverseappraisal/code/1040a5f6-e8b8-40b2-84f6-ff6063682e62'}, 'cwd': '~/ite_iaa/ite_gb_inverseappraisal/code'} [D 2023-03-26 02:04:59.514 ServerApp] 201 POST /api/sessions?1679810699203 (5ac41f34c75243d2bd6a8e0258ffcc30@172.**.**.***) 56.96ms [D 2023-03-26 02:04:59.726 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:59.726 ServerApp] Generating new user for token-authenticated request: 4420b79f868b46629a1a8c08678f0f76 [D 2023-03-26 02:04:59.728 ServerApp] 200 GET /api/sessions?1679810699468 (4420b79f868b46629a1a8c08678f0f76@172.**.**.***) 2.77ms [D 2023-03-26 02:04:59.935 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:59.935 ServerApp] Generating new user for token-authenticated request: a20e56dfd61e4092a0f0d63117da2569 [D 2023-03-26 02:04:59.938 ServerApp] Requesting kernel info from f8eff202-970d-4500-b2fa-5179642e4946 [D 2023-03-26 02:04:59.938 ServerApp] Connecting to: tcp://127.0.0.1:52742 [D 2023-03-26 02:04:59.942 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:59.943 ServerApp] Generating new user for token-authenticated request: b647de6cb2b54ab88aafc42d99d9330f [W 2023-03-26 02:04:59.944 ServerApp] delete /caa_main.py-jvsc-df371516-2c79-478b-9455-649f3cd8eb3ce74bae1c-2f73-4ed7-9433-9174119b7f56.ipynb [D 2023-03-26 02:04:59.944 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:04:59.945 ServerApp] Generating new user for token-authenticated request: 52f1d379ccc547068f2c9d2d132d28cf [D 2023-03-26 02:04:59.946 ServerApp] 200 GET /api/kernels?1679810699690 (52f1d379ccc547068f2c9d2d132d28cf@172.**.**.***) 5.07ms [W 2023-03-26 02:04:59.949 ServerApp] Skipping trash for ~/ite_iaa/ite_gb_inverseappraisal/code/caa_main.py-jvsc-df371516-2c79-478b-9455-649f3cd8eb3ce74bae1c-2f73-4ed7-9433-9174119b7f56.ipynb, on different device to home directory [D 2023-03-26 02:04:59.949 ServerApp] Unlinking file ~/ite_iaa/ite_gb_inverseappraisal/code/caa_main.py-jvsc-df371516-2c79-478b-9455-649f3cd8eb3ce74bae1c-2f73-4ed7-9433-9174119b7f56.ipynb [D 2023-03-26 02:04:59.953 ServerApp] unlinking ~/ite_iaa/ite_gb_inverseappraisal/code/.ipynb_checkpoints/caa_main.py-jvsc-df371516-2c79-478b-9455-649f3cd8eb3ce74bae1c-2f73-4ed7-9433-9174119b7f56-checkpoint.ipynb [D 2023-03-26 02:04:59.955 ServerApp] 204 DELETE /api/contents/caa_main.py-jvsc-df371516-2c79-478b-9455-649f3cd8eb3ce74bae1c-2f73-4ed7-9433-9174119b7f56.ipynb?1679810699687 (b647de6cb2b54ab88aafc42d99d9330f@172.**.**.***) 15.29ms [D 2023-03-26 02:05:00.978 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:00.978 ServerApp] Generating new user for token-authenticated request: 1c8bf791d3454ee8b2538c56abadee1d [D 2023-03-26 02:05:00.981 ServerApp] 200 GET /api/kernels?1679810700777 (1c8bf791d3454ee8b2538c56abadee1d@172.**.**.***) 3.75ms [D 2023-03-26 02:05:01.254 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:01.255 ServerApp] Generating new user for token-authenticated request: fbdb6e204d42482e8a606592148b67c8 [D 2023-03-26 02:05:01.257 ServerApp] 200 GET /api/kernels?1679810700998 (fbdb6e204d42482e8a606592148b67c8@172.**.**.***) 3.28ms [D 2023-03-26 02:05:02.700 ServerApp] Received kernel info: {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '8.11.0', 'language_info': {'name': 'python', 'version': '3.10.9', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.10.9 | packaged by conda-forge | (main, Feb 2 2023, 20:20:04) [GCC 11.3.0]\nType 'copyright', 'credits' or 'license' for more information\nIPython 8.11.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.10'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]} [D 2023-03-26 02:05:02.702 ServerApp] 101 GET /api/kernels/f8eff202-970d-4500-b2fa-5179642e4946/channels?session_id=39958ba4-a26d-496e-a96b-8c3e604dcae0&token=[secret] (a20e56dfd61e4092a0f0d63117da2569@172.**.**.***) 2768.13ms [I 2023-03-26 02:05:02.702 ServerApp] Connecting to kernel f8eff202-970d-4500-b2fa-5179642e4946. [D 2023-03-26 02:05:02.703 ServerApp] Getting buffer for f8eff202-970d-4500-b2fa-5179642e4946 [D 2023-03-26 02:05:02.703 ServerApp] Connecting to: tcp://127.0.0.1:56492 [D 2023-03-26 02:05:02.704 ServerApp] Connecting to: tcp://127.0.0.1:52742 [D 2023-03-26 02:05:02.705 ServerApp] Connecting to: tcp://127.0.0.1:49483 [D 2023-03-26 02:05:02.705 ServerApp] Connecting to: tcp://127.0.0.1:48930 [D 2023-03-26 02:05:02.706 ServerApp] Connecting to: tcp://127.0.0.1:52742 [D 2023-03-26 02:05:02.706 ServerApp] Connecting to: tcp://127.0.0.1:49483 [D 2023-03-26 02:05:02.708 ServerApp] Nudge: attempt 1 on kernel f8eff202-970d-4500-b2fa-5179642e4946 [D 2023-03-26 02:05:02.714 ServerApp] Nudge: IOPub received: f8eff202-970d-4500-b2fa-5179642e4946 [D 2023-03-26 02:05:02.714 ServerApp] Nudge: resolving iopub future: f8eff202-970d-4500-b2fa-5179642e4946 [D 2023-03-26 02:05:02.717 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (busy) [D 2023-03-26 02:05:02.719 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (busy) [D 2023-03-26 02:05:02.723 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (idle) [D 2023-03-26 02:05:02.723 ServerApp] Nudge: control info reply received: f8eff202-970d-4500-b2fa-5179642e4946 [D 2023-03-26 02:05:02.723 ServerApp] Nudge: resolving control future: f8eff202-970d-4500-b2fa-5179642e4946 [D 2023-03-26 02:05:02.724 ServerApp] Nudge: shell info reply received: f8eff202-970d-4500-b2fa-5179642e4946 [D 2023-03-26 02:05:02.727 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (idle) [D 2023-03-26 02:05:02.827 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (busy) [D 2023-03-26 02:05:02.829 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (idle) [D 2023-03-26 02:05:02.848 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (busy) [D 2023-03-26 02:05:02.851 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: execute_input [D 2023-03-26 02:05:02.856 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (idle) [D 2023-03-26 02:05:02.976 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (busy) [D 2023-03-26 02:05:02.983 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: execute_input [D 2023-03-26 02:05:02.992 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: stream [D 2023-03-26 02:05:02.998 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (idle) [D 2023-03-26 02:05:03.138 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (busy) [D 2023-03-26 02:05:03.149 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (idle) [D 2023-03-26 02:05:03.152 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (busy) [D 2023-03-26 02:05:03.155 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: execute_input [D 2023-03-26 02:05:03.161 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (idle) [D 2023-03-26 02:05:03.177 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (busy) [D 2023-03-26 02:05:03.192 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: execute_input [D 2023-03-26 02:05:03.219 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: stream [D 2023-03-26 02:05:03.227 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (idle) [D 2023-03-26 02:05:03.233 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.233 ServerApp] Generating new user for token-authenticated request: cde8f04bb56a430488cb4f24d74af28a [D 2023-03-26 02:05:03.237 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:05:03.244 ServerApp] 200 GET /api/kernelspecs?1679810703003 (cde8f04bb56a430488cb4f24d74af28a@172.**.**.***) 16.15ms [D 2023-03-26 02:05:03.244 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.244 ServerApp] Generating new user for token-authenticated request: 8b98d10e303f44c3b4901b3c689f53c7 [D 2023-03-26 02:05:03.246 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:05:03.251 ServerApp] 200 GET /api/kernelspecs?1679810703005 (8b98d10e303f44c3b4901b3c689f53c7@172.**.**.***) 22.17ms [D 2023-03-26 02:05:03.251 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.252 ServerApp] Generating new user for token-authenticated request: 89e9c5b736c14978a8c2e048fa9ad266 [D 2023-03-26 02:05:03.253 ServerApp] 200 GET /api/kernels?1679810703008 (89e9c5b736c14978a8c2e048fa9ad266@172.**.**.***) 23.44ms [D 2023-03-26 02:05:03.253 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.253 ServerApp] Generating new user for token-authenticated request: e008e6b5a10c4bdb9f45f6428e250a16 [D 2023-03-26 02:05:03.255 ServerApp] 200 GET /api/kernels?1679810703011 (e008e6b5a10c4bdb9f45f6428e250a16@172.**.**.***) 24.66ms [D 2023-03-26 02:05:03.255 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.255 ServerApp] Generating new user for token-authenticated request: eb65f38f8ceb421e8bfdb94e727e875d [D 2023-03-26 02:05:03.256 ServerApp] 200 GET /api/kernels?1679810703013 (eb65f38f8ceb421e8bfdb94e727e875d@172.**.**.***) 25.82ms [D 2023-03-26 02:05:03.257 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.257 ServerApp] Generating new user for token-authenticated request: 0e62f1b7d0f84c78ba469d5634b27afa [D 2023-03-26 02:05:03.258 ServerApp] 200 GET /api/kernels?1679810703017 (0e62f1b7d0f84c78ba469d5634b27afa@172.**.**.***) 26.98ms [D 2023-03-26 02:05:03.258 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.259 ServerApp] Generating new user for token-authenticated request: 7735e0876f1842c5b3b571fa5ca3101c [D 2023-03-26 02:05:03.260 ServerApp] 200 GET /api/sessions?1679810703018 (7735e0876f1842c5b3b571fa5ca3101c@172.**.**.***) 28.33ms [D 2023-03-26 02:05:03.261 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.261 ServerApp] Generating new user for token-authenticated request: 912f0c617c134ff0ab08fbe57934033a [D 2023-03-26 02:05:03.262 ServerApp] 200 GET /api/sessions?1679810703021 (912f0c617c134ff0ab08fbe57934033a@172.**.**.***) 29.84ms [D 2023-03-26 02:05:03.347 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (busy) [D 2023-03-26 02:05:03.349 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: execute_input [D 2023-03-26 02:05:03.351 ServerApp] activity on f8eff202-970d-4500-b2fa-5179642e4946: status (idle) [D 2023-03-26 02:05:03.423 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.424 ServerApp] Generating new user for token-authenticated request: db66bad2f5594d33858f9ebf6d238448 [D 2023-03-26 02:05:03.428 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:05:03.434 ServerApp] 200 GET /api/kernelspecs?1679810703206 (db66bad2f5594d33858f9ebf6d238448@172.**.**.***) 11.27ms [D 2023-03-26 02:05:03.436 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.436 ServerApp] Generating new user for token-authenticated request: 274b00d4d87943168b43d8e9a957b08d [D 2023-03-26 02:05:03.439 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:05:03.445 ServerApp] 200 GET /api/kernelspecs?1679810703223 (274b00d4d87943168b43d8e9a957b08d@172.**.**.***) 10.71ms [D 2023-03-26 02:05:03.446 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:03.446 ServerApp] Generating new user for token-authenticated request: 8aee281c89d3491abfca2bc5c2e2e719 [D 2023-03-26 02:05:03.448 ServerApp] Found kernel python3 in ~/software/anaconda3/envs/ve_iaa_pytorch/share/jupyter/kernels [D 2023-03-26 02:05:03.453 ServerApp] 200 GET /api/kernelspecs?1679810703227 (8aee281c89d3491abfca2bc5c2e2e719@172.**.**.***) 18.06ms [D 2023-03-26 02:05:05.008 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:05.009 ServerApp] Generating new user for token-authenticated request: 40d5312802a54e67b44bb24c5eb472a6 [D 2023-03-26 02:05:05.011 ServerApp] 200 GET /api/sessions?1679810704803 (40d5312802a54e67b44bb24c5eb472a6@172.**.**.***) 3.14ms [D 2023-03-26 02:05:05.298 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:05.298 ServerApp] Generating new user for token-authenticated request: 2015273e652644f7a79157b77ce766ae [D 2023-03-26 02:05:05.300 ServerApp] 200 GET /api/sessions?1679810705077 (2015273e652644f7a79157b77ce766ae@172.**.**.***) 3.01ms [D 2023-03-26 02:05:09.888 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:09.889 ServerApp] Generating new user for token-authenticated request: 31fa02e0e87347009278a8def91cbcba [D 2023-03-26 02:05:09.891 ServerApp] 200 GET /api/sessions?1679810709688 (31fa02e0e87347009278a8def91cbcba@172.**.**.***) 3.21ms [D 2023-03-26 02:05:10.099 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:10.100 ServerApp] Generating new user for token-authenticated request: 30b1dee45439456d8f1328ba8a770d12 [D 2023-03-26 02:05:10.102 ServerApp] 200 GET /api/kernels?1679810709902 (30b1dee45439456d8f1328ba8a770d12@172.**.**.***) 3.12ms [D 2023-03-26 02:05:11.129 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:11.130 ServerApp] Generating new user for token-authenticated request: 75ee6e4156f24351afc3d36c31a0ee51 [D 2023-03-26 02:05:11.132 ServerApp] 200 GET /api/kernels?1679810710935 (75ee6e4156f24351afc3d36c31a0ee51@172.**.**.***) 3.05ms [D 2023-03-26 02:05:11.421 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:11.423 ServerApp] Generating new user for token-authenticated request: 53daa47ec1da41c4bdf5fbc1d2fbcbeb [D 2023-03-26 02:05:11.427 ServerApp] 200 GET /api/kernels?1679810711217 (53daa47ec1da41c4bdf5fbc1d2fbcbeb@172.**.**.***) 11.79ms [D 2023-03-26 02:05:15.167 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:15.167 ServerApp] Generating new user for token-authenticated request: 4bde67d5efc24d1994762ce9766195d9 [D 2023-03-26 02:05:15.169 ServerApp] 200 GET /api/sessions?1679810714972 (4bde67d5efc24d1994762ce9766195d9@172.**.**.***) 3.16ms [D 2023-03-26 02:05:15.451 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:15.452 ServerApp] Generating new user for token-authenticated request: e94bb04268724812b332d6e84c801e00 [D 2023-03-26 02:05:15.453 ServerApp] 200 GET /api/sessions?1679810715258 (e94bb04268724812b332d6e84c801e00@172.**.**.***) 3.03ms [D 2023-03-26 02:05:16.339 ServerApp] Accepting token-authenticated request from 172.**.**.*** [I 2023-03-26 02:05:16.339 ServerApp] Generating new user for token-authenticated request: 4373c695d8304238aea31066f19f3766 [D 2023-03-26 02:05:16.341 ServerApp] 200 GET /api/sessions?1679810716146 (4373c695d8304238aea31066f19f3766@172.**.**.***) 3.00ms ^C[I 2023-03-26 02:05:16.455 ServerApp] interrupted [I 2023-03-26 02:05:16.456 ServerApp] Serving notebooks from local directory: ~/ite_iaa/ite_gb_inverseappraisal/code 1 active kernel Jupyter Server 2.4.0 is running at: http://172.**.**.***:8458/?token=... http://127.0.0.1:8458/?token=... Shutdown this Jupyter server (y/[n])? y [C 2023-03-26 02:05:18.173 ServerApp] Shutdown confirmed [I 2023-03-26 02:05:18.177 ServerApp] Shutting down 6 extensions [D 2023-03-26 02:05:18.178 ServerApp] jupyter_server_fileid | extension app 'jupyter_server_fileid' stopping [D 2023-03-26 02:05:18.178 ServerApp] jupyter_server_fileid | extension app 'jupyter_server_fileid' stopped [D 2023-03-26 02:05:18.178 ServerApp] jupyter_server_terminals | extension app 'jupyter_server_terminals' stopping [D 2023-03-26 02:05:18.178 ServerApp] jupyter_server_terminals | extension app 'jupyter_server_terminals' stopped [D 2023-03-26 02:05:18.179 ServerApp] jupyter_server_ydoc | extension app 'jupyter_server_ydoc' stopping [D 2023-03-26 02:05:18.179 ServerApp] jupyter_server_ydoc | extension app 'jupyter_server_ydoc' stopped [D 2023-03-26 02:05:18.179 ServerApp] jupyterlab | extension app 'lab' stopping [D 2023-03-26 02:05:18.179 ServerApp] jupyterlab | extension app 'lab' stopped [I 2023-03-26 02:05:18.180 ServerApp] Shutting down 1 kernel [D 2023-03-26 02:05:18.182 ServerApp] Clearing buffer for f8eff202-970d-4500-b2fa-5179642e4946 [I 2023-03-26 02:05:18.182 ServerApp] Kernel shutdown: f8eff202-970d-4500-b2fa-5179642e4946 [D 2023-03-26 02:05:18.800 ServerApp] Websocket closed f8eff202-970d-4500-b2fa-5179642e4946:39958ba4-a26d-496e-a96b-8c3e604dcae0
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
cont.
Troubleshoot Output
❯ jupyter troubleshoot $PATH: ~/software/anaconda3/envs/ve_iaa_pytorch/bin ~/software/anaconda3/condabin ~/software/texlive/bin/x86_64-linux ~/software/node-v12.14.0-linux-x64/bin /cm/shared/openmind/gcc/11.1.0/bin /usr/lib64/qt-3.3/bin ~/me/zsh/bin ~/me/vim/bin ~/me/tmux/bin ~/me/git/bin /usr/local/bin /usr/bin ~/bin /usr/local/sbin /usr/sbinsys.path: ~/software/anaconda3/envs/ve_iaa_pytorch/bin ~/software/anaconda3/envs/ve_iaa_pytorch/lib/python310.zip ~/software/anaconda3/envs/ve_iaa_pytorch/lib/python3.10 ~/software/anaconda3/envs/ve_iaa_pytorch/lib/python3.10/lib-dynload ~/software/anaconda3/envs/ve_iaa_pytorch/lib/python3.10/site-packages
sys.executable: ~/software/anaconda3/envs/ve_iaa_pytorch/bin/python
sys.version: 3.10.9 | packaged by conda-forge | (main, Feb 2 2023, 20:20:04) [GCC 11.3.0]
platform.platform(): Linux-3.10.0-1062.el7.x86_64-x86_64-with-glibc2.17
which -a jupyter: ~/software/anaconda3/envs/ve_iaa_pytorch/bin/jupyter
pip list: Package Version ----------------------------- ----------- aiofiles 22.1.0 aiosqlite 0.18.0 anyio 3.6.2 argon2-cffi 21.3.0 argon2-cffi-bindings 21.2.0 asttokens 2.2.1 attrs 22.2.0 autopep8 2.0.2 Babel 2.12.1 backcall 0.2.0 backports.functools-lru-cache 1.6.4 beautifulsoup4 4.11.2 bleach 6.0.0 brotlipy 0.7.0 certifi 2022.12.7 cffi 1.15.1 charset-normalizer 2.1.1 colorama 0.4.6 comm 0.1.2 contourpy 1.0.7 cryptography 39.0.2 cycler 0.11.0 debugpy 1.6.6 decorator 5.1.1 defusedxml 0.7.1 dill 0.3.6 entrypoints 0.4 executing 1.2.0 fastjsonschema 2.16.3 flit_core 3.8.0 fonttools 4.39.0 idna 3.4 importlib-metadata 6.0.0 importlib-resources 5.12.0 ipykernel 6.21.3 ipython 8.11.0 ipython-genutils 0.2.0 jedi 0.18.2 Jinja2 3.1.2 joblib 1.2.0 json5 0.9.5 jsonschema 4.17.3 jupyter_client 8.0.3 jupyter_core 5.2.0 jupyter-events 0.6.3 jupyter_server 2.4.0 jupyter_server_fileid 0.8.0 jupyter_server_terminals 0.4.4 jupyter_server_ydoc 0.6.1 jupyter-ydoc 0.2.2 jupyterlab 3.6.1 jupyterlab-pygments 0.2.2 jupyterlab_server 2.20.0 kiwisolver 1.4.4 libtmux 0.21.0 MarkupSafe 2.1.2 matplotlib 3.7.1 matplotlib-inline 0.1.6 mistune 2.0.5 munkres 1.1.4 nbclassic 0.5.3 nbclient 0.7.2 nbconvert 7.2.9 nbformat 5.7.3 nest-asyncio 1.5.6 notebook 6.5.3 notebook_shim 0.2.2 numpy 1.24.2 packaging 23.0 pandas 1.5.3 pandocfilters 1.5.0 parso 0.8.3 patsy 0.5.3 pexpect 4.8.0 pickleshare 0.7.5 Pillow 9.4.0 pip 23.0.1 pkgutil_resolve_name 1.3.10 platformdirs 3.1.1 pooch 1.7.0 prometheus-client 0.16.0 prompt-toolkit 3.0.38 psutil 5.9.4 ptyprocess 0.7.0 pure-eval 0.2.2 pycodestyle 2.10.0 pycparser 2.21 Pygments 2.14.0 pyOpenSSL 23.0.0 pyparsing 3.0.9 pyrsistent 0.19.3 PySocks 1.7.1 python-dateutil 2.8.2 python-json-logger 2.0.7 pytz 2022.7.1 PyYAML 6.0 pyzmq 25.0.0 requests 2.28.2 rfc3339-validator 0.1.4 rfc3986-validator 0.1.1 scikit-learn 1.2.2 scipy 1.10.1 seaborn 0.12.2 Send2Trash 1.8.0 setuptools 67.6.0 six 1.16.0 sniffio 1.3.0 soupsieve 2.3.2.post1 stack-data 0.6.2 statsmodels 0.13.5 terminado 0.17.1 threadpoolctl 3.1.0 tinycss2 1.2.1 tmuxp 1.27.0 tomli 2.0.1 torch 1.13.1 tornado 6.2 traitlets 5.9.0 typing_extensions 4.5.0 unicodedata2 15.0.0 urllib3 1.26.15 wcwidth 0.2.6 webencodings 0.5.1 websocket-client 1.5.1 wheel 0.38.4 y-py 0.5.9 ypy-websocket 0.8.2 zipp 3.15.0
conda list: # packages in environment at ~/software/anaconda3/envs/ve_iaa_pytorch: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_kmp_llvm conda-forge aiofiles 22.1.0 pyhd8ed1ab_0 conda-forge aiosqlite 0.18.0 pyhd8ed1ab_0 conda-forge anyio 3.6.2 pyhd8ed1ab_0 conda-forge argon2-cffi 21.3.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py310h5764c6d_3 conda-forge asttokens 2.2.1 pyhd8ed1ab_0 conda-forge attrs 22.2.0 pyh71513ae_0 conda-forge autopep8 2.0.2 pyhd8ed1ab_0 conda-forge babel 2.12.1 pyhd8ed1ab_1 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 pyhd8ed1ab_3 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.11.2 pyha770c72_0 conda-forge blas 2.116 mkl conda-forge blas-devel 3.9.0 16_linux64_mkl conda-forge bleach 6.0.0 pyhd8ed1ab_0 conda-forge brotli 1.0.9 h166bdaf_8 conda-forge brotli-bin 1.0.9 h166bdaf_8 conda-forge brotlipy 0.7.0 py310h5764c6d_1005 conda-forge bzip2 1.0.8 h7f98852_4 conda-forge ca-certificates 2022.12.7 ha878542_0 conda-forge certifi 2022.12.7 pyhd8ed1ab_0 conda-forge cffi 1.15.1 py310h255011f_3 conda-forge charset-normalizer 2.1.1 pyhd8ed1ab_0 conda-forge colorama 0.4.6 pypi_0 pypi comm 0.1.2 pyhd8ed1ab_0 conda-forge contourpy 1.0.7 py310hdf3cbec_0 conda-forge cryptography 39.0.2 py310h34c0648_0 conda-forge cycler 0.11.0 pyhd8ed1ab_0 conda-forge debugpy 1.6.6 py310heca2aa9_0 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge dill 0.3.6 pyhd8ed1ab_1 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge executing 1.2.0 pyhd8ed1ab_0 conda-forge flit-core 3.8.0 pyhd8ed1ab_0 conda-forge fonttools 4.39.0 py310h1fa729e_0 conda-forge freetype 2.12.1 hca18f0e_1 conda-forge icu 70.1 h27087fc_0 conda-forge idna 3.4 pyhd8ed1ab_0 conda-forge importlib-metadata 6.0.0 pyha770c72_0 conda-forge importlib_metadata 6.0.0 hd8ed1ab_0 conda-forge importlib_resources 5.12.0 pyhd8ed1ab_0 conda-forge ipykernel 6.21.3 pyh210e3f2_0 conda-forge ipython 8.11.0 pyh41d4057_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge jedi 0.18.2 pyhd8ed1ab_0 conda-forge jinja2 3.1.2 pyhd8ed1ab_1 conda-forge joblib 1.2.0 pyhd8ed1ab_0 conda-forge json5 0.9.5 pyh9f0ad1d_0 conda-forge jsonschema 4.17.3 pyhd8ed1ab_0 conda-forge jupyter_client 8.0.3 pyhd8ed1ab_0 conda-forge jupyter_core 5.2.0 py310hff52083_0 conda-forge jupyter_events 0.6.3 pyhd8ed1ab_0 conda-forge jupyter_server 2.4.0 pyhd8ed1ab_0 conda-forge jupyter_server_fileid 0.8.0 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.4.4 pyhd8ed1ab_1 conda-forge jupyter_server_ydoc 0.6.1 pyhd8ed1ab_0 conda-forge jupyter_ydoc 0.2.2 pyhd8ed1ab_0 conda-forge jupyterlab 3.6.1 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.2.2 pyhd8ed1ab_0 conda-forge jupyterlab_server 2.20.0 pyhd8ed1ab_0 conda-forge kiwisolver 1.4.4 py310hbf28c38_1 conda-forge lcms2 2.15 haa2dc70_1 conda-forge ld_impl_linux-64 2.40 h41732ed_0 conda-forge lerc 4.0.0 h27087fc_0 conda-forge libblas 3.9.0 16_linux64_mkl conda-forge libbrotlicommon 1.0.9 h166bdaf_8 conda-forge libbrotlidec 1.0.9 h166bdaf_8 conda-forge libbrotlienc 1.0.9 h166bdaf_8 conda-forge libcblas 3.9.0 16_linux64_mkl conda-forge libdeflate 1.17 h0b41bf4_0 conda-forge libffi 3.4.2 h7f98852_5 conda-forge libgcc-ng 12.2.0 h65d4601_19 conda-forge libgfortran-ng 12.2.0 h69a702a_19 conda-forge libgfortran5 12.2.0 h337968e_19 conda-forge libhwloc 2.9.0 hd6dc26d_0 conda-forge libiconv 1.17 h166bdaf_0 conda-forge libjpeg-turbo 2.1.5.1 h0b41bf4_0 conda-forge liblapack 3.9.0 16_linux64_mkl conda-forge liblapacke 3.9.0 16_linux64_mkl conda-forge libnsl 2.0.0 h7f98852_0 conda-forge libpng 1.6.39 h753d276_0 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libsqlite 3.40.0 h753d276_0 conda-forge libstdcxx-ng 12.2.0 h46fd767_19 conda-forge libtiff 4.5.0 hddfeb54_5 conda-forge libtmux 0.21.0 pypi_0 pypi libuuid 2.32.1 h7f98852_1000 conda-forge libwebp-base 1.3.0 h0b41bf4_0 conda-forge libxcb 1.13 h7f98852_1004 conda-forge libxml2 2.10.3 h7463322_0 conda-forge libzlib 1.2.13 h166bdaf_4 conda-forge llvm-openmp 15.0.7 h0cdce71_0 conda-forge markupsafe 2.1.2 py310h1fa729e_0 conda-forge matplotlib-base 3.7.1 py310he60537e_0 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mistune 2.0.5 pyhd8ed1ab_0 conda-forge mkl 2022.1.0 h84fe81f_915 conda-forge mkl-devel 2022.1.0 ha770c72_916 conda-forge mkl-include 2022.1.0 h84fe81f_915 conda-forge munkres 1.1.4 pyh9f0ad1d_0 conda-forge nbclassic 0.5.3 pyhb4ecaf3_3 conda-forge nbclient 0.7.2 pyhd8ed1ab_0 conda-forge nbconvert 7.2.9 pyhd8ed1ab_0 conda-forge nbconvert-core 7.2.9 pyhd8ed1ab_0 conda-forge nbconvert-pandoc 7.2.9 pyhd8ed1ab_0 conda-forge nbformat 5.7.3 pyhd8ed1ab_0 conda-forge ncurses 6.3 h27087fc_1 conda-forge nest-asyncio 1.5.6 pyhd8ed1ab_0 conda-forge notebook 6.5.3 pyha770c72_0 conda-forge notebook-shim 0.2.2 pyhd8ed1ab_0 conda-forge numpy 1.24.2 py310h8deb116_0 conda-forge openjpeg 2.5.0 hfec8fc6_2 conda-forge openssl 3.0.8 h0b41bf4_0 conda-forge packaging 23.0 pyhd8ed1ab_0 conda-forge pandas 1.5.3 py310h9b08913_0 conda-forge pandoc 2.19.2 h32600fe_2 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge patsy 0.5.3 pyhd8ed1ab_0 conda-forge pexpect 4.8.0 pyh1a96a4e_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 9.4.0 py310h065c6d2_2 conda-forge pip 23.0.1 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_0 conda-forge platformdirs 3.1.1 pyhd8ed1ab_0 conda-forge pooch 1.7.0 pyhd8ed1ab_0 conda-forge prometheus_client 0.16.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.38 pyha770c72_0 conda-forge prompt_toolkit 3.0.38 hd8ed1ab_0 conda-forge psutil 5.9.4 py310h5764c6d_0 conda-forge pthread-stubs 0.4 h36c2ea0_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pycodestyle 2.10.0 pyhd8ed1ab_0 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pygments 2.14.0 pyhd8ed1ab_0 conda-forge pyopenssl 23.0.0 pyhd8ed1ab_0 conda-forge pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge pyrsistent 0.19.3 py310h1fa729e_0 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge python 3.10.9 he550d4f_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.16.3 pyhd8ed1ab_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python_abi 3.10 3_cp310 conda-forge pytorch 1.13.1 py3.10_cpu_0 pytorch pytorch-mutex 1.0 cpu pytorch pytz 2022.7.1 pyhd8ed1ab_0 conda-forge pyyaml 6.0 py310h5764c6d_5 conda-forge pyzmq 25.0.0 py310h059b190_0 conda-forge readline 8.1.2 h0f457ee_0 conda-forge requests 2.28.2 pyhd8ed1ab_0 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge scikit-learn 1.2.2 py310h209a8ca_0 conda-forge scipy 1.10.1 py310h8deb116_0 conda-forge seaborn 0.12.2 hd8ed1ab_0 conda-forge seaborn-base 0.12.2 pyhd8ed1ab_0 conda-forge send2trash 1.8.0 pyhd8ed1ab_0 conda-forge setuptools 67.6.0 pyhd8ed1ab_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sniffio 1.3.0 pyhd8ed1ab_0 conda-forge soupsieve 2.3.2.post1 pyhd8ed1ab_0 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge statsmodels 0.13.5 py310hde88566_2 conda-forge tbb 2021.8.0 hf52228f_0 conda-forge terminado 0.17.1 pyh41d4057_0 conda-forge threadpoolctl 3.1.0 pyh8a188c0_0 conda-forge tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.12 h27826a3_0 conda-forge tmuxp 1.27.0 pypi_0 pypi tomli 2.0.1 pyhd8ed1ab_0 conda-forge tornado 6.2 py310h5764c6d_1 conda-forge traitlets 5.9.0 pyhd8ed1ab_0 conda-forge typing-extensions 4.5.0 hd8ed1ab_0 conda-forge typing_extensions 4.5.0 pyha770c72_0 conda-forge tzdata 2022g h191b570_0 conda-forge unicodedata2 15.0.0 py310h5764c6d_0 conda-forge urllib3 1.26.15 pyhd8ed1ab_0 conda-forge wcwidth 0.2.6 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 py_1 conda-forge websocket-client 1.5.1 pyhd8ed1ab_0 conda-forge wheel 0.38.4 pyhd8ed1ab_0 conda-forge xorg-libxau 1.0.9 h7f98852_0 conda-forge xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge xz 5.2.6 h166bdaf_0 conda-forge y-py 0.5.9 py310h4426083_0 conda-forge yaml 0.2.5 h7f98852_2 conda-forge ypy-websocket 0.8.2 pyhd8ed1ab_0 conda-forge zeromq 4.3.4 h9c3ff4c_1 conda-forge zipp 3.15.0 pyhd8ed1ab_0 conda-forge zstd 1.5.2 h3eb15da_6 conda-forge
conda env: name: ve_iaa_pytorch channels: - pytorch - conda-forge - defaults dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_kmp_llvm - aiofiles=22.1.0=pyhd8ed1ab_0 - aiosqlite=0.18.0=pyhd8ed1ab_0 - anyio=3.6.2=pyhd8ed1ab_0 - argon2-cffi=21.3.0=pyhd8ed1ab_0 - argon2-cffi-bindings=21.2.0=py310h5764c6d_3 - asttokens=2.2.1=pyhd8ed1ab_0 - attrs=22.2.0=pyh71513ae_0 - autopep8=2.0.2=pyhd8ed1ab_0 - babel=2.12.1=pyhd8ed1ab_1 - backcall=0.2.0=pyh9f0ad1d_0 - backports=1.0=pyhd8ed1ab_3 - backports.functools_lru_cache=1.6.4=pyhd8ed1ab_0 - beautifulsoup4=4.11.2=pyha770c72_0 - blas=2.116=mkl - blas-devel=3.9.0=16_linux64_mkl - bleach=6.0.0=pyhd8ed1ab_0 - brotli=1.0.9=h166bdaf_8 - brotli-bin=1.0.9=h166bdaf_8 - brotlipy=0.7.0=py310h5764c6d_1005 - bzip2=1.0.8=h7f98852_4 - ca-certificates=2022.12.7=ha878542_0 - certifi=2022.12.7=pyhd8ed1ab_0 - cffi=1.15.1=py310h255011f_3 - charset-normalizer=2.1.1=pyhd8ed1ab_0 - comm=0.1.2=pyhd8ed1ab_0 - contourpy=1.0.7=py310hdf3cbec_0 - cryptography=39.0.2=py310h34c0648_0 - cycler=0.11.0=pyhd8ed1ab_0 - debugpy=1.6.6=py310heca2aa9_0 - decorator=5.1.1=pyhd8ed1ab_0 - defusedxml=0.7.1=pyhd8ed1ab_0 - dill=0.3.6=pyhd8ed1ab_1 - entrypoints=0.4=pyhd8ed1ab_0 - executing=1.2.0=pyhd8ed1ab_0 - flit-core=3.8.0=pyhd8ed1ab_0 - fonttools=4.39.0=py310h1fa729e_0 - freetype=2.12.1=hca18f0e_1 - icu=70.1=h27087fc_0 - idna=3.4=pyhd8ed1ab_0 - importlib-metadata=6.0.0=pyha770c72_0 - importlib_metadata=6.0.0=hd8ed1ab_0 - importlib_resources=5.12.0=pyhd8ed1ab_0 - ipykernel=6.21.3=pyh210e3f2_0 - ipython=8.11.0=pyh41d4057_0 - ipython_genutils=0.2.0=py_1 - jedi=0.18.2=pyhd8ed1ab_0 - jinja2=3.1.2=pyhd8ed1ab_1 - joblib=1.2.0=pyhd8ed1ab_0 - json5=0.9.5=pyh9f0ad1d_0 - jsonschema=4.17.3=pyhd8ed1ab_0 - jupyter_client=8.0.3=pyhd8ed1ab_0 - jupyter_core=5.2.0=py310hff52083_0 - jupyter_events=0.6.3=pyhd8ed1ab_0 - jupyter_server=2.4.0=pyhd8ed1ab_0 - jupyter_server_fileid=0.8.0=pyhd8ed1ab_0 - jupyter_server_terminals=0.4.4=pyhd8ed1ab_1 - jupyter_server_ydoc=0.6.1=pyhd8ed1ab_0 - jupyter_ydoc=0.2.2=pyhd8ed1ab_0 - jupyterlab=3.6.1=pyhd8ed1ab_0 - jupyterlab_pygments=0.2.2=pyhd8ed1ab_0 - jupyterlab_server=2.20.0=pyhd8ed1ab_0 - kiwisolver=1.4.4=py310hbf28c38_1 - lcms2=2.15=haa2dc70_1 - ld_impl_linux-64=2.40=h41732ed_0 - lerc=4.0.0=h27087fc_0 - libblas=3.9.0=16_linux64_mkl - libbrotlicommon=1.0.9=h166bdaf_8 - libbrotlidec=1.0.9=h166bdaf_8 - libbrotlienc=1.0.9=h166bdaf_8 - libcblas=3.9.0=16_linux64_mkl - libdeflate=1.17=h0b41bf4_0 - libffi=3.4.2=h7f98852_5 - libgcc-ng=12.2.0=h65d4601_19 - libgfortran-ng=12.2.0=h69a702a_19 - libgfortran5=12.2.0=h337968e_19 - libhwloc=2.9.0=hd6dc26d_0 - libiconv=1.17=h166bdaf_0 - libjpeg-turbo=2.1.5.1=h0b41bf4_0 - liblapack=3.9.0=16_linux64_mkl - liblapacke=3.9.0=16_linux64_mkl - libnsl=2.0.0=h7f98852_0 - libpng=1.6.39=h753d276_0 - libsodium=1.0.18=h36c2ea0_1 - libsqlite=3.40.0=h753d276_0 - libstdcxx-ng=12.2.0=h46fd767_19 - libtiff=4.5.0=hddfeb54_5 - libuuid=2.32.1=h7f98852_1000 - libwebp-base=1.3.0=h0b41bf4_0 - libxcb=1.13=h7f98852_1004 - libxml2=2.10.3=h7463322_0 - libzlib=1.2.13=h166bdaf_4 - llvm-openmp=15.0.7=h0cdce71_0 - markupsafe=2.1.2=py310h1fa729e_0 - matplotlib-base=3.7.1=py310he60537e_0 - matplotlib-inline=0.1.6=pyhd8ed1ab_0 - mistune=2.0.5=pyhd8ed1ab_0 - mkl=2022.1.0=h84fe81f_915 - mkl-devel=2022.1.0=ha770c72_916 - mkl-include=2022.1.0=h84fe81f_915 - munkres=1.1.4=pyh9f0ad1d_0 - nbclassic=0.5.3=pyhb4ecaf3_3 - nbclient=0.7.2=pyhd8ed1ab_0 - nbconvert=7.2.9=pyhd8ed1ab_0 - nbconvert-core=7.2.9=pyhd8ed1ab_0 - nbconvert-pandoc=7.2.9=pyhd8ed1ab_0 - nbformat=5.7.3=pyhd8ed1ab_0 - ncurses=6.3=h27087fc_1 - nest-asyncio=1.5.6=pyhd8ed1ab_0 - notebook=6.5.3=pyha770c72_0 - notebook-shim=0.2.2=pyhd8ed1ab_0 - numpy=1.24.2=py310h8deb116_0 - openjpeg=2.5.0=hfec8fc6_2 - openssl=3.0.8=h0b41bf4_0 - packaging=23.0=pyhd8ed1ab_0 - pandas=1.5.3=py310h9b08913_0 - pandoc=2.19.2=h32600fe_2 - pandocfilters=1.5.0=pyhd8ed1ab_0 - parso=0.8.3=pyhd8ed1ab_0 - patsy=0.5.3=pyhd8ed1ab_0 - pexpect=4.8.0=pyh1a96a4e_2 - pickleshare=0.7.5=py_1003 - pillow=9.4.0=py310h065c6d2_2 - pip=23.0.1=pyhd8ed1ab_0 - pkgutil-resolve-name=1.3.10=pyhd8ed1ab_0 - platformdirs=3.1.1=pyhd8ed1ab_0 - pooch=1.7.0=pyhd8ed1ab_0 - prometheus_client=0.16.0=pyhd8ed1ab_0 - prompt-toolkit=3.0.38=pyha770c72_0 - prompt_toolkit=3.0.38=hd8ed1ab_0 - psutil=5.9.4=py310h5764c6d_0 - pthread-stubs=0.4=h36c2ea0_1001 - ptyprocess=0.7.0=pyhd3deb0d_0 - pure_eval=0.2.2=pyhd8ed1ab_0 - pycodestyle=2.10.0=pyhd8ed1ab_0 - pycparser=2.21=pyhd8ed1ab_0 - pygments=2.14.0=pyhd8ed1ab_0 - pyopenssl=23.0.0=pyhd8ed1ab_0 - pyparsing=3.0.9=pyhd8ed1ab_0 - pyrsistent=0.19.3=py310h1fa729e_0 - pysocks=1.7.1=pyha2e5f31_6 - python=3.10.9=he550d4f_0_cpython - python-dateutil=2.8.2=pyhd8ed1ab_0 - python-fastjsonschema=2.16.3=pyhd8ed1ab_0 - python-json-logger=2.0.7=pyhd8ed1ab_0 - python_abi=3.10=3_cp310 - pytorch=1.13.1=py3.10_cpu_0 - pytorch-mutex=1.0=cpu - pytz=2022.7.1=pyhd8ed1ab_0 - pyyaml=6.0=py310h5764c6d_5 - pyzmq=25.0.0=py310h059b190_0 - readline=8.1.2=h0f457ee_0 - requests=2.28.2=pyhd8ed1ab_0 - rfc3339-validator=0.1.4=pyhd8ed1ab_0 - rfc3986-validator=0.1.1=pyh9f0ad1d_0 - scikit-learn=1.2.2=py310h209a8ca_0 - scipy=1.10.1=py310h8deb116_0 - seaborn=0.12.2=hd8ed1ab_0 - seaborn-base=0.12.2=pyhd8ed1ab_0 - send2trash=1.8.0=pyhd8ed1ab_0 - setuptools=67.6.0=pyhd8ed1ab_0 - six=1.16.0=pyh6c4a22f_0 - sniffio=1.3.0=pyhd8ed1ab_0 - soupsieve=2.3.2.post1=pyhd8ed1ab_0 - stack_data=0.6.2=pyhd8ed1ab_0 - statsmodels=0.13.5=py310hde88566_2 - tbb=2021.8.0=hf52228f_0 - terminado=0.17.1=pyh41d4057_0 - threadpoolctl=3.1.0=pyh8a188c0_0 - tinycss2=1.2.1=pyhd8ed1ab_0 - tk=8.6.12=h27826a3_0 - tomli=2.0.1=pyhd8ed1ab_0 - tornado=6.2=py310h5764c6d_1 - traitlets=5.9.0=pyhd8ed1ab_0 - typing-extensions=4.5.0=hd8ed1ab_0 - typing_extensions=4.5.0=pyha770c72_0 - tzdata=2022g=h191b570_0 - unicodedata2=15.0.0=py310h5764c6d_0 - urllib3=1.26.15=pyhd8ed1ab_0 - wcwidth=0.2.6=pyhd8ed1ab_0 - webencodings=0.5.1=py_1 - websocket-client=1.5.1=pyhd8ed1ab_0 - wheel=0.38.4=pyhd8ed1ab_0 - xorg-libxau=1.0.9=h7f98852_0 - xorg-libxdmcp=1.1.3=h7f98852_0 - xz=5.2.6=h166bdaf_0 - y-py=0.5.9=py310h4426083_0 - yaml=0.2.5=h7f98852_2 - ypy-websocket=0.8.2=pyhd8ed1ab_0 - zeromq=4.3.4=h9c3ff4c_1 - zipp=3.15.0=pyhd8ed1ab_0 - zstd=1.5.2=h3eb15da_6 - pip: - colorama==0.4.6 - libtmux==0.21.0 - tmuxp==1.27.0 prefix: ~/software/anaconda3/envs/ve_iaa_pytorch
@daeh Is there a fix for this?
Hi! In the stackoverflow question, someone suggested setting LAB_TOKEN="test".
I just tried changing --LabApp.token=''
to --LabApp.token='test'
in my Dockerfile and then re-build the Jupyter container with docker-compose up --build, and it seems to fix the problem!
Use jupyter-notebook
command instead of jupyter-server
to provide the remote API.
The jupyter-server
/ VSCode Jupyter connectivity is horribly broken.
The latest versions I found which worked:
- jupyter-server: 1.23.6
- VSCode Jupyter extension: 2022.6.1001890150 (worked on VSCode 1.77.0)
Notes:
- It may be good to
rm -rf ~/.ipython ~/.jupyter
when experimenting with the server-side versions. - My client platform is latest OSX/arm Ventura 13.2.1, server is Ubuntu Server 22.10 x86_64.
- The way to setup a remote Jupyter connection in VSCode 1.77.0 and Jupyter extension version 2023.3.1000892223:
- select "Existing Jupyter Server" and enter the URL
- restart VSCode
- select "Existing Jupyter Server" and select the previously entered server (which now has a visible entry)
Hi everyone! Sorry for not getting back to you sooner.
Jupyter-Server v1 was a stateless single-user server. With the introduction of real-time collaboration in JupyterLab, we needed to track different users connecting to the same instance. For this reason, in Jupyter-Server v2, we introduced a new identity API. This identity API was designed to enable third-party extensions to swap the IdentityProvider.
The default implementation of Jupyter-Server is a stateless single-user server yet. With the default authorization, you can configure the server to use a password or a token, but it is the same for every user. Furthermore, since this is a stateless server, the default implementation of the identity provider uses cookies to track sessions, assuming every new session is a different user and generating random anonymous user identities. You can find more information here.
If you are using the default implementation, every time a client connects (either using a password or token authentication), we check whether there is a cookie with a user identity. If the cookie is absent, we generate a new random identity for that client and store it in a cookie.
To avoid generating a new user for each request, you must habilitate cookies in your client. I'm not entirely sure, but VS code might have a flag to enable cookies for remote sessions.
thanks for the detailed explainer, @hbcarlos
Am I interpreting this right --- that you don't see a fix for anon token-auth coming from jupyter-server? Rather you're advising us to take the issue up with VS Code?
Am I interpreting this right --- that you don't see a fix for anon token-auth coming from jupyter-server? Rather you're advising us to take the issue up with VS Code?
I think your interpretation is correct, but I would like first to further discuss and get inputs from other on this. I will try to join next week jupyter server dev meeting to have more opinions on this.
Am I interpreting this right --- that you don't see a fix for anon token-auth coming from jupyter-server? Rather you're advising us to take the issue up with VS Code?
Hi @daeh. I'm sorry for not getting back to you sooner. I'm very busy at the moment.
It was not. Actually, I've been trying to reproduce the issue by following your description. Unfortunately, I'm not able to reproduce it. This is what I tried:
Attempt 1:
I used VSCode as a client to open a local notebook and connect to a remote kernel running on Jupyter Server on a different machine (the remote server is on the same network as my laptop).
- Open an ssh connection with port forwarding into the server
ssh -L 8888:192.168.1.2:8888 [email protected]
. - Launch Jupyter server in the remote machine
jupyter-server --no-browser --port=8888 --ip="192.168.1.2"
- Copy the URL with the token from the terminal
- Use VSCode to open a local notebook
- From VSCode, Select a kernel -> Existing Jupyter server -> enter URL to server ->
http://127.0.0.1:8888/?token=<token>
This works as expected. It does not generate multiple users.
Attempt 2:
I connected to a JupyterLab instance in a remote server using ssh port forwarding.
- Open an ssh connection with port forwarding into the server
ssh -L 8888:192.168.1.2:8888 [email protected]
. - Launch JupyterLab in the remote machine
jupyter-lab --no-browser
- Copy the URL with the token from the terminal
- Use the browser to connect to the JupyterLab instance using
http://127.0.0.1:8888/?token=<token>
This works as expected. It does not generate multiple users.
I was using: VSCode: 1.77.1 VSCode Jupyter extension: v2023.3.1201040234 Jupyter Server: 2.5.0 JupyterLab: 3.6.3
Can you confirm you are using the latest version of VSCode and VSCode Jupyter extension?
If that's the case, is your remote Jupyter server running under a proxy?
I have tested on my vscode connecting a notebook to a running jupyter server and it looks working fine as a user (I can run the notebook cells). The server log show the following, is that expected?
[I 2023-04-13 16:53:16.962 ServerApp] Generating new user for token-authenticated request: ecac822e57df40bdb76a6ba2f69509db
[I 2023-04-13 16:53:22.015 ServerApp] Generating new user for token-authenticated request: 22024ab735fc4ea497b01add51435bfd
[I 2023-04-13 16:53:22.016 ServerApp] Generating new user for token-authenticated request: 50c7eaae6cb14dc4a1d4f026d19d8ca7
[I 2023-04-13 16:53:26.904 ServerApp] Generating new user for token-authenticated request: 059c6e773aee4c479983670e1f0c7294
[I 2023-04-13 16:53:26.967 ServerApp] Generating new user for token-authenticated request: e745099bf9ad410aab9ed2f9c6a8738a
This previous has been run on VSCode Version: 1.76.2 (Universal) (Date: 2023-03-14T17:54:09.061Z (4 wks ago)) and jupyter server 2.6.0.dev0
@daeh We discussed it again during the server weekly meeting. This is an issue with VSCode, not with Jupiter Server. Jupyter Server uses cookies to authenticate clients, as described in the documentation. Once you logged in with the token, the server will set a cookie, and the token is no longer necessary.
For servers with token-authentication enabled, the URL in the above listing will include the token, so you can copy and paste that URL into your browser to login. If a server has no token (e.g. it has a password or has authentication disabled), the URL will not include the token argument. Once you have visited this URL, a cookie will be set in your browser and you won’t need to use the token again, unless you switch browsers, clear your cookies, or start a Jupyter server on a new port.
I finally managed to reproduce it. In VSCode, there are two ways of connecting to a remote kernel. The first one and the one described in the VSCode documentation is by setting the URL, including the token, to a running Jupyter Server http://<ip-address>:<port>/?token=<token>
. Using the method, VSCode will ignore the cookie and use the token for each request. Since the cookie is the one with the anonymous user information, the server will create a new random name on each request.
The second option consists of setting the URL without the token, then VSC will show another prompt requesting the token. In this case, VSCode will store the cookie and use it on each request.
In case somebody from the VSCode looks at this, one theory about what's happening is that when the user is presented with the challenge/response for authentication, the extension holds on to the cookies generated by the server, but when the extension receives a valid response by passing in the token, the extension might not be respecting the sessions cookies set by the server.
So for end users who experience this behavior, the current workaround is to not pass the URL containing the token to VSCode and instead allow the extension to ask them for it – until this issue is resolved upstream.
@hbcarlos
This is an issue with VSCode, not with Jupiter Server.
I think so, and report it to https://github.com/microsoft/vscode-jupyter/issues/13345
What is the name of the cookie that Jupyter Server sets to track sessions? I am running the server behind a proxy and some cookies are stripped by the proxy. So I want to make sure that these session cookies are not stripped and they go through.
I checked the links to the documentation and the cookie name is not mentioned as far as I can tell.