Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated log messages: "Generating new user for token-authenticated request" #1279

Open
rmoff opened this issue May 18, 2023 · 1 comment
Open
Labels

Comments

@rmoff
Copy link

rmoff commented May 18, 2023

Description

When running Jupyter with authentication disabled the stdout fills with repeated Generating new user for token-authenticated request messages at a rate of one every ~5 seconds.

[I 2023-05-18 13:19:29.827 ServerApp] Jupyter Server 2.5.0 is running at:
[I 2023-05-18 13:19:29.827 ServerApp] http://a21685c58ba4:8888/lab
[I 2023-05-18 13:19:29.827 ServerApp]     http://127.0.0.1:8888/lab
[I 2023-05-18 13:19:29.827 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 2023-05-18 13:19:31.073 ServerApp] Clearing invalid/expired login cookie username-127-0-0-1-8888
[I 2023-05-18 13:19:31.073 ServerApp] Generating new user for token-authenticated request: f1d7be83beba476eaab4acba6ec92c18
[I 2023-05-18 13:19:34.213 ServerApp] Generating new user for token-authenticated request: 5103b5dff6594e748507a46d7c48b1f1
[I 2023-05-18 13:19:35.359 LabApp] Build is up to date
[I 2023-05-18 13:19:39.403 ServerApp] Generating new user for token-authenticated request: b22f7c9e6ab444f8818936b9ef1c8055
[I 2023-05-18 13:19:44.577 ServerApp] Generating new user for token-authenticated request: 588ca65e85274fda86f513f1202686b3
[I 2023-05-18 13:19:49.724 ServerApp] Generating new user for token-authenticated request: f7a3bc4adb204f3c88fdcad61d9ce314
[I 2023-05-18 13:19:54.904 ServerApp] Generating new user for token-authenticated request: 2f256e6a4d5344c993e316b8c7cb797d
[I 2023-05-18 13:20:00.060 ServerApp] Generating new user for token-authenticated request: 7112348f62784b85bbf7fb0eeeec0fe9
[I 2023-05-18 13:20:05.197 ServerApp] Generating new user for token-authenticated request: 43195969b1474fb2ae84a14b2d605e57
[I 2023-05-18 13:20:10.364 ServerApp] Generating new user for token-authenticated request: c17da5d7cf424aada35c5f55a5c83f9d
[I 2023-05-18 13:20:15.544 ServerApp] Generating new user for token-authenticated request: 5cd36cdac5e6453fb4de9792ca466979
[I 2023-05-18 13:20:20.705 ServerApp] Generating new user for token-authenticated request: ba46f63879244b2eb75f3ff758742f5e
[I 2023-05-18 13:20:25.870 ServerApp] Generating new user for token-authenticated request: 222b913e5b9847e09fa9f8208dc96784
[I 2023-05-18 13:20:31.035 ServerApp] Generating new user for token-authenticated request: affb7ab497e24f068b9dc3114c8678a1
[I 2023-05-18 13:20:36.199 ServerApp] Generating new user for token-authenticated request: a1c2341cf1034a829c48940405b2c8d4
[I 2023-05-18 13:20:41.348 ServerApp] Generating new user for token-authenticated request: 951f8d71f39542068fea3cd3760bc2a2
[I 2023-05-18 13:20:46.514 ServerApp] Generating new user for token-authenticated request: 06e4172f911a4774a762222950b016dd
[I 2023-05-18 13:20:51.684 ServerApp] Generating new user for token-authenticated request: e356d23fa8194b6a828ac2be633cb77d

From what I can tell the functionality of Jupyter is not impacted, but the spam is annoying.

Reproduce

docker run --rm -p 8888:8888 -e  NOTEBOOK_ARGS="--NotebookApp.token='' --NotebookApp.password=''" jupyter/pyspark-notebook:notebook-6.5.3

If you run it without the auth disabled the message doesn't get repeated:

docker run --rm -p 8888:8888 jupyter/pyspark-notebook:notebook-6.5.3

Expected behavior

Don't repeat the message continuously

Context

  • Jupyter Server version: 2.5

I have reviewed the other two issues that I could find regarding this.

@rmoff rmoff added the bug label May 18, 2023
@welcome
Copy link

welcome bot commented May 18, 2023

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! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant