dask-labextension
dask-labextension copied to clipboard
HTTP access to plots in JupyterLab being blocked
In JupyterLab the plots aren't being displayed:

...and I see an error about HTTP being blocked:

Environment:
- JupyterHub 1.5.0 / JupyterLab 3.3.1
- Python version: 3.7
- Operating System: Ubuntu Linux container
- Install method conda
# Name Version Build Channel
dask 2022.2.0 pyhd8ed1ab_0 https://conda.anaconda.org/conda-forge
dask-core 2022.2.0 pyhd8ed1ab_0 https://conda.anaconda.org/conda-forge
dask-glm 0.2.0 py_1 https://conda.anaconda.org/conda-forge
dask-kubernetes 2022.1.0 pyhd8ed1ab_0 https://conda.anaconda.org/conda-forge
dask-labextension 5.2.0 pyhd8ed1ab_0 https://conda.anaconda.org/conda-forge
dask-ml 1.9.0 pyhd8ed1ab_0 https://conda.anaconda.org/conda-forge
distributed 2022.2.0 py37h89c1867_0 https://conda.anaconda.org/conda-forge
Sorry for the slow response @dhirschfeld. This is a common issue that people run into (see discussion here: https://github.com/dask/dask-labextension/issues/194). Long-term, I think the right solution is to proxy more stuff under the notebook server, but as as short-term fix you might be able to access your server by using the jupyter-server-proxy /proxy/<ip-address> endpoint, and allow-listing the relevant address. It's not very ergonomic, but should work (see some discussion in the linked issue).