I also have maybe a similar problem… If this is different I also could add a new topic:
I normally start my lab on a remote ubuntu machine (and norymally everything works fine, except for this ONE machine ):
(grid) user@machine:~$ jupyter lab --no-browser --ip=10.X.X.XXX --port=8945
[I 2022-02-14 13:06:02.164 ServerApp] jupyterlab | extension was successfully linked.
[I 2022-02-14 13:06:02.840 ServerApp] nbclassic | extension was successfully linked.
[I 2022-02-14 13:06:02.886 ServerApp] nbclassic | extension was successfully loaded.
[I 2022-02-14 13:06:02.887 LabApp] JupyterLab extension loaded from /opt/anaconda3/envs/grid/lib/python3.8/site-packages/jupyterlab
[I 2022-02-14 13:06:02.887 LabApp] JupyterLab application directory is /opt/anaconda3/envs/grid/share/jupyter/lab
[I 2022-02-14 13:06:02.890 ServerApp] jupyterlab | extension was successfully loaded.
[I 2022-02-14 13:06:02.890 ServerApp] Serving notebooks from local directory: /home/eouser
[I 2022-02-14 13:06:02.890 ServerApp] Jupyter Server 1.13.5 is running at:
[I 2022-02-14 13:06:02.890 ServerApp] http://10.X.X.XXX:8945/lab?token=aa51237a12a9c006cf4e1811bdd2f3560bb3b9b9ae0d9514
[I 2022-02-14 13:06:02.890 ServerApp] or http://127.0.0.1:8945/lab?token=aa51237a12a9c006cf4e1811bdd2f3560bb3b9b9ae0d9514
[I 2022-02-14 13:06:02.891 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2022-02-14 13:06:02.908 ServerApp]
To access the server, open this file in a browser:
file:///home/eouser/.local/share/jupyter/runtime/jpserver-8549-open.html
Or copy and paste one of these URLs:
http://10.X.X.XXX:8945/lab?token=aa51237a12a9c006cf4e1811bdd2f3560bb3b9b9ae0d9514
or http://127.0.0.1:8945/lab?token=aa51237a12a9c006cf4e1811bdd2f3560bb3b9b9ae0d9514
So, everything seems to be normal, but if I copy/paste the adress to browser, the lab is not loaded:
This is what --debug gives me:
(grid) user@machine:~$ jupyter lab --no-browser --ip=10.X.X.XXX --port=8945 --debug
[D 2022-02-14 13:15:10.579 ServerApp] Searching ['/home/eouser', '/home/eouser/.jupyter', '/home/eouser/.local/etc/jupyter', '/opt/anaconda3/envs/grid/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 2022-02-14 13:15:10.579 ServerApp] Looking for jupyter_config in /etc/jupyter
[D 2022-02-14 13:15:10.579 ServerApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 2022-02-14 13:15:10.579 ServerApp] Looking for jupyter_config in /opt/anaconda3/envs/grid/etc/jupyter
[D 2022-02-14 13:15:10.580 ServerApp] Looking for jupyter_config in /home/eouser/.local/etc/jupyter
[D 2022-02-14 13:15:10.580 ServerApp] Looking for jupyter_config in /home/eouser/.jupyter
[D 2022-02-14 13:15:10.580 ServerApp] Looking for jupyter_config in /home/eouser
[D 2022-02-14 13:15:10.580 ServerApp] Looking for jupyter_server_config in /etc/jupyter
[D 2022-02-14 13:15:10.581 ServerApp] Looking for jupyter_server_config in /usr/local/etc/jupyter
[D 2022-02-14 13:15:10.581 ServerApp] Looking for jupyter_server_config in /opt/anaconda3/envs/grid/etc/jupyter
[D 2022-02-14 13:15:10.581 ServerApp] Looking for jupyter_server_config in /home/eouser/.local/etc/jupyter
[D 2022-02-14 13:15:10.581 ServerApp] Looking for jupyter_server_config in /home/eouser/.jupyter
[D 2022-02-14 13:15:10.581 ServerApp] Looking for jupyter_server_config in /home/eouser
[D 2022-02-14 13:15:10.583 ServerApp] Paths used for configuration of jupyter_server_config:
/etc/jupyter/jupyter_server_config.json
[D 2022-02-14 13:15:10.583 ServerApp] Paths used for configuration of jupyter_server_config:
/usr/local/etc/jupyter/jupyter_server_config.json
[D 2022-02-14 13:15:10.583 ServerApp] Paths used for configuration of jupyter_server_config:
/opt/anaconda3/envs/grid/etc/jupyter/jupyter_server_config.d/jupyterlab.json
/opt/anaconda3/envs/grid/etc/jupyter/jupyter_server_config.d/nbclassic.json
/opt/anaconda3/envs/grid/etc/jupyter/jupyter_server_config.json
[D 2022-02-14 13:15:10.584 ServerApp] Paths used for configuration of jupyter_server_config:
/home/eouser/.local/etc/jupyter/jupyter_server_config.json
[D 2022-02-14 13:15:10.584 ServerApp] Paths used for configuration of jupyter_server_config:
/home/eouser/.jupyter/jupyter_server_config.json
[D 2022-02-14 13:15:10.597 LabApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'ip': '10.0.0.14', 'port': 8945, 'open_browser': False, 'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue {'update': {'nbclassic': True}}>}, 'ExtensionApp': {'open_browser': False, 'log_level': 'DEBUG'}}
[I 2022-02-14 13:15:10.598 ServerApp] jupyterlab | extension was successfully linked.
[D 2022-02-14 13:15:10.605 NotebookApp] Config changed: {'NotebookApp': {}, 'ServerApp': {'ip': '10.0.0.14', 'port': 8945, 'open_browser': False, 'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'jupyterlab': True, 'nbclassic': True}>}, 'ExtensionApp': {'open_browser': False, 'log_level': 'DEBUG'}}
[D 2022-02-14 13:15:10.751 ServerApp] Paths used for configuration of jupyter_notebook_config:
/home/eouser/.jupyter/jupyter_notebook_config.json
[D 2022-02-14 13:15:10.752 ServerApp] Paths used for configuration of jupyter_notebook_config:
/etc/jupyter/jupyter_notebook_config.json
[D 2022-02-14 13:15:10.752 ServerApp] Paths used for configuration of jupyter_notebook_config:
/usr/local/etc/jupyter/jupyter_notebook_config.json
[D 2022-02-14 13:15:10.753 ServerApp] Paths used for configuration of jupyter_notebook_config:
/opt/anaconda3/envs/grid/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json
/opt/anaconda3/envs/grid/etc/jupyter/jupyter_notebook_config.json
[D 2022-02-14 13:15:10.753 ServerApp] Paths used for configuration of jupyter_notebook_config:
/home/eouser/.local/etc/jupyter/jupyter_notebook_config.json
[D 2022-02-14 13:15:10.753 ServerApp] Paths used for configuration of jupyter_notebook_config:
/home/eouser/.jupyter/jupyter_notebook_config.json
[I 2022-02-14 13:15:10.753 ServerApp] nbclassic | extension was successfully linked.
[D 2022-02-14 13:15:10.754 ServerApp] Config changed: {'ExtensionApp': {'open_browser': False, 'log_level': 'DEBUG'}, 'NotebookApp': {}, 'ServerApp': {'ip': '10.X.X.XXX', 'port': 8945, 'open_browser': False, 'log_level': 'DEBUG', 'jpserver_extensions': <LazyConfigValue value={'jupyterlab': True, 'nbclassic': True}>}}
[D 2022-02-14 13:15:10.755 ServerApp] Raising open file limit: soft 1024->4096; hard 1048576->1048576
[I 2022-02-14 13:15:10.799 ServerApp] nbclassic | extension was successfully loaded.
[I 2022-02-14 13:15:10.800 LabApp] JupyterLab extension loaded from /opt/anaconda3/envs/grid/lib/python3.8/site-packages/jupyterlab
[I 2022-02-14 13:15:10.800 LabApp] JupyterLab application directory is /opt/anaconda3/envs/grid/share/jupyter/lab
[I 2022-02-14 13:15:10.803 ServerApp] jupyterlab | extension was successfully loaded.
[I 2022-02-14 13:15:10.803 ServerApp] Serving notebooks from local directory: /home/eouser
[I 2022-02-14 13:15:10.803 ServerApp] Jupyter Server 1.13.5 is running at:
[I 2022-02-14 13:15:10.803 ServerApp] http://10.X.X.XXX:8945/lab?token=60501ad9893d478fdcffbf47213eaf09c836f592b86069ae
[I 2022-02-14 13:15:10.803 ServerApp] or http://127.0.0.1:8945/lab?token=60501ad9893d478fdcffbf47213eaf09c836f592b86069ae
[I 2022-02-14 13:15:10.803 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2022-02-14 13:15:10.806 ServerApp]
To access the server, open this file in a browser:
file:///home/eouser/.local/share/jupyter/runtime/jpserver-11838-open.html
Or copy and paste one of these URLs:
http://10.X.X.XXX:8945/lab?token=60501ad9893d478fdcffbf47213eaf09c836f592b86069ae
or http://127.0.0.1:8945/lab?token=60501ad9893d478fdcffbf47213eaf09c836f592b86069ae