Get help from the marimo community

Updated 5 months ago

jupyter-marimo-proxy issues with kubernetes deployed jupyterhub

At a glance

A community member is experiencing issues with jupyter-marimo-proxy when deploying on a k3s cluster, although it works fine locally with minikube. The jupyter-server-proxy is refusing connections from the marimo API when deployed on their servers.

Other community members suggest that the issue might be related to host restrictions in marimo, as it defaults to allowing only 127.0.0.1. A potential solution might involve patching jupyter-marimo-proxy to pass in a --host flag or implementing proxy forwarding. The issue has been escalated to the jupyter-marimo-proxy repository for further investigation.

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!❤️
A
d
C
4 comments
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?
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)
Can do! Thanks! 😄👍
Add a reply
Sign up and join the conversation on Discord