dask / dask/dask-gateway

JupyterHub apiUrl detection fails when hub.baseUrl is set

Open
#383 1 comment 1 reaction 0 assignees View on GitHub
bug documentation
Dominant language
Python
Stars
148
Forks
93
PR merge metrics
No merged PRs in 30d

Description

The Jupyterhub helm chart includes a `hub.baseUrl` for serving the hub under a path other than `/`, e.g. `/jupyter/`. I believe this breaks the automatic API setting at https://github.com/dask/dask-gateway/blob/7d1659db8b2122d1a861ea820a459fd045fc3f02/resources/helm/dask-gateway/templates/gateway/configmap.yaml#L97.

I'm not sure if the `baseUrl` is available where that code is running, so it may be hard to detect the url automatically.

The workaround is to explicitly set the URL

```yaml
gateway:
auth:
jupyterhub:
apiUrl: http://proxy-http:8000/jupyter/hub/api
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.