Skip to content

What could be causing an HTTP 403 error? #203

@max-sixty

Description

@max-sixty

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

Activity

parente

parente commented on Dec 2, 2016

@parente
Contributor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @parente@max-sixty

        Issue actions

          What could be causing an HTTP 403 error? · Issue #203 · jupyter-server/kernel_gateway