Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP access to plots in JupyterLab being blocked #227

Open
dhirschfeld opened this issue Apr 5, 2022 · 1 comment
Open

HTTP access to plots in JupyterLab being blocked #227

dhirschfeld opened this issue Apr 5, 2022 · 1 comment

Comments

@dhirschfeld
Copy link
Contributor

In JupyterLab the plots aren't being displayed:

image

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

image

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
@ian-r-rose
Copy link
Collaborator

Sorry for the slow response @dhirschfeld. This is a common issue that people run into (see discussion here: #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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants