# Jupyter lab command opens blank webpage

**URL:** <https://discourse.jupyter.org/t/jupyter-lab-command-opens-blank-webpage/29660>\
**Category:** JupyterLab\
**Tags:** help-wanted\
**Created:** [October 29, 2024, 8:54pm UTC](https://discourse.jupyter.org/t/jupyter-lab-command-opens-blank-webpage/29660 "2024-10-29T20:54:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![d3tk](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@d3tk](https://discourse.jupyter.org/u/d3tk)\
**Post date:** [October 29, 2024, 8:54pm UTC](https://discourse.jupyter.org/t/jupyter-lab-command-opens-blank-webpage/29660/1 "2024-10-29T20:54:47Z")

</div>

When I run `python -m jupyter lab --debug` in my terminal on Windows it opens a blank web page. in my browser.

---

<div class="post-metadata">

**Author:** ![d3tk](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@d3tk](https://discourse.jupyter.org/u/d3tk)\
**Post date:** [October 29, 2024, 11:38pm UTC](https://discourse.jupyter.org/t/jupyter-lab-command-opens-blank-webpage/29660/2 "2024-10-29T23:38:21Z")

</div>

Here are some logs that may be of assistance in solving my problem.  
I was able to fix my Jupyter. I have the log however it’s too long for the post. If anyone knows how to attach long txt files here let me know.

For some reason I have to refresh a couple times before it works as there are some packets “pending” but it eventually opens.

It appears I can’t connect to the kernel inside Jupyter labs either though. I made a post in Jupyter hopefully they can assist

> **Connection Timeout**
>
> ```auto
> [D 2024-10-29 19:25:25.541 ServerApp] 101 GET /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels?session_id=a9d770fa-c299-428a-9e5e-0f3575b0c973 (94b71c4ea815436588783d9c7a2fb924@::1) 60014.06ms
> [D 2024-10-29 19:25:25.542 ServerApp] Opening websocket /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels
> [I 2024-10-29 19:25:25.542 ServerApp] Connecting to kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800.
> [D 2024-10-29 19:25:25.542 ServerApp] Getting buffer for 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:25:25.542 ServerApp] Connecting to: tcp://127.0.0.1:53481
> [D 2024-10-29 19:25:25.603 ServerApp] Connecting to: tcp://127.0.0.1:53480
> [D 2024-10-29 19:25:25.773 ServerApp] Connecting to: tcp://127.0.0.1:53484
> [D 2024-10-29 19:25:25.851 ServerApp] Connecting to: tcp://127.0.0.1:53482
> [D 2024-10-29 19:25:25.946 ServerApp] Connecting to: tcp://127.0.0.1:53480
> [D 2024-10-29 19:25:26.009 ServerApp] Connecting to: tcp://127.0.0.1:53484
> [E 2024-10-29 19:25:26.086 ServerApp] Uncaught exception GET /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels?session_id=469e3358-856b-4200-a19b-49a8b74b4d9a (127.0.0.1)
> HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels?session_id=469e3358-856b-4200-a19b-49a8b74b4d9a', version='HTTP/1.1', remote_ip='127.0.0.1')
> Traceback (most recent call last):
> File "Z:\ML\thesis-project\.venv\Lib\site-packages\tornado\websocket.py", line 940, in _accept_connection
> await open_result
> File "Z:\ML\thesis-project\.venv\Lib\site-packages\jupyter_server\services\kernels\websocket.py", line 75, in open
> await self.connection.connect()
> TimeoutError: Timeout
> [D 2024-10-29 19:25:26.087 ServerApp] 101 GET /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels?session_id=4bc7783c-5962-42c4-b2ef-71ca04b9d829 (94b71c4ea815436588783d9c7a2fb924@127.0.0.1) 60559.35ms
> [D 2024-10-29 19:25:26.087 ServerApp] Opening websocket /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels
> [I 2024-10-29 19:25:26.087 ServerApp] Connecting to kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800.
> [D 2024-10-29 19:25:26.087 ServerApp] Getting buffer for 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:25:26.087 ServerApp] Connecting to: tcp://127.0.0.1:53481
> [D 2024-10-29 19:25:26.193 ServerApp] Connecting to: tcp://127.0.0.1:53480
> [D 2024-10-29 19:25:26.287 ServerApp] Connecting to: tcp://127.0.0.1:53484
> [D 2024-10-29 19:25:26.351 ServerApp] Connecting to: tcp://127.0.0.1:53482
> [D 2024-10-29 19:25:26.430 ServerApp] Connecting to: tcp://127.0.0.1:53480
> [D 2024-10-29 19:25:26.461 ServerApp] Connecting to: tcp://127.0.0.1:53484
> [D 2024-10-29 19:25:26.493 ServerApp] Nudge: attempt 1 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:25:26.494 ServerApp] Nudge: attempt 1 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [W 2024-10-29 19:25:26.496 ServerApp] Replacing stale connection: 16aaa136-ec4c-4c3f-9829-52c22d9aa800:f5b08ab9-ca9f-4eaf-ab02-7d76c7586584
> [D 2024-10-29 19:25:26.496 ServerApp] Waiting for pending kernel_info request
> [W 2024-10-29 19:25:26.497 ServerApp] Replacing stale connection: 16aaa136-ec4c-4c3f-9829-52c22d9aa800:469e3358-856b-4200-a19b-49a8b74b4d9a
> [D 2024-10-29 19:25:26.497 ServerApp] Waiting for pending kernel_info request
> [D 2024-10-29 19:25:27.004 ServerApp] Nudge: attempt 2 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:25:27.004 ServerApp] Nudge: attempt 2 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:25:27.517 ServerApp] Nudge: attempt 3 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:25:27.517 ServerApp] Nudge: attempt 3 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:25:28.030 ServerApp] Nudge: attempt 4 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> ...
> [D 2024-10-29 19:26:20.252 ServerApp] Nudge: attempt 106 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:26:20.344 ServerApp] Accepting token-authenticated request from ::1
> [D 2024-10-29 19:26:20.344 ServerApp] 200 GET /api/kernels?1730244380329 (94b71c4ea815436588783d9c7a2fb924@::1) 0.78ms
> [D 2024-10-29 19:26:20.345 ServerApp] Accepting token-authenticated request from ::1
> [D 2024-10-29 19:26:20.345 TerminalsExtensionApp] 200 GET /api/terminals?1730244380330 (94b71c4ea815436588783d9c7a2fb924@::1) 0.00ms
> [D 2024-10-29 19:26:20.345 ServerApp] Accepting token-authenticated request from ::1
> [D 2024-10-29 19:26:20.346 ServerApp] 200 GET /api/sessions?1730244380331 (94b71c4ea815436588783d9c7a2fb924@::1) 1.00ms
> [D 2024-10-29 19:26:20.777 ServerApp] Nudge: attempt 107 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> ...
> [D 2024-10-29 19:26:24.351 ServerApp] Nudge: attempt 114 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:26:24.386 ServerApp] Accepting token-authenticated request from ::1
> [D 2024-10-29 19:26:24.402 ServerApp] 200 GET /api/contents/src/thesis_project?content=1&hash=0&1730244384384 (94b71c4ea815436588783d9c7a2fb924@::1) 16.12ms
> [D 2024-10-29 19:26:24.864 ServerApp] Nudge: attempt 115 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:26:24.864 ServerApp] Nudge: attempt 115 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:26:25.374 ServerApp] Nudge: attempt 116 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:26:25.374 ServerApp] Nudge: attempt 116 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:26:25.890 ServerApp] Nudge: attempt 117 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:26:25.891 ServerApp] Nudge: attempt 117 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [E 2024-10-29 19:26:26.094 ServerApp] Uncaught exception GET /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels?session_id=a9d770fa-c299-428a-9e5e-0f3575b0c973 (::1)
> HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels?session_id=a9d770fa-c299-428a-9e5e-0f3575b0c973', version='HTTP/1.1', remote_ip='::1')
> Traceback (most recent call last):
> File "Z:\ML\thesis-project\.venv\Lib\site-packages\tornado\websocket.py", line 940, in _accept_connection
> await open_result
> File "Z:\ML\thesis-project\.venv\Lib\site-packages\jupyter_server\services\kernels\websocket.py", line 75, in open
> await self.connection.connect()
> TimeoutError: Timeout
> [D 2024-10-29 19:26:26.405 ServerApp] Nudge: attempt 118 on kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [W 2024-10-29 19:26:26.511 ServerApp] Timeout waiting for kernel_info reply from 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [W 2024-10-29 19:26:26.511 ServerApp] Timeout waiting for kernel_info reply from 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:26:26.511 ServerApp] 101 GET /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels?session_id=469e3358-856b-4200-a19b-49a8b74b4d9a (94b71c4ea815436588783d9c7a2fb924@127.0.0.1) 60015.08ms
> [D 2024-10-29 19:26:26.512 ServerApp] Opening websocket /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels
> [I 2024-10-29 19:26:26.512 ServerApp] Connecting to kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800.
> [D 2024-10-29 19:26:26.512 ServerApp] Getting buffer for 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:26:26.512 ServerApp] Connecting to: tcp://127.0.0.1:53481
> [D 2024-10-29 19:26:26.748 ServerApp] Connecting to: tcp://127.0.0.1:53480
> [D 2024-10-29 19:26:26.967 ServerApp] Connecting to: tcp://127.0.0.1:53484
> [D 2024-10-29 19:26:26.972 ServerApp] Connecting to: tcp://127.0.0.1:53482
> [D 2024-10-29 19:26:26.975 ServerApp] Connecting to: tcp://127.0.0.1:53480
> [D 2024-10-29 19:26:26.978 ServerApp] Connecting to: tcp://127.0.0.1:53484
> [D 2024-10-29 19:26:27.032 ServerApp] 101 GET /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels?session_id=f5b08ab9-ca9f-4eaf-ab02-7d76c7586584 (94b71c4ea815436588783d9c7a2fb924@::1) 60537.42ms
> [D 2024-10-29 19:26:27.033 ServerApp] Opening websocket /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels
> [I 2024-10-29 19:26:27.033 ServerApp] Connecting to kernel 16aaa136-ec4c-4c3f-9829-52c22d9aa800.
> [D 2024-10-29 19:26:27.034 ServerApp] Getting buffer for 16aaa136-ec4c-4c3f-9829-52c22d9aa800
> [D 2024-10-29 19:26:27.034 ServerApp] Connecting to: tcp://127.0.0.1:53481
> [D 2024-10-29 19:26:27.037 ServerApp] Connecting to: tcp://127.0.0.1:53480
> [D 2024-10-29 19:26:27.059 ServerApp] Connecting to: tcp://127.0.0.1:53484
> [D 2024-10-29 19:26:27.090 ServerApp] Connecting to: tcp://127.0.0.1:53482
> [D 2024-10-29 19:26:27.137 ServerApp] Connecting to: tcp://127.0.0.1:53480
> [D 2024-10-29 19:26:27.166 ServerApp] Connecting to: tcp://127.0.0.1:53484
> [E 2024-10-29 19:26:27.214 ServerApp] Uncaught exception GET /api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels?session_id=4bc7783c-5962-42c4-b2ef-71ca04b9d829 (127.0.0.1)
> HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/kernels/16aaa136-ec4c-4c3f-9829-52c22d9aa800/channels?session_id=4bc7783c-5962-42c4-b2ef-71ca04b9d829', version='HTTP/1.1', remote_ip='127.0.0.1')
> Traceback (most recent call last):
> File "Z:\ML\thesis-project\.venv\Lib\site-packages\tornado\websocket.py", line 940, in _accept_connection
> await open_result
> File "Z:\ML\thesis-project\.venv\Lib\site-packages\jupyter_server\services\kernels\websocket.py", line 75, in open
> await self.connection.connect()
> TimeoutError: Timeout
> 
> ```

I had to remove some redundant lines to save space
