Previewing Quarto rendering from jupyter hub (original) (raw)

August 25, 2022, 11:08am 1

Hi !
When i’m running the quarto’s “preview” command from a console in jupyter hub, it says that I can go to jupyterhub-server-url>/user/myname/proxy/6140/ to check the rendered document.

When i’m going to https://myServer/jupyter/user/myname/proxy/6140 I get a 404 Not Found error.

JupyterHub is behind a reverse proxy (nginx) and I changed the jupyterhub default port ? Could one of these be the origin of the problem ?

Thank you for your help

I faces exactly the same issue. And I found the the proxy route is not created on configurable-http-proxy

Hi,
I wanted to inquire if you guys were able to solve the problem?
Currently I am facing the same problem.

Hi, how are u, did you find a solution?

I was able to find a solution.
I install quarto, jupyterlab-quarto and jupyter-server-proxy

USER root

RUN apt-get update --yes && \
    apt-get install --yes --no-install-recommends curl gdebi-core
RUN curl -LO https://quarto.org/download/latest/quarto-linux-amd64.deb && \
    gdebi -n quarto-linux-amd64.deb && \
    rm quarto-linux-amd64.deb

USER ${NB_UID}

RUN pip install --no-cache-dir jupyter-server-proxy jupyterlab-quarto==0.3.5
RUN python3 -m jupyter labextension enable jupyterlab-quarto