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

What could be causing an HTTP 403 error? #203

Closed
max-sixty opened this issue Dec 2, 2016 · 1 comment
Closed

What could be causing an HTTP 403 error? #203

max-sixty opened this issue Dec 2, 2016 · 1 comment

Comments

@max-sixty
Copy link

When I try and connect to the running kernel, from Hydrogen, I get a 403 code:

[I 161201 19:03:02 web:1908] 200 GET /api/kernelspecs?1480636982374 (127.0.0.1) 3.82ms
[W 161201 19:03:02 web:1493] 403 GET /api/sessions?1480636982420 (127.0.0.1): Forbidden
[W 161201 19:03:02 web:1908] 403 GET /api/sessions?1480636982420 (127.0.0.1) 0.96ms

I'm using the default jupyter_kernel_gateway_config.py.

I use a notebook with a password & HTTPS, but my understanding was the notebook config file wouldn't be picked up (and it's not listed in --debug mode

Any ideas why a 403 would be returned?

Many thanks,
Max

@parente
Copy link
Contributor

parente commented Dec 2, 2016

Session and kernel listing are not enabled by default in the kernel gateway for privacy. You have to pass --JupyterWebsocketPersonality.list_kernels=True or set the environment variable KG_LIST_KERNELS=True when starting the kernel gateway.

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

No branches or pull requests

2 participants