Skip to content

conda tab in classical notebook pod spawned from Jupyterhub has unwanted warnings. #47

Closed
@HCharlie

Description

@HCharlie

Description

In the classical notebook server(pod) spawned from Jupyterhub, when I click the Conda tab, it will pop up a warning window telling me an error An error occurred while retrieving package information.
Screen Shot 2020-06-29 at 10 34 55 PM

Reproduce

I was following Zero to JupyterHub with Kubernetes(https://zero-to-jupyterhub.readthedocs.io/en/latest/index.html) and using KIND(https://kind.sigs.k8s.io/docs/user/quick-start/) to set up the k8s cluster.

And the singleuser image I use is base-notebook from docker-stacks(https://github.com/jupyter/docker-stacks/blob/master/base-notebook/Dockerfile) with modification only to install jupyter_conda package.

After everything is setup. Just go to classical notebook and click Conda tab, you would see the window pop up.

Expected behavior

No warning shows up.

Context

  • Helm chart version:
    Jupyterhub: 0.8.2
  • Python package version:
    jupyter_conda: latest

What I see

b0231e00-ba21-11ea-9887-7869b1ac8067

in which test.hub.kind.test 127.0.0.1 in /etc/hosts

the request URL somehow end up with /hub/conda/task/... instead of /user/username/conda/task/... with which using wget will not give 404 code.

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

    Issue actions