Replies: 16 comments 55 replies
-
|
First off, I appreciate all the work you guys put in. OpenWebUI is a great piece of software and I deeply appreciate it. I apologize, as this isn't my area of expertise. However, an otherwise working configuration completely fails just by updating OpenWebUI from 0.6.5 to 0.6.6. Has there been a change in how connections are handled on the OpenWebUI side? I'm entirely unfamiliar with Websockets, but is it possible that the new openwebui version causing some sort of connection leakage? |
Beta Was this translation helpful? Give feedback.
-
|
I have the same problem after update |
Beta Was this translation helpful? Give feedback.
-
|
Yes, see graph here with before/after update: Was in the late night, not even any users online. |
Beta Was this translation helpful? Give feedback.
-
|
In our installation, we use apache as reverse proxy and a few seconds after the container start the apache process count increases to limit. Connections from apache to container keep open (established), therefore blocking apache for other requests. Downgrade to 0.6.5 solves this issue. |
Beta Was this translation helpful? Give feedback.
-
|
This may have something to do with |
Beta Was this translation helpful? Give feedback.
-
|
Can anyone tell if #13364 could have something to do with this? |
Beta Was this translation helpful? Give feedback.
-
|
0.6.6 same issue, downgrade to 0.6.5 needed |
Beta Was this translation helpful? Give feedback.
-
|
So, I managed to upgrade. Sonnet made some suggestions, and I have no idea if they actually fix the issue or if it's just masked, but it functions now. There are the modifications I made to my nginx.conf: Hope that's parseable...Effectively: In the events block:
In the http block,
In the server_location block:
Again, I'm really new to this, but this at least is allowing me to keep the instance running and up-to-date. |
Beta Was this translation helpful? Give feedback.
-
|
Does anyone of you have any logs of the 500 error? Please share if you have logs! |
Beta Was this translation helpful? Give feedback.
-
|
Related merged PRs (?) Related unmerged PR (?) |
Beta Was this translation helpful? Give feedback.
-
|
I don't seem impacted, here is an extract from my nginx.conf worker_processes auto; |
Beta Was this translation helpful? Give feedback.
-
|
I highly suspect #13364 played a role somehow, could anyone confirm? |
Beta Was this translation helpful? Give feedback.
-
|
#12932 the culprit should be here somewhere, yet to find any. |
Beta Was this translation helpful? Give feedback.
-
|
yes, i meet the same problem, and seems still not working in 0.6.7, but 0.6.5 is good。 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
Hi, https://github.com/open-webui/open-webui/releases/tag/v0.6.8 is out! Fixed included! |
Beta Was this translation helpful? Give feedback.









Uh oh!
There was an error while loading. Please reload this page.
-
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
0.6.6
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04 Container
Browser (if applicable)
Google Chrome 121.0.6167.139
Confirmation
README.md.Expected Behavior
I have an Open WebUI instance set up via docker compose to bring up Open WebUI on port 8080 on the internal docker network, and have an nginx reverse proxy configured to establish a secure connection to users outside the host. I believe I based the nginx config on an example in the documentation.
I expect to have this configuration still work to allow end users to get a secure connection by going to https://<docker_host_name>:8080.
Everything works happily on OpenWebUI 0.6.5.
Actual Behavior
After updating to 0.6.6, I can log in briefly, but after a short amount of time my nginx server logs report that xxx "worker_connections are not enough while connecting to upstream" and I get either Error 500 or 503 (Bad Gateway).
(I know it's not the proper solution, but I increased the max_num_workers to 4096 as a test, and all it did was make it take longer to have the errors emerge).
I don't know if this is related to the changes in Websocket mentioned in the changelog.
Below are some logs of the issue as well as my docker compose file and nginx.conf.
Steps to Reproduce
With the following nginx and docker compose setup, performing any activity on the OpenWebUI server (maybe opening a few chats and wandering around the configs) very quickly causes this.
docker-compose:
I believe I basically copied one of these from the OpenWebUI documentation page somewhere.
nginx.conf
Logs & Screenshots
OpenWebUI log while this is happening:
Nginx log while this is happening:
Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions