Tarek Jarrar
Tarek Jarrar4w ago

Scaling Marimo docker image horizentally raises "Invalid session id" response

I'm trying to deploy marimo using a docker image on kubernetes but when I have two pods running at the same time, I recieve an "Error to instanciate" due to "Invalid session id". Have somoene succeeded to scale Marimo horizentally?
4 Replies
Hall
Hall4w ago
Someone will reply to you shortly. In the meantime, this might help:
Akshay
Akshay3w ago
You may need to set up websocket affinity
Tarek Jarrar
Tarek JarrarOP3w ago
Can I have more details or an example please ?
Haleshot
Haleshot3w ago
Posted the query on gurubase; sharing the chat here - https://gurubase.io/g/marimo/fix-invalid-session-id-marimo-kubernetes Hope it's relevant; do not have experience in Ops frameworks. Came across a decent kubernetes resource which could aid in someway - https://github.com/headlamp-k8s/headlamp
How to fix 'Invalid session id' in Marimo on Kubernetes? | Gurubase
Learn how to resolve 'Invalid session id' errors when scaling Marimo on Kubernetes by setting up websocket affinity.

Did you find this page helpful?