-
Notifications
You must be signed in to change notification settings - Fork 5k
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
NotebookApp Error unpacking user from cookie #6702
Comments
Hi @ggrrll thank you for submitting this issue. Are you running from a directory where you have the needed permissions? Does this issue come up if you run from a different directory? |
yes, I didn't have problems actually last week (also, I do not have issues with jupyter lab) ... the only thing it changed in the meantime, as far as I can see, it's the installation of jupyter lab indeed |
I also started to observe this behaviour, though I do not know what changed in my environment. I am on macOS 13.1, with latest Chrome. I start the jupyter notebook server via the terminal from my home directory as always, which then automatically launches the browser on the jupyter notebook file browser page. I can then successfully open a notebook, but just a few seconds later, it stopps working ("forbidden").
The Cookie sent with one of the requests in this sequence looks as follows:
|
might be related to #2396 |
btw, this issue seems to be affecting also other tool, like
|
Not sure this is related to #2396. That thread is overflowing with people not having the right user permissions for the folder they are trying to access. Mine are correct. Also, just disabling token verification is definitely not a solution. On the other hand, #5492 does seem related. Following their thread, I downgraded my |
yeah...indeed probably related to jupyter-server/jupyter_server#1038 and yes, downgrading works for me too |
Update: Found a workaround via this StackExchange answer: Running
fixed the problem, without changing anything else. :-) |
Here is some log output that was resulted from this issue:
How to reproduce:
{
"NotebookApp": {
"password": "argon2:$a<snip>"
}
}
Problematic cookie example:
|
I have encountered the same issue as described on previous comments and solved it by using the workaround of downgrading 'jupyter-server' to version 1.23.4 |
Is there any workaround that doesn't involve downgrading jupyter-server? Jupyter-server has a vulnerability, and we are getting flagged that we need to upgrade to at least jupyter-server>=2.11.2 |
Downgrading did not solve it for me. I still keep getting: [W 2024-02-23 16:01:38.253 ServerApp] wrote error: 'Forbidden'
[W 2024-02-23 16:01:38.254 ServerApp] 403 GET /api/sessions?1708700498223 (127.0.0.1) 2.85ms referer=None is there anyother fix? |
I am also having the same problem. when running jupyter-lab I get a stack trace as well:
Note sure if this is helpful at all. |
Describe the bug/ To Reproduce
π« When I launch notebook from terminal, it keeps giving
forbidden
error, when trying to save(in the title, the error message in console, with many 403 warnings)
β it works fine though if I
launch classical notebook
fromjupyter lab
Desktop (please complete the following information):
some relevant packages from my
pip freeze
The text was updated successfully, but these errors were encountered: