[GH-ISSUE #10077] Jupyter not working as interpreter #15758

Closed
opened 2026-04-19 21:54:25 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @evolu8 on GitHub (Feb 15, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10077

Bug Report

Installation Method

pip

Environment

  • v0.3.12]

  • Operating System: Mac or Linux

  • Browser (if applicable): Chrome and chromium

Confirmation:

  • [y ] I have read and followed all the instructions provided in the README.md.
  • [ y] I am on the latest version of both Open WebUI and Ollama.
  • [ y] I have included the browser console logs.
  • [ n] I have included the Docker container logs.
  • [ y] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

Setting Code Interpreter to Jupyter on local running lab or notebook should allow compute via that

Actual Behavior:

The closest I have got is:
Error: create_connection() got an unexpected keyword argument 'additional_headers'

Description

Bug Summary:
The connection to the jupyter server appears authenticated, but the above is reported and no code executes.

Reproduction Details

Steps to Reproduce:
Jupyter lab or notebook appear to have the same behaviour. Tried three Jupyter servers now. Mac, Linux (Lab) and another linux (notebook)

Logs and Screenshots

Browser Console Logs:
[I 2025-02-15 18:54:11.123 ServerApp] User xxxxxxxxxx logged in. [I 2025-02-15 18:54:11.123 ServerApp] 302 POST /login (xxxxx@xxxxxxxx) 117.09ms [I 2025-02-15 18:54:11.126 ServerApp] 302 GET / (@192.168.1.237) 0.23ms [I 2025-02-15 18:54:11.166 ServerApp] Kernel started: cfa06acd-a7f0-49c1-bc2b-d0a3f96165c7 [I 2025-02-15 18:54:11.185 ServerApp] Kernel shutdown: cfa06acd-a7f0-49c1-bc2b-d0a3f96165c7 Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/Users/xxxxxxxxx/miniconda3/envs/py311/lib/python3.11/site-packages/ipykernel_launcher.py", line 16, in <module> from ipykernel import kernelapp as app File "/Users/xxxxxxxxx/miniconda3/envs/py311/lib/python3.11/site-packages/ipykernel/__init__.py", line 7, in <module> from .connect import * # noqa: F403 ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/xxxxxxx/miniconda3/envs/py311/lib/python3.11/site-packages/ipykernel/connect.py", line 5, in <module> from __future__ import annotations File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1070, in _find_spec KeyboardInterrupt

Docker Container Logs:

Screenshots/Screen Recordings (if applicable):

Image

Additional Information

This would be an absolute game changer function. Data scientists will love you.

Note

If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Originally created by @evolu8 on GitHub (Feb 15, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/10077 # Bug Report ## Installation Method pip ## Environment - v0.3.12] - **Operating System:** Mac or Linux - **Browser (if applicable):** Chrome and chromium **Confirmation:** - [y ] I have read and followed all the instructions provided in the README.md. - [ y] I am on the latest version of both Open WebUI and Ollama. - [ y] I have included the browser console logs. - [ n] I have included the Docker container logs. - [ y] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: Setting Code Interpreter to Jupyter on local running lab or notebook should allow compute via that ## Actual Behavior: The closest I have got is: `Error: create_connection() got an unexpected keyword argument 'additional_headers'` ## Description **Bug Summary:** The connection to the jupyter server appears authenticated, but the above is reported and no code executes. ## Reproduction Details **Steps to Reproduce:** Jupyter lab or notebook appear to have the same behaviour. Tried three Jupyter servers now. Mac, Linux (Lab) and another linux (notebook) ## Logs and Screenshots **Browser Console Logs:** `[I 2025-02-15 18:54:11.123 ServerApp] User xxxxxxxxxx logged in. [I 2025-02-15 18:54:11.123 ServerApp] 302 POST /login (xxxxx@xxxxxxxx) 117.09ms [I 2025-02-15 18:54:11.126 ServerApp] 302 GET / (@192.168.1.237) 0.23ms [I 2025-02-15 18:54:11.166 ServerApp] Kernel started: cfa06acd-a7f0-49c1-bc2b-d0a3f96165c7 [I 2025-02-15 18:54:11.185 ServerApp] Kernel shutdown: cfa06acd-a7f0-49c1-bc2b-d0a3f96165c7 Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/Users/xxxxxxxxx/miniconda3/envs/py311/lib/python3.11/site-packages/ipykernel_launcher.py", line 16, in <module> from ipykernel import kernelapp as app File "/Users/xxxxxxxxx/miniconda3/envs/py311/lib/python3.11/site-packages/ipykernel/__init__.py", line 7, in <module> from .connect import * # noqa: F403 ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/xxxxxxx/miniconda3/envs/py311/lib/python3.11/site-packages/ipykernel/connect.py", line 5, in <module> from __future__ import annotations File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1070, in _find_spec KeyboardInterrupt ` **Docker Container Logs:** **Screenshots/Screen Recordings (if applicable):** <img width="1157" alt="Image" src="https://github.com/user-attachments/assets/8e691ecf-ed7c-4f88-a789-139e81dacac8" /> ## Additional Information This would be an absolute game changer function. Data scientists will love you. ## Note If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#15758