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

After Jupyter Update: Access Denied #79

Open
MarcRohrer opened this issue Mar 22, 2024 · 15 comments
Open

After Jupyter Update: Access Denied #79

MarcRohrer opened this issue Mar 22, 2024 · 15 comments
Labels
bug Something isn't working

Comments

@MarcRohrer
Copy link

Hi,

Rise worked beautifully in the past and it is highly useful!
But yesterday I upgraded jupyterhub (everything current) now, jupyter_rise
does not work anymode. I only get a "blank page" with access denied.
I reinstalled jupyterlab_rise, but this did not help at all.

grafik

What could be the cause of this? How can I resolve this issue or at least analyze further?

Thank you!

Marc

@MarcRohrer MarcRohrer added the bug Something isn't working label Mar 22, 2024
@JaGeo
Copy link

JaGeo commented Mar 31, 2024

Same here.

@krassowski
Copy link

krassowski commented Mar 31, 2024

Do you use JupyterHub (or have someone else manage your Jupyter)? If so, which version?

@MarcRohrer
Copy link
Author

As I already stated to use jupyterhub, you asked JaGeo, right?

@joernahlers
Copy link

Same here.

@krassowski
Copy link

Thanks both, which version though? JupyterHub 4.1.0 changed some auth behaviour to be stricter to address security vulnerabilities. Patch releases fixed a few bugs so the exact point version you are using may make a difference between this working or not. The latest is 4.1.5.

@joernahlers
Copy link

Hi, we use JupyterHub version 4.1.4.

@joernahlers
Copy link

With version 4.1.5 i got the same error.

@JaGeo
Copy link

JaGeo commented Apr 9, 2024

My issue got resolved when setting everything up from scratch. Probably a version conflict in my case.

@joernahlers
Copy link

joernahlers commented Apr 9, 2024

Hello, I have found a temporary workaround. I have changed my helm configuration file by adding the following content:

singleuser:
[...]
extraFiles:
server-config:
mountPath: /etc/jupyter/jupyter_server_config.json
data: {
ServerApp: {
tornado_settings: {'headers': {'Content-Security-Policy': "frame-ancestors self;"}}
}
}

@MarcRohrer
Copy link
Author

what is the helmet configuration?
Do I own a helmet?

@joernahlers
Copy link

what is the helmet configuration? Do I own a helmet?

Sorry, i mean helm configuration.

@MarcRohrer
Copy link
Author

sorry, haven't heard of that either.
Is this a component used?
Where is the configuration?
There's so many directories in JupyterHub, very hard to understand, how it all goes together :-(

@joernahlers
Copy link

sorry, haven't heard of that either. Is this a component used? Where is the configuration? There's so many directories in JupyterHub, very hard to understand, how it all goes together :-(

Helm is a package manager for kubernetes. I use jupyterhub on a kubernetes cluster.

@MarcRohrer
Copy link
Author

not me. straight Ubuntu on VM.
So no workaround for me, unfortunately...

@hinz1
Copy link

hinz1 commented Apr 17, 2024

On a new install of TLJH: Same here.

Refused to frame 'http://example.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'none'".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants