Skip to content

jupyter web app is giving me 404s when hitting the backend. #86

Open
@jlewi

Description

@jlewi

/kind bug

What steps did you take and what happened:

The jupyter web app is giving me 404s when hitting the backend. Specifically, the URLs
https://${DOMAIN}/api/namespaces
https://${DOMAIN}/dashboard_lib.bundle.js

Give me 404s. I think this is a problem with the jupyter web app front end not properly working behind a reverse proxy. The jupyter web app is running behind the URL
https://${DOMAIN}/jupyter/ and it looks like the correct URLs should be
https://${DOMAIN}/jupyter/api/namespaces
https://${DOMAIN}/jupyter/dashboard_lib.bundle.js

Other requests are correctly using the reverse proxy e.g.
https://${DOMAIN}/jupyter/api/namespaces/kubeflow-user/notebooks

What did you expect to happen:
Expected it to work behind the reverse proxy.

Anything else you would like to add:
I'm setting the environment variable "APP_PREFIX" to "/jupyter/"

Environment:

  • Kubeflow version: (version number can be found at the bottom left corner of the Kubeflow dashboard):
    Not quite sure. I'm not deploying the dashboard. My manifests were using "docker.io/kubeflownotebookswg/jupyter-web-app:latest". But checking the logs and it looks like at least one of the images pulled had sha
    sha256:55e02d75bf2921ec61b4bd3fc728f299e37051fe0340a166e936fecabee8fb0f

  • kfctl version: (use kfctl version):

  • Kubernetes platform: (e.g. minikube)

  • Kubernetes version: (use kubectl version):

  • OS (e.g. from /etc/os-release):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions