Replies: 7 comments 48 replies
-
|
i was also having this issue. Replicas set to 3, readwritemany pvc and no luck logging in. i figured it had to something with the fact that each request was being sent to a different server and i had seen other issues revolving around HA supposedly working for others. I assumed that i didn't need to do the external DB since the pvc was shared between the nodes but i will probably upgrade to that anyways later... So i figured it was an ingress issue and did some digging. Found out that i should apply some sticky sessions to my ingress controller. Added these lines to the helm chart under the ingress annotations and it worked! nginx.ingress.kubernetes.io/affinity: "cookie" Also another good annotation to add is this one for larger file uploads nginx.ingress.kubernetes.io/proxy-body-size: "4096m" Anyways, i did some tests:
So everything "seems" to work session wise. i haven't done a ton of tool and function testing yet but i will update if anything breaks. |
Beta Was this translation helpful? Give feedback.
-
|
@jk-f5 just to clarify, are you saying that it is enough to set this variables in each replica plus having an external Postgredb? ENABLE_WEBSOCKET_SUPPORT="True" |
Beta Was this translation helpful? Give feedback.
-
|
Ok... interesting results with this. i hope someone can replicate this... I have gotten 3 replicas working with .5.4My config:
ENV: Versions: .5.5, .5.6, .5.7 Now...I have tested with these and still am not having luck. 1 replica works just fine but anymore still breaks. Port-forwarding around nginx directly to the service works fine too. Chrome console is printing: |
Beta Was this translation helpful? Give feedback.
-
|
Hi All |
Beta Was this translation helpful? Give feedback.
-
|
@jk-f5 I am seeing an error when trying to stop the stream of a response from the model. I am pretty sure it is also related with multiple replicas. when I look at the stop_tasks mechanism, I am pretty sure is because the stop request lands in another replica where the tasks dictionary doesn't know about that task id. Any idea how would we handle that using the REDIS DB or any other way? |
Beta Was this translation helpful? Give feedback.
-
|
Was anyone able to use multiple replicas in Kubernetes? It seems like the replicas are not in sync even though they are connected to the same PostgreSQL database and Redis instance. |
Beta Was this translation helpful? Give feedback.
-
|
Maybe someone with a multi-replica setup can help me. I have the pull request #13225 for re-indexing files with UI feedback/loading bar and need multi-replica testing because I only have a single instance. It would be super helpful if someone with multi-replicas could run the PR version of the code and test if the loading bar/reindexing stuff is working there, or even just review the code with the redis stuff. Feedback in the comments of the PR is much appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
I tried installing open webui using the helm chart.
It works fine, but when I setup more than one replica, it doesn't work.
One of the replicas always get 403, for example:
('127.0.0.6', 46874) - "WebSocket /ws/socket.io/?EIO=4&transport=websocket&sid=z1TTkpJJv6WiG0h-AAAs" 403
INFO: connection rejected (403 Forbidden)
I also tried enabling external db, but it does not seems to be a way to do it using the values.yaml.
Beta Was this translation helpful? Give feedback.
All reactions