jupyter / jupyter/notebook

Multiple accounts using separate instances of Jupyter Notebook

Open
#4,789 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Hi all,

I am running a server with jupyter notebook installed.
When i run a single instance of juypter notebook i get prompted with the following

[I 16:13:57.888 NotebookApp] The Jupyter Notebook is running at:
[I 16:13:57.888 NotebookApp] http://localhost:8889/?token=5b7e4485b3034c3352d838264a52cb45e90072b1cd971e76

by clicking on the hyperlink i am able to access the notebook sucessfully.

When i have another user logged into the server and they run the "jupyter notebook" to create a second instance on their account they are prompted with similar details, but with a different token id and port.

When they click on the link they receive the token authentication is enabled website and even though they copy their token id they get the invalid credentials link.

I have tried to follow the guide on this website (https://jupyter-notebook.readthedocs.io/en/stable/public_server.html) and removed token authentication and passwords but nothing seems to have helped

This only occurs when there is an existing instance of jupyter running on one account, if the second user runs 'jupyter notebook' on their account with no one else on the server it works fine.

Can you please advise on what i can do here?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the problem with two user accounts running separate `jupyter notebook` instances, recording each instance's port and token URL. Compare the behavior with the public-server authentication guide linked in the report and verify whether disabling token authentication changes the result. Done means identifying the configuration or multi-user behavior responsible and documenting a confirmed resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.