jupyterhub/dockerspawner

Spawned Docker doesn't connect to kernel if the environment is behind proxy

raikoug opened this issue ยท 4 comments

Bug description

Hi,
The "bug" consist in kernel not connection (neither does the command line) if I use proxy.
Everything works fine if I directly connect from lan (http://192.168.50.163:8000) or with internal dns (http://jupyter.internal.local:8000)

Expected behaviour

I Expect it to behave the same way as it does from local

Actual behaviour

I can Log In and can create new files
But kernet doesn't start (or connect)
image
Even console isn't working:
image

When using proxy I don't seem to view any activity on jupyterhub log status. (maybe is my service not properly configured, it is the same as the jupyterhub start guide ground up:

root#cat /opt/jupyterhub/etc/systemd/jupyterhub.service
[Unit]
Description=JupyterHub
After=syslog.target network.target

[Service]
User=root
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/opt/jupyterhub/bin"
ExecStart=jupyterhub -f /opt/jupyterhub/etc/jupyterhub/jupyterhub_config.py

[Install]
WantedBy=multi-user.target

How to reproduce

Minimal configuration

  • jupyterhub + dockerspawner
  • persistence volumes
  • user folder creation

Nginx proxy

Your personal set up

  • OS: Debian
  • Version: 10
  • Configuration: jupyterhub 1.2.1
  • nginx version: nginx/1.14.2

My hub config file:

import os
import sys
import shutil

def create_dir_hook(spawner):
    volume_path = os.path.join('/opt/jupyterhub/user_volumes/', username) 
    if not os.path.exists(volume_path):
        os.mkdir(volume_path)
        shutil.chown(volume_path, user='raikoug', group='users')
        os.chmod(volume_path, 0o755)

c = get_config()


c.JupyterHub.log_level = 'DEBUG'
c.JupyterHub.spawner_class = 'dockerspawner.DockerSpawner'
c.DockerSpawner.image = 'jupyter/scipy-notebook'
spawn_cmd = os.environ.get('DOCKER_SPAWN_CMD', "start-singleuser.sh --SingleUserNotebookApp.default_url=/lab")
c.DockerSpawner.extra_create_kwargs.update({ 'command': spawn_cmd })
network_name = 'bridge'
c.DockerSpawner.use_internal_ip = True
c.DockerSpawner.network_name = network_name
c.DockerSpawner.extra_host_config = {
    'network_mode': network_name,
    'mem_limit': '300m',
    'memswap_limit': '300m',
    'mem_swappiness': 0
}

c.DockerSpawner.pre_spawn_hook = create_dir_hook


notebook_dir = os.environ.get('DOCKER_NOTEBOOK_DIR') or '/home/jovyan'
c.DockerSpawner.notebook_dir = notebook_dir
host_dir = '/opt/jupyterhub/user_volumes/{username}'
c.DockerSpawner.volumes = { host_dir: notebook_dir }
c.DockerSpawner.remove_containers = True
c.DockerSpawner.debug = True

c.JupyterHub.hub_ip = '192.168.50.163'
c.JupyterHub.hub_port = 8080

c.Authenticator.whitelist = whitelist = set()
c.Authenticator.admin_users = admin = set()
c.JupyterHub.admin_access = True
pwd = os.path.dirname(__file__)
with open('/opt/jupyterhub/etc/jupyterhub/userlist') as f:
    for line in f:
        if not line:
            continue
        parts = line.split()
        if len(parts) >= 1:
            name = parts[0]
            whitelist.add(name)
            if len(parts) > 1 and parts[1] == 'admin':
                admin.add(name)


c.JupyterHub.services = [
    {
        'name': 'idle-culler',
        'admin': True,
        'command': [
            sys.executable,
            '-m', 'jupyterhub_idle_culler',
            '--timeout=3600'
        ],
    }
]

My Nginx site:;

server {
    server_name         jupyter.my_site.com;

    location / {
          proxy_set_header        Host $host;
          proxy_set_header        X-Real-IP $remote_addr;
          proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header        X-Forwarded-Proto $scheme;

          proxy_pass              http://localhost:8000/;

          proxy_read_timeout      600s;
          proxy_send_timeout      600s;

        }

    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/jupyter.my_site.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/jupyter.my_site.com/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
    if ($host = jupyter.my_site.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


    listen              80;
    server_name         jupyter.my_site.com;
    return 404; # managed by Certbot

}

Logs aren't usefull at all:

User docker logs ``` root#docker logs jupyter-raikoug Executing the command: jupyterhub-singleuser --ip=0.0.0.0 --SingleUserNotebookApp.default_url=/lab [W 2020-11-09 11:22:48.507 SingleUserNotebookApp configurable:190] Config option `open_browser` not recognized by `SingleUserNotebookApp`. Did you mean `browser`? [I 2020-11-09 11:22:49.211 SingleUserNotebookApp extension:162] JupyterLab extension loaded from /opt/conda/lib/python3.8/site-packages/jupyterlab [I 2020-11-09 11:22:49.211 SingleUserNotebookApp extension:163] JupyterLab application directory is /opt/conda/share/jupyter/lab [I 2020-11-09 11:22:49.215 SingleUserNotebookApp mixins:558] Starting jupyterhub-singleuser server version 1.2.1 [I 2020-11-09 11:22:49.218 SingleUserNotebookApp log:181] 302 GET /user/raikoug/ -> /user/raikoug/lab? (@172.17.0.1) 1.68ms [I 2020-11-09 11:22:49.222 SingleUserNotebookApp notebookapp:2209] Serving notebooks from local directory: /home/jovyan [I 2020-11-09 11:22:49.222 SingleUserNotebookApp notebookapp:2209] Jupyter Notebook 6.1.4 is running at: [I 2020-11-09 11:22:49.222 SingleUserNotebookApp notebookapp:2209] http://ee0fea2ebb8d:8888/user/raikoug/ [I 2020-11-09 11:22:49.222 SingleUserNotebookApp notebookapp:2210] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [I 2020-11-09 11:22:49.227 SingleUserNotebookApp mixins:538] Updating Hub with activity every 300 seconds [I 2020-11-09 11:22:49.268 SingleUserNotebookApp log:181] 302 GET /user/raikoug/ -> /user/raikoug/lab? (@192.168.50.1) 0.94ms [I 2020-11-09 11:22:49.278 SingleUserNotebookApp log:181] 302 GET /user/raikoug/lab -> /hub/api/oauth2/authorize?client_id=jupyterhub-user-raikoug&redirect_uri=%2Fuser%2Fraikoug%2Foauth_callback&response_type=code&state=[secret] (@192.168.50.1) 2.89ms [I 2020-11-09 11:22:49.378 SingleUserNotebookApp auth:985] Logged-in user {'kind': 'user', 'name': 'raikoug', 'admin': True, 'groups': [], 'server': '/user/raikoug/', 'pending': None, 'created': '2020-09-04T06:37:38.345399Z', 'last_activity': '2020-11-09T11:22:49.366733Z', 'servers': None} [I 2020-11-09 11:22:49.381 SingleUserNotebookApp log:181] 302 GET /user/raikoug/oauth_callback?code=[secret]&state=[secret] -> /user/raikoug/lab (@192.168.50.1) 69.15ms [I 2020-11-09 11:22:49.405 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab (raikoug@192.168.50.1) 15.24ms [I 2020-11-09 11:22:49.797 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604920969932 (raikoug@192.168.50.1) 29.75ms [I 2020-11-09 11:22:49.837 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/settings?1604920969935 (raikoug@192.168.50.1) 37.82ms [I 2020-11-09 11:22:49.839 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604920969955 (raikoug@192.168.50.1) 36.19ms [I 2020-11-09 11:22:49.840 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604920969956 (raikoug@192.168.50.1) 35.36ms [I 2020-11-09 11:22:49.841 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604920969956 (raikoug@192.168.50.1) 34.01ms [I 2020-11-09 11:22:49.844 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604920969985 (raikoug@192.168.50.1) 1.91ms [I 2020-11-09 11:22:49.945 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604920970095 (raikoug@192.168.50.1) 16.57ms [I 2020-11-09 11:22:50.603 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/nbconvert?1604920970164 (raikoug@192.168.50.1) 603.37ms [I 2020-11-09 11:22:51.032 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/nbconvert?1604920970179 (raikoug@192.168.50.1) 427.01ms [I 2020-11-09 11:22:51.034 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/listings/@jupyterlab/extensionmanager-extension/listings.json?1604920970311 (raikoug@192.168.50.1) 426.42ms [I 2020-11-09 11:22:51.035 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/workspaces/lab?1604920970326 (raikoug@192.168.50.1) 426.68ms [I 2020-11-09 11:22:51.037 SingleUserNotebookApp build_handler:47] Build is up to date [I 2020-11-09 11:22:51.039 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/settings/@jupyterlab/docmanager-extension:plugin?1604920970359 (raikoug@192.168.50.1) 2.64ms [I 2020-11-09 11:22:51.040 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/build?1604920970153 (raikoug@192.168.50.1) 1052.75ms [I 2020-11-09 11:22:51.618 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604920971733 (raikoug@192.168.50.1) 3.57ms [W 2020-11-09 11:22:51.669 SingleUserNotebookApp log:181] 404 GET /user/raikoug/terminals/websocket/1 (raikoug@192.168.50.1) 29.84ms [I 2020-11-09 11:22:51.704 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/settings?1604920971840 (raikoug@192.168.50.1) 32.84ms [I 2020-11-09 11:22:51.710 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604920971843 (raikoug@192.168.50.1) 4.27ms [I 2020-11-09 11:22:51.711 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604920971844 (raikoug@192.168.50.1) 4.40ms [I 2020-11-09 11:22:52.294 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604920972458 (raikoug@192.168.50.1) 1.99ms [I 2020-11-09 11:22:53.580 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/extensions?1604920971231 (raikoug@192.168.50.1) 2518.03ms [I 2020-11-09 11:22:53.581 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/extensions?1604920972232 (raikoug@192.168.50.1) 1515.21ms [I 2020-11-09 11:22:53.776 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604920973918 (raikoug@192.168.50.1) 23.15ms [I 2020-11-09 11:22:54.235 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604920974397 (raikoug@192.168.50.1) 3.72ms [I 2020-11-09 11:22:54.287 SingleUserNotebookApp kernelmanager:179] Kernel started: ed0b4c30-e8a6-497a-939b-a9a82eeb9e51, name: python3 [I 2020-11-09 11:22:54.289 SingleUserNotebookApp log:181] 201 POST /user/raikoug/api/sessions?1604920974414 (raikoug@192.168.50.1) 42.45ms [I 2020-11-09 11:22:54.302 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604920974469 (raikoug@192.168.50.1) 1.78ms [I 2020-11-09 11:22:54.314 SingleUserNotebookApp log:181] 200 PATCH /user/raikoug/api/sessions/22d63ff8-e48a-40f1-8400-f8350297b5e4?1604920974481 (raikoug@192.168.50.1) 2.00ms [I 2020-11-09 11:22:54.320 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604920974486 (raikoug@192.168.50.1) 1.29ms [I 2020-11-09 11:22:54.326 SingleUserNotebookApp log:181] 200 PATCH /user/raikoug/api/sessions/22d63ff8-e48a-40f1-8400-f8350297b5e4?1604920974493 (raikoug@192.168.50.1) 1.82ms [I 2020-11-09 11:22:54.335 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604920974502 (raikoug@192.168.50.1) 1.48ms [I 2020-11-09 11:22:54.736 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604920974902 (raikoug@192.168.50.1) 1.66ms [W 2020-11-09 11:22:54.800 SingleUserNotebookApp log:181] 400 GET /user/raikoug/api/kernels/ed0b4c30-e8a6-497a-939b-a9a82eeb9e51/channels?session_id=a94e0fd4-b191-4295-bd3d-edeef1a614d2 (raikoug@192.168.50.1) 485.02ms [W 2020-11-09 11:22:54.826 SingleUserNotebookApp log:181] 400 GET /user/raikoug/api/kernels/ed0b4c30-e8a6-497a-939b-a9a82eeb9e51/channels?session_id=9de24ec6-f6a7-4869-9c53-71d0258112fb (raikoug@192.168.50.1) 6.01ms [W 2020-11-09 11:22:54.853 SingleUserNotebookApp log:181] 400 GET /user/raikoug/api/kernels/ed0b4c30-e8a6-497a-939b-a9a82eeb9e51/channels?session_id=4340c997-a154-47c1-8616-07edcac4c9aa (raikoug@192.168.50.1) 5.94ms [W 2020-11-09 11:22:54.880 SingleUserNotebookApp handlers:252] Replacing stale connection: ed0b4c30-e8a6-497a-939b-a9a82eeb9e51:a94e0fd4-b191-4295-bd3d-edeef1a614d2 [I 2020-11-09 11:22:57.706 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604920977870 (raikoug@192.168.50.1) 1.39ms [I 2020-11-09 11:22:57.709 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604920977869 (raikoug@192.168.50.1) 1.52ms [I 2020-11-09 11:22:58.246 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604920978405 (raikoug@192.168.50.1) 5.16ms [I 2020-11-09 11:22:59.179 SingleUserNotebookApp handlers:153] Creating new notebook in [I 2020-11-09 11:22:59.200 SingleUserNotebookApp log:181] 201 POST /user/raikoug/api/contents?1604920979338 (raikoug@192.168.50.1) 24.69ms [I 2020-11-09 11:22:59.213 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb?content=0&1604920979377 (raikoug@192.168.50.1) 3.50ms [I 2020-11-09 11:22:59.225 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604920979386 (raikoug@192.168.50.1) 5.10ms [I 2020-11-09 11:22:59.248 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb?type=notebook&content=1&1604920979404 (raikoug@192.168.50.1) 11.47ms [I 2020-11-09 11:22:59.302 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604920979465 (raikoug@192.168.50.1) 1.60ms [I 2020-11-09 11:22:59.305 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604920979464 (raikoug@192.168.50.1) 2.47ms [I 2020-11-09 11:22:59.307 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604920979470 (raikoug@192.168.50.1) 2.60ms [I 2020-11-09 11:22:59.341 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604920979503 (raikoug@192.168.50.1) 4.17ms [I 2020-11-09 11:22:59.384 SingleUserNotebookApp kernelmanager:179] Kernel started: 2658bd41-cfdb-4034-9912-127c000a059e, name: python3 [I 2020-11-09 11:22:59.387 SingleUserNotebookApp log:181] 201 POST /user/raikoug/api/sessions?1604920979519 (raikoug@192.168.50.1) 34.30ms [I 2020-11-09 11:22:59.398 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604920979563 (raikoug@192.168.50.1) 2.64ms [I 2020-11-09 11:22:59.410 SingleUserNotebookApp log:181] 200 PATCH /user/raikoug/api/sessions/e4e5ea4f-34d4-4628-97f1-79659ebd7fcc?1604920979576 (raikoug@192.168.50.1) 1.97ms [I 2020-11-09 11:22:59.412 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604920979577 (raikoug@192.168.50.1) 1.44ms [I 2020-11-09 11:22:59.419 SingleUserNotebookApp log:181] 200 PATCH /user/raikoug/api/sessions/e4e5ea4f-34d4-4628-97f1-79659ebd7fcc?1604920979586 (raikoug@192.168.50.1) 1.75ms [I 2020-11-09 11:22:59.428 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604920979595 (raikoug@192.168.50.1) 2.14ms [I 2020-11-09 11:22:59.437 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604920979603 (raikoug@192.168.50.1) 1.99ms [I 2020-11-09 11:22:59.785 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604920979951 (raikoug@192.168.50.1) 1.63ms [I 2020-11-09 11:23:00.329 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604920980482 (raikoug@192.168.50.1) 11.53ms [I 2020-11-09 11:23:01.732 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604920981894 (raikoug@192.168.50.1) 3.64ms [I 2020-11-09 11:23:02.464 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604920982624 (raikoug@192.168.50.1) 4.68ms [I 2020-11-09 11:23:09.428 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604920989588 (raikoug@192.168.50.1) 3.99ms [I 2020-11-09 11:23:09.450 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604920989615 (raikoug@192.168.50.1) 2.59ms [I 2020-11-09 11:23:11.746 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604920991909 (raikoug@192.168.50.1) 3.37ms [I 2020-11-09 11:23:12.468 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604920992623 (raikoug@192.168.50.1) 10.71ms [I 2020-11-09 11:23:12.479 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604920992642 (raikoug@192.168.50.1) 2.93ms [I 2020-11-09 11:24:59.609 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb?content=0&1604921099747 (raikoug@192.168.50.1) 4.34ms [I 2020-11-09 11:24:59.618 SingleUserNotebookApp handlers:164] Saving file at /Untitled1.ipynb [I 2020-11-09 11:24:59.635 SingleUserNotebookApp log:181] 200 PUT /user/raikoug/api/contents/Untitled1.ipynb?1604921099788 (raikoug@192.168.50.1) 17.97ms [I 2020-11-09 11:24:59.647 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604921099815 (raikoug@192.168.50.1) 2.49ms [I 2020-11-09 11:25:34.646 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604921134809 (raikoug@192.168.50.1) 4.72ms [I 2020-11-09 11:26:00.580 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604921160738 (raikoug@192.168.50.1) 9.46ms [I 2020-11-09 11:26:01.070 SingleUserNotebookApp log:181] 302 GET /user/raikoug/logout -> /hub/logout (raikoug@192.168.50.1) 3.84ms [I 2020-11-09 11:26:29.641 SingleUserNotebookApp log:181] 302 GET /user/raikoug/ -> /user/raikoug/lab? (@::ffff:192.168.50.71) 0.79ms [I 2020-11-09 11:26:29.650 SingleUserNotebookApp log:181] 302 GET /user/raikoug/lab? -> /hub/api/oauth2/authorize?client_id=jupyterhub-user-raikoug&redirect_uri=%2Fuser%2Fraikoug%2Foauth_callback&response_type=code&state=[secret] (@::ffff:192.168.50.71) 2.29ms [I 2020-11-09 11:26:29.749 SingleUserNotebookApp auth:985] Logged-in user {'kind': 'user', 'name': 'raikoug', 'admin': True, 'groups': [], 'server': '/user/raikoug/', 'pending': None, 'created': '2020-09-04T06:37:38.345399Z', 'last_activity': '2020-11-09T11:26:29.739969Z', 'servers': None} [I 2020-11-09 11:26:29.752 SingleUserNotebookApp log:181] 302 GET /user/raikoug/oauth_callback?code=[secret]&state=[secret] -> /user/raikoug/lab? (@::ffff:192.168.50.71) 64.39ms [I 2020-11-09 11:26:29.775 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab? (raikoug@::ffff:192.168.50.71) 15.44ms [I 2020-11-09 11:26:30.136 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604921190261 (raikoug@::ffff:192.168.50.71) 43.39ms [I 2020-11-09 11:26:30.176 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/settings?1604921190264 (raikoug@::ffff:192.168.50.71) 37.17ms [I 2020-11-09 11:26:30.177 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604921190283 (raikoug@::ffff:192.168.50.71) 36.25ms [I 2020-11-09 11:26:30.178 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604921190284 (raikoug@::ffff:192.168.50.71) 35.52ms [I 2020-11-09 11:26:30.178 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604921190284 (raikoug@::ffff:192.168.50.71) 34.58ms [I 2020-11-09 11:26:30.182 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604921190334 (raikoug@::ffff:192.168.50.71) 1.89ms [I 2020-11-09 11:26:30.296 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604921190435 (raikoug@::ffff:192.168.50.71) 28.12ms [I 2020-11-09 11:26:30.939 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/nbconvert?1604921190543 (raikoug@::ffff:192.168.50.71) 557.77ms [I 2020-11-09 11:26:31.367 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/nbconvert?1604921190558 (raikoug@::ffff:192.168.50.71) 425.68ms [I 2020-11-09 11:26:31.369 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/listings/@jupyterlab/extensionmanager-extension/listings.json?1604921190649 (raikoug@::ffff:192.168.50.71) 425.76ms [I 2020-11-09 11:26:31.370 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/workspaces/lab?1604921190664 (raikoug@::ffff:192.168.50.71) 426.01ms [I 2020-11-09 11:26:31.372 SingleUserNotebookApp build_handler:47] Build is up to date [I 2020-11-09 11:26:31.374 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/settings/@jupyterlab/docmanager-extension:plugin?1604921190700 (raikoug@::ffff:192.168.50.71) 2.72ms [I 2020-11-09 11:26:31.375 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/build?1604921190533 (raikoug@::ffff:192.168.50.71) 1009.88ms [I 2020-11-09 11:26:31.561 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/extensions?1604921191562 (raikoug@::ffff:192.168.50.71) 169.26ms [I 2020-11-09 11:26:31.563 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb?content=0&1604921191565 (raikoug@::ffff:192.168.50.71) 1.54ms [I 2020-11-09 11:26:31.684 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/settings?1604921191809 (raikoug@::ffff:192.168.50.71) 44.48ms [I 2020-11-09 11:26:31.698 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb?type=notebook&content=1&1604921191811 (raikoug@::ffff:192.168.50.71) 13.26ms [I 2020-11-09 11:26:31.703 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604921191824 (raikoug@::ffff:192.168.50.71) 17.32ms [I 2020-11-09 11:26:31.729 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604921191894 (raikoug@::ffff:192.168.50.71) 4.02ms [I 2020-11-09 11:26:31.736 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604921191895 (raikoug@::ffff:192.168.50.71) 4.12ms [I 2020-11-09 11:26:31.741 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604921191902 (raikoug@::ffff:192.168.50.71) 3.68ms [I 2020-11-09 11:26:31.769 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604921191936 (raikoug@::ffff:192.168.50.71) 2.67ms [I 2020-11-09 11:26:31.786 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604921191949 (raikoug@::ffff:192.168.50.71) 3.75ms [I 2020-11-09 11:26:31.792 SingleUserNotebookApp log:181] 101 GET /user/raikoug/api/kernels/2658bd41-cfdb-4034-9912-127c000a059e/channels?session_id=651dd8c5-7c13-44b2-9f48-3939315dcc28 (raikoug@::ffff:192.168.50.71) 15.83ms [I 2020-11-09 11:26:32.163 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604921192327 (raikoug@::ffff:192.168.50.71) 4.56ms [I 2020-11-09 11:26:32.194 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604921192356 (raikoug@::ffff:192.168.50.71) 6.46ms [I 2020-11-09 11:26:32.564 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/extensions?1604921192564 (raikoug@::ffff:192.168.50.71) 167.30ms [I 2020-11-09 11:26:33.752 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604921193910 (raikoug@::ffff:192.168.50.71) 10.27ms [I 2020-11-09 11:26:33.856 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604921194022 (raikoug@::ffff:192.168.50.71) 3.17ms [I 2020-11-09 11:28:32.583 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb?content=0&1604921312748 (raikoug@::ffff:192.168.50.71) 2.66ms [I 2020-11-09 11:28:32.591 SingleUserNotebookApp handlers:164] Saving file at /Untitled1.ipynb [I 2020-11-09 11:28:32.617 SingleUserNotebookApp log:181] 200 PUT /user/raikoug/api/contents/Untitled1.ipynb?1604921312764 (raikoug@::ffff:192.168.50.71) 27.01ms [I 2020-11-09 11:28:32.632 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604921312799 (raikoug@::ffff:192.168.50.71) 4.59ms [I 2020-11-09 11:35:03.101 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604921703241 (raikoug@::ffff:192.168.50.71) 34.13ms [I 2020-11-09 11:35:05.568 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604921705739 (raikoug@::ffff:192.168.50.71) 4.27ms [I 2020-11-09 11:35:05.570 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604921705738 (raikoug@::ffff:192.168.50.71) 1.33ms [I 2020-11-09 11:35:06.573 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604921706738 (raikoug@::ffff:192.168.50.71) 11.46ms [I 2020-11-09 11:35:07.565 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604921707738 (raikoug@::ffff:192.168.50.71) 4.04ms [I 2020-11-09 11:35:13.121 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604921713290 (raikoug@::ffff:192.168.50.71) 4.96ms [I 2020-11-09 11:35:15.583 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604921715757 (raikoug@::ffff:192.168.50.71) 1.34ms [I 2020-11-09 11:35:15.584 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604921715756 (raikoug@::ffff:192.168.50.71) 1.15ms [I 2020-11-09 11:35:17.579 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604921717752 (raikoug@::ffff:192.168.50.71) 3.80ms [I 2020-11-09 11:35:21.331 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604921721495 (raikoug@::ffff:192.168.50.71) 10.88ms [I 2020-11-09 11:35:23.137 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604921723309 (raikoug@::ffff:192.168.50.71) 4.36ms [I 2020-11-09 11:35:25.595 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604921725771 (raikoug@::ffff:192.168.50.71) 1.22ms [I 2020-11-09 11:35:25.597 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604921725770 (raikoug@::ffff:192.168.50.71) 1.42ms [I 2020-11-09 11:35:27.593 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604921727766 (raikoug@::ffff:192.168.50.71) 3.94ms [I 2020-11-09 11:35:33.153 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604921733324 (raikoug@::ffff:192.168.50.71) 4.80ms [I 2020-11-09 11:35:35.609 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604921735783 (raikoug@::ffff:192.168.50.71) 1.29ms [I 2020-11-09 11:35:35.611 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604921735782 (raikoug@::ffff:192.168.50.71) 1.26ms [I 2020-11-09 11:35:37.608 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604921737780 (raikoug@::ffff:192.168.50.71) 4.24ms [I 2020-11-09 11:35:38.328 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604921738495 (raikoug@::ffff:192.168.50.71) 8.97ms [I 2020-11-09 11:36:54.311 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604921814463 (raikoug@::ffff:192.168.50.71) 3.75ms [I 2020-11-09 11:43:06.092 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922186253 (raikoug@::ffff:192.168.50.71) 15.34ms [I 2020-11-09 11:43:06.095 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922186251 (raikoug@::ffff:192.168.50.71) 1.99ms [I 2020-11-09 11:43:06.095 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604922186252 (raikoug@::ffff:192.168.50.71) 1.98ms [I 2020-11-09 11:43:06.567 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922186738 (raikoug@::ffff:192.168.50.71) 11.14ms [I 2020-11-09 11:43:08.725 SingleUserNotebookApp log:181] 302 GET /user/raikoug/logout -> /hub/logout (raikoug@::ffff:192.168.50.71) 3.68ms [I 2020-11-09 11:43:08.992 SingleUserNotebookApp kernelmanager:222] Starting buffering for 2658bd41-cfdb-4034-9912-127c000a059e:651dd8c5-7c13-44b2-9f48-3939315dcc28 [I 2020-11-09 11:44:03.293 SingleUserNotebookApp log:181] 302 GET /user/raikoug/ -> /user/raikoug/lab? (@192.168.50.1) 1.51ms [I 2020-11-09 11:44:03.308 SingleUserNotebookApp log:181] 302 GET /user/raikoug/lab -> /hub/api/oauth2/authorize?client_id=jupyterhub-user-raikoug&redirect_uri=%2Fuser%2Fraikoug%2Foauth_callback&response_type=code&state=[secret] (@192.168.50.1) 4.15ms [I 2020-11-09 11:44:03.441 SingleUserNotebookApp auth:985] Logged-in user {'kind': 'user', 'name': 'raikoug', 'admin': True, 'groups': [], 'server': '/user/raikoug/', 'pending': None, 'created': '2020-09-04T06:37:38.345399Z', 'last_activity': '2020-11-09T11:44:03.430934Z', 'servers': None} [I 2020-11-09 11:44:03.442 SingleUserNotebookApp log:181] 302 GET /user/raikoug/oauth_callback?code=[secret]&state=[secret] -> /user/raikoug/lab (@192.168.50.1) 72.48ms [I 2020-11-09 11:44:03.457 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab (raikoug@192.168.50.1) 7.46ms [I 2020-11-09 11:44:03.828 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604922243985 (raikoug@192.168.50.1) 23.91ms [I 2020-11-09 11:44:03.871 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/settings?1604922243988 (raikoug@192.168.50.1) 41.09ms [I 2020-11-09 11:44:03.876 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922244008 (raikoug@192.168.50.1) 3.49ms [I 2020-11-09 11:44:03.877 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922244009 (raikoug@192.168.50.1) 3.66ms [I 2020-11-09 11:44:03.878 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604922244011 (raikoug@192.168.50.1) 3.69ms [I 2020-11-09 11:44:03.880 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604922244045 (raikoug@192.168.50.1) 4.49ms [I 2020-11-09 11:44:03.995 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922244148 (raikoug@192.168.50.1) 29.43ms [I 2020-11-09 11:44:04.594 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/nbconvert?1604922244238 (raikoug@192.168.50.1) 536.02ms [I 2020-11-09 11:44:05.018 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/nbconvert?1604922244253 (raikoug@192.168.50.1) 422.79ms [I 2020-11-09 11:44:05.020 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/listings/@jupyterlab/extensionmanager-extension/listings.json?1604922244361 (raikoug@192.168.50.1) 422.53ms [I 2020-11-09 11:44:05.021 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/workspaces/lab?1604922244376 (raikoug@192.168.50.1) 422.69ms [I 2020-11-09 11:44:05.023 SingleUserNotebookApp build_handler:47] Build is up to date [I 2020-11-09 11:44:05.025 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/settings/@jupyterlab/docmanager-extension:plugin?1604922244417 (raikoug@192.168.50.1) 3.25ms [I 2020-11-09 11:44:05.026 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/build?1604922244228 (raikoug@192.168.50.1) 981.70ms [I 2020-11-09 11:44:05.037 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922244506 (raikoug@192.168.50.1) 9.95ms [I 2020-11-09 11:44:05.206 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/extensions?1604922245221 (raikoug@192.168.50.1) 167.96ms [I 2020-11-09 11:44:05.207 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb?content=0&1604922245223 (raikoug@192.168.50.1) 168.58ms [I 2020-11-09 11:44:05.333 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/settings?1604922245478 (raikoug@192.168.50.1) 39.61ms [I 2020-11-09 11:44:05.344 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb?type=notebook&content=1&1604922245480 (raikoug@192.168.50.1) 10.09ms [I 2020-11-09 11:44:05.346 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922245492 (raikoug@192.168.50.1) 11.05ms [I 2020-11-09 11:44:05.373 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604922245557 (raikoug@192.168.50.1) 1.52ms [I 2020-11-09 11:44:05.375 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604922245557 (raikoug@192.168.50.1) 1.64ms [I 2020-11-09 11:44:05.384 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604922245569 (raikoug@192.168.50.1) 1.45ms [I 2020-11-09 11:44:05.411 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922245594 (raikoug@192.168.50.1) 2.08ms [I 2020-11-09 11:44:05.428 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604922245606 (raikoug@192.168.50.1) 5.23ms [W 2020-11-09 11:44:05.435 SingleUserNotebookApp log:181] 400 GET /user/raikoug/api/kernels/2658bd41-cfdb-4034-9912-127c000a059e/channels?session_id=e1b1a40e-3fa5-4a20-805f-c9e33f591ea2 (raikoug@192.168.50.1) 5.73ms [W 2020-11-09 11:44:05.460 SingleUserNotebookApp handlers:252] Replacing stale connection: 2658bd41-cfdb-4034-9912-127c000a059e:e1b1a40e-3fa5-4a20-805f-c9e33f591ea2 [I 2020-11-09 11:44:05.813 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604922245994 (raikoug@192.168.50.1) 2.44ms [I 2020-11-09 11:44:05.833 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922246015 (raikoug@192.168.50.1) 3.74ms [I 2020-11-09 11:44:06.231 SingleUserNotebookApp log:181] 200 GET /user/raikoug/lab/api/extensions?1604922246222 (raikoug@192.168.50.1) 190.25ms [I 2020-11-09 11:44:08.794 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922248973 (raikoug@192.168.50.1) 2.45ms [I 2020-11-09 11:44:09.951 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922250123 (raikoug@192.168.50.1) 9.84ms [I 2020-11-09 11:44:13.974 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922254153 (raikoug@192.168.50.1) 1.42ms [I 2020-11-09 11:44:13.975 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604922254154 (raikoug@192.168.50.1) 1.24ms [I 2020-11-09 11:44:15.429 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922255609 (raikoug@192.168.50.1) 1.53ms [I 2020-11-09 11:44:18.810 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922258990 (raikoug@192.168.50.1) 3.00ms [I 2020-11-09 11:44:19.263 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922259436 (raikoug@192.168.50.1) 8.99ms [I 2020-11-09 11:46:05.573 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb?content=0&1604922365748 (raikoug@192.168.50.1) 2.24ms [I 2020-11-09 11:46:05.583 SingleUserNotebookApp handlers:164] Saving file at /Untitled1.ipynb [I 2020-11-09 11:46:05.606 SingleUserNotebookApp log:181] 200 PUT /user/raikoug/api/contents/Untitled1.ipynb?1604922365770 (raikoug@192.168.50.1) 23.50ms [I 2020-11-09 11:46:05.620 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled1.ipynb/checkpoints?1604922365802 (raikoug@192.168.50.1) 3.92ms [W 2020-11-09 11:48:06.558 SingleUserNotebookApp handlers:252] Replacing stale connection: 2658bd41-cfdb-4034-9912-127c000a059e:e1b1a40e-3fa5-4a20-805f-c9e33f591ea2 [I 2020-11-09 11:51:42.116 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922702262 (raikoug@192.168.50.1) 35.07ms [I 2020-11-09 11:51:43.555 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604922703738 (raikoug@192.168.50.1) 3.54ms [I 2020-11-09 11:51:43.558 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922703739 (raikoug@192.168.50.1) 2.09ms [I 2020-11-09 11:51:43.559 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922703739 (raikoug@192.168.50.1) 2.46ms [I 2020-11-09 11:51:44.559 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922704738 (raikoug@192.168.50.1) 9.44ms [I 2020-11-09 11:51:45.203 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922705387 (raikoug@192.168.50.1) 4.26ms [I 2020-11-09 11:51:45.209 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922705386 (raikoug@192.168.50.1) 4.73ms [I 2020-11-09 11:51:45.748 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604922705934 (raikoug@192.168.50.1) 1.71ms [I 2020-11-09 11:51:49.931 SingleUserNotebookApp handlers:153] Creating new notebook in [I 2020-11-09 11:51:49.947 SingleUserNotebookApp log:181] 201 POST /user/raikoug/api/contents?1604922710118 (raikoug@192.168.50.1) 17.51ms [I 2020-11-09 11:51:49.960 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled2.ipynb?content=0&1604922710148 (raikoug@192.168.50.1) 3.66ms [I 2020-11-09 11:51:49.997 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled2.ipynb?type=notebook&content=1&1604922710175 (raikoug@192.168.50.1) 12.85ms [I 2020-11-09 11:51:50.007 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922710187 (raikoug@192.168.50.1) 6.89ms [I 2020-11-09 11:51:50.049 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled2.ipynb/checkpoints?1604922710229 (raikoug@192.168.50.1) 5.56ms [I 2020-11-09 11:51:50.057 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled2.ipynb/checkpoints?1604922710229 (raikoug@192.168.50.1) 5.67ms [I 2020-11-09 11:51:50.063 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled2.ipynb/checkpoints?1604922710234 (raikoug@192.168.50.1) 4.22ms [I 2020-11-09 11:51:50.088 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922710277 (raikoug@192.168.50.1) 2.33ms [I 2020-11-09 11:51:50.529 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604922710716 (raikoug@192.168.50.1) 2.08ms [I 2020-11-09 11:51:51.725 SingleUserNotebookApp kernelmanager:179] Kernel started: 84959d43-51ec-4a04-a435-002d6fa59967, name: python3 [I 2020-11-09 11:51:51.727 SingleUserNotebookApp log:181] 201 POST /user/raikoug/api/sessions?1604922711903 (raikoug@192.168.50.1) 12.35ms [I 2020-11-09 11:51:51.753 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922711944 (raikoug@192.168.50.1) 1.88ms [I 2020-11-09 11:51:51.765 SingleUserNotebookApp log:181] 200 PATCH /user/raikoug/api/sessions/9a508bb7-aaef-4024-a509-c66e02d75d2e?1604922711956 (raikoug@192.168.50.1) 2.37ms [I 2020-11-09 11:51:51.771 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922711961 (raikoug@192.168.50.1) 1.54ms [I 2020-11-09 11:51:51.775 SingleUserNotebookApp log:181] 200 PATCH /user/raikoug/api/sessions/9a508bb7-aaef-4024-a509-c66e02d75d2e?1604922711965 (raikoug@192.168.50.1) 1.91ms [I 2020-11-09 11:51:51.783 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604922711975 (raikoug@192.168.50.1) 2.29ms [I 2020-11-09 11:51:51.786 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922711978 (raikoug@192.168.50.1) 1.56ms [W 2020-11-09 11:51:52.254 SingleUserNotebookApp log:181] 400 GET /user/raikoug/api/kernels/84959d43-51ec-4a04-a435-002d6fa59967/channels?session_id=7d5123b8-0619-4b07-beef-1ed7ec6f2f35 (raikoug@192.168.50.1) 488.48ms [W 2020-11-09 11:51:52.283 SingleUserNotebookApp log:181] 400 GET /user/raikoug/api/kernels/84959d43-51ec-4a04-a435-002d6fa59967/channels?session_id=ce778813-533e-4cc2-ab96-9be9516821e7 (raikoug@192.168.50.1) 6.59ms [W 2020-11-09 11:51:52.314 SingleUserNotebookApp log:181] 400 GET /user/raikoug/api/kernels/84959d43-51ec-4a04-a435-002d6fa59967/channels?session_id=ffc7ca14-262a-4b27-8f91-3729e4bd80a1 (raikoug@192.168.50.1) 7.41ms [W 2020-11-09 11:51:52.341 SingleUserNotebookApp handlers:252] Replacing stale connection: 84959d43-51ec-4a04-a435-002d6fa59967:7d5123b8-0619-4b07-beef-1ed7ec6f2f35 [I 2020-11-09 11:51:52.976 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922713155 (raikoug@192.168.50.1) 9.66ms [I 2020-11-09 11:51:53.569 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604922713757 (raikoug@192.168.50.1) 1.54ms [I 2020-11-09 11:52:11.248 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922731432 (raikoug@192.168.50.1) 2.35ms [I 2020-11-09 11:52:12.551 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922732738 (raikoug@192.168.50.1) 1.66ms [I 2020-11-09 11:52:12.554 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922732737 (raikoug@192.168.50.1) 1.52ms [I 2020-11-09 11:52:14.551 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604922734738 (raikoug@192.168.50.1) 2.19ms [I 2020-11-09 11:52:14.697 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922734855 (raikoug@192.168.50.1) 31.09ms [I 2020-11-09 11:52:14.761 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922734946 (raikoug@192.168.50.1) 6.61ms [I 2020-11-09 11:52:16.553 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604922736739 (raikoug@192.168.50.1) 2.99ms [I 2020-11-09 11:52:22.568 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922742755 (raikoug@192.168.50.1) 1.43ms [I 2020-11-09 11:52:22.570 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922742754 (raikoug@192.168.50.1) 1.57ms [I 2020-11-09 11:52:24.567 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604922744753 (raikoug@192.168.50.1) 3.69ms [I 2020-11-09 11:52:24.776 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922744963 (raikoug@192.168.50.1) 2.53ms [I 2020-11-09 11:52:32.584 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922752771 (raikoug@192.168.50.1) 1.68ms [I 2020-11-09 11:52:32.586 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922752770 (raikoug@192.168.50.1) 1.33ms [I 2020-11-09 11:52:34.582 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604922754769 (raikoug@192.168.50.1) 1.54ms [I 2020-11-09 11:52:34.799 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922754979 (raikoug@192.168.50.1) 8.75ms [I 2020-11-09 11:52:58.557 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922778737 (raikoug@192.168.50.1) 8.74ms [I 2020-11-09 11:52:58.875 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604922779058 (raikoug@192.168.50.1) 3.37ms [I 2020-11-09 11:52:59.957 SingleUserNotebookApp management:338] New terminal with automatic name: 1 [I 2020-11-09 11:52:59.959 SingleUserNotebookApp log:181] 200 POST /user/raikoug/api/terminals?1604922779463 (raikoug@192.168.50.1) 688.21ms [I 2020-11-09 11:52:59.974 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604922780166 (raikoug@192.168.50.1) 1.53ms [I 2020-11-09 11:53:00.544 SingleUserNotebookApp log:181] 204 PUT /user/raikoug/lab/api/workspaces/lab?1604922780731 (raikoug@192.168.50.1) 2.64ms [I 2020-11-09 11:53:03.551 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922783738 (raikoug@192.168.50.1) 1.51ms [I 2020-11-09 11:53:03.553 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922783737 (raikoug@192.168.50.1) 1.64ms [I 2020-11-09 11:53:05.558 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922785739 (raikoug@192.168.50.1) 8.14ms [I 2020-11-09 11:53:05.858 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922786019 (raikoug@192.168.50.1) 28.97ms [I 2020-11-09 11:53:09.995 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/terminals?1604922790183 (raikoug@192.168.50.1) 3.32ms [I 2020-11-09 11:53:13.568 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604922793754 (raikoug@192.168.50.1) 1.33ms [I 2020-11-09 11:53:13.570 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604922793755 (raikoug@192.168.50.1) 1.53ms [I 2020-11-09 11:53:15.574 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604922795761 (raikoug@192.168.50.1) 2.56ms [I 2020-11-09 11:53:16.878 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604922797058 (raikoug@192.168.50.1) 9.51ms [I 2020-11-09 11:53:17.578 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernelspecs?1604922797765 (raikoug@192.168.50.1) 2.45ms [I 2020-11-09 11:53:50.562 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled2.ipynb?content=0&1604922830748 (raikoug@192.168.50.1) 3.08ms [I 2020-11-09 11:53:50.570 SingleUserNotebookApp handlers:164] Saving file at /Untitled2.ipynb [I 2020-11-09 11:53:50.595 SingleUserNotebookApp log:181] 200 PUT /user/raikoug/api/contents/Untitled2.ipynb?1604922830764 (raikoug@192.168.50.1) 26.16ms [I 2020-11-09 11:53:50.615 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents/Untitled2.ipynb/checkpoints?1604922830798 (raikoug@192.168.50.1) 3.78ms [W 2020-11-09 11:55:52.277 SingleUserNotebookApp handlers:252] Replacing stale connection: 84959d43-51ec-4a04-a435-002d6fa59967:ce778813-533e-4cc2-ab96-9be9516821e7 [W 2020-11-09 11:55:52.313 SingleUserNotebookApp handlers:252] Replacing stale connection: 84959d43-51ec-4a04-a435-002d6fa59967:ffc7ca14-262a-4b27-8f91-3729e4bd80a1 [W 2020-11-09 11:55:52.340 SingleUserNotebookApp log:181] 400 GET /user/raikoug/terminals/websocket/1 (raikoug@192.168.50.1) 1.46ms [W 2020-11-09 11:55:52.557 SingleUserNotebookApp log:181] 400 GET /user/raikoug/terminals/websocket/1 (raikoug@192.168.50.1) 3.06ms [W 2020-11-09 11:55:52.580 SingleUserNotebookApp handlers:252] Replacing stale connection: 84959d43-51ec-4a04-a435-002d6fa59967:ffc7ca14-262a-4b27-8f91-3729e4bd80a1 [W 2020-11-09 11:59:52.609 SingleUserNotebookApp handlers:252] Replacing stale connection: 84959d43-51ec-4a04-a435-002d6fa59967:7d5123b8-0619-4b07-beef-1ed7ec6f2f35 [W 2020-11-09 11:59:54.685 SingleUserNotebookApp handlers:252] Replacing stale connection: 84959d43-51ec-4a04-a435-002d6fa59967:ffc7ca14-262a-4b27-8f91-3729e4bd80a1 [I 2020-11-09 12:00:19.242 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/contents?content=1&1604923219426 (raikoug@192.168.50.1) 4.61ms [I 2020-11-09 12:00:20.546 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/kernels?1604923220737 (raikoug@192.168.50.1) 3.82ms [I 2020-11-09 12:00:20.549 SingleUserNotebookApp log:181] 200 GET /user/raikoug/api/sessions?1604923220739 (raikoug@192.168.50.1) 1.45ms [I 2020-11-09 12:00:21.556 SingleUserNotebookApp log:181] 200 GET /user/raikoug/metrics?1604923221737 (raikoug@192.168.50.1) 11.59ms ```

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! ๐Ÿค—

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.
welcome
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! ๐Ÿ‘‹

Welcome to the Jupyter community! ๐ŸŽ‰

Hi ๐Ÿ‘‹ This sounds like a configuration problem rather than a bug. Do you mind posting this as a support question on https://discourse.jupyter.org/ instead? Thanks!

Hi there @raikoug ๐Ÿ‘‹!

I closed this issue because it was labelled as a support question.

Please help us organize discussion by posting this on the http://discourse.jupyter.org/ forum.

Our goal is to sustain a positive experience for both users and developers. We use GitHub issues for specific discussions related to changing a repository's content, and let the forum be where we can more generally help and inspire each other.

Thanks you for being an active member of our community! โค๏ธ

have to say sorry for stubborness.

I missed a piece in nginx

map $http_upgrade $connection_upgrade { default upgrade; โ€˜โ€™ close; }

For anyone with the same problem, use that function!

Sorry again.