Cumulus
Cumulus5mo ago

jupyter-marimo-proxy issues with kubernetes deployed jupyterhub

Hi all! First of all THANK YOU for a wonderful new computing experience! Marimo is what my team and I have dreamed that our notebooks could be! I'm not sure if this is the right forum to ask, as its more jupyterhub related, but thought I'd give it a shot anyway. To offload heavy computations my team and I have deployed jupyterhub using zero to jupyterhub, I looked into the jupyter-marimo-proxy to get a similar workflow we've used for our pluto.jl notebooks, but Im running into issues. Deploying and testing locally on minikube works just fine, I can open marimo from the jupyterlab launcher and write and execute notebooks. When deployed on our k3s cluster on our servers though we run into errors like the ones attached. the jupyter-server-proxy seems to refuse connections from the marimo api. I've been tearing my hair out trying to get this to work, but to no avail. Anyone with some jupyterhub experience got any ideas?? Thanks again for a great project!❤️
4 Replies
Akshay
Akshay5mo ago
You’re welcome! The jupyter-marimo-proxy is community developed — perhaps we can have a larger hand in maintaining it, since so many people have asked about running marimo behind jupyterhub. @dmad , any ideas? Would marimo need to be run with —proxy for this to work, or is that unrelated? @Cumulus , if you wouldn’t mind, could you open an issue in the jupyter-marimo-proxy server and tag me?
dmad
dmad5mo ago
marimo restricts the host too. You might have to patch jupyter-marimo-proxy to pass in a --host flag too, or do some proxy forwarding Just a thought, but would explain why things work locally (127.0.0.1 is the default allowed host)
Cumulus
CumulusOP5mo ago
Can do! Thanks! 😄👍
Cumulus
CumulusOP5mo ago
GitHub
ConnectionRefusedError when running Marimo in kubernetes deployed J...
@akshayka @marimo-team, tagging you in this as dicussed on Discord. I am having issues deploying Marimo to a k3s cluster. I am able to open the notebook from the launcher, and even pick an existing...