[GH-ISSUE #23773] issue: Different network cards with different IPs accessing the /chat/completions interface yield different responses #58733

Closed
opened 2026-05-05 23:48:14 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @fallinloveq on GitHub (Apr 16, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23773

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

ghcr.io/open-webui/open-webui:main

Ollama Version (if applicable)

lmsysorg/sglang:nightly-dev-cu13-20260401-b6fe0cca

Operating System

Ubuntu 24.04.2 LTS

Browser (if applicable)

Chrome 146.0.7680.164

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

When running openwebui on an Ubuntu server using Docker, the results should be consistent regardless of which network port is used for access

Image

Actual Behavior

The data corresponding to /chat/completions is SSE stream data, but the page parses it as JSON

Image

Steps to Reproduce

多网卡环境,分别使用不同局域网ip访问
Ubuntu 24.04.2 LTS
docker: 29.3.1-1
ghcr.io/open-webui/open-webui:main

Logs & Screenshots

192.168.1.x

GET /api/v1/configs/banners HTTP/1.1 200
/api/v1/tools/ HTTP/1.1" 200
/api/v1/chats/new HTTP/1.1" 200
/api/v1/tools/ HTTP/1.1" 200
/api/v1/chats/?page=1 HTTP/1.1" 200
/api/v1/chats/7e0f861e-6d8a-4370-b71d-2244e33fb0ec HTTP/1.1" 200
/api/chat/completions HTTP/1.1" 200
/api/chat/completed HTTP/1.1" 200
/api/v1/chats/7e0f861e-6d8a-4370-b71d-2244e33fb0ec HTTP/1.1" 200
/api/v1/chats/?page=1 HTTP/1.1" 200
/api/chat/completions Response:{"status":true,"task_id":"3dd61522-5e93-4052-8f0f-20ef553e2986"}
/api/chat/completed Response:{"model":"Qwen/Qwen3.5-122B-A10B","messages":[{"id":"efb09d29-ba73-4d81-a269-8556f2fe8685","role":"user","content":"hi","timestamp":1776318332},{"id":"e73edaf5-aafe-47fd-8fcd-38fe2d31c50e","role":"assistant","content":" Hi there! How can I help you today?","timestamp":1776318332}],"chat_id":"0d5dc6f1-cd48-4ddb-9d4f-a263366a3b31","session_id":"6ceq0XiA0mD-H7o6AAAF","id":"e73edaf5-aafe-47fd-8fcd-38fe2d31c50e"}

10.255.x.x

/api/v1/chats/new HTTP/1.1" 200
/api/v1/tools/ HTTP/1.1" 200
/api/v1/chats/?page=1 HTTP/1.1" 200
/api/v1/chats/21a2909f-20d4-45e6-bfb2-c28ee0a8c4b2 HTTP/1.1" 200
/api/chat/completions HTTP/1.1" 200
/_app/version.json HTTP/1.1" 200
/_app/version.json HTTP/1.1" 200
/api/chat/completions Response is not task_id,but rather `data: {"id":"0c9b6d1bd301497da52764cef1c9bc04","object":"chat.completion.chunk","created":1776318646,"model":"Qwen/Qwen3.5-122B-A10B","choices":[{"index":0,"delta":{"role":null,"content":null,"reasoning_content":null,"tool_calls":null},"logprobs":null,"finish_reason":"stop","matched_stop":248046}],"usage":null}

data: [DONE]`

Additional Information

No response

Originally created by @fallinloveq on GitHub (Apr 16, 2026). Original GitHub issue: https://github.com/open-webui/open-webui/issues/23773 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version ghcr.io/open-webui/open-webui:main ### Ollama Version (if applicable) lmsysorg/sglang:nightly-dev-cu13-20260401-b6fe0cca ### Operating System Ubuntu 24.04.2 LTS ### Browser (if applicable) Chrome 146.0.7680.164 ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior When running openwebui on an Ubuntu server using Docker, the results should be consistent regardless of which network port is used for access <img width="659" height="384" alt="Image" src="https://github.com/user-attachments/assets/f84d0739-10f4-4b37-b240-a720ba9d7d68" /> ### Actual Behavior The data corresponding to /chat/completions is SSE stream data, but the page parses it as JSON <img width="1918" height="1028" alt="Image" src="https://github.com/user-attachments/assets/05cd2ab7-c720-4183-b5ad-6bc3e0129560" /> ### Steps to Reproduce 多网卡环境,分别使用不同局域网ip访问 Ubuntu 24.04.2 LTS docker: 29.3.1-1 ghcr.io/open-webui/open-webui:main ### Logs & Screenshots 192.168.1.x ``` GET /api/v1/configs/banners HTTP/1.1 200 /api/v1/tools/ HTTP/1.1" 200 /api/v1/chats/new HTTP/1.1" 200 /api/v1/tools/ HTTP/1.1" 200 /api/v1/chats/?page=1 HTTP/1.1" 200 /api/v1/chats/7e0f861e-6d8a-4370-b71d-2244e33fb0ec HTTP/1.1" 200 /api/chat/completions HTTP/1.1" 200 /api/chat/completed HTTP/1.1" 200 /api/v1/chats/7e0f861e-6d8a-4370-b71d-2244e33fb0ec HTTP/1.1" 200 /api/v1/chats/?page=1 HTTP/1.1" 200 ``` ``` /api/chat/completions Response:{"status":true,"task_id":"3dd61522-5e93-4052-8f0f-20ef553e2986"} /api/chat/completed Response:{"model":"Qwen/Qwen3.5-122B-A10B","messages":[{"id":"efb09d29-ba73-4d81-a269-8556f2fe8685","role":"user","content":"hi","timestamp":1776318332},{"id":"e73edaf5-aafe-47fd-8fcd-38fe2d31c50e","role":"assistant","content":" Hi there! How can I help you today?","timestamp":1776318332}],"chat_id":"0d5dc6f1-cd48-4ddb-9d4f-a263366a3b31","session_id":"6ceq0XiA0mD-H7o6AAAF","id":"e73edaf5-aafe-47fd-8fcd-38fe2d31c50e"} ``` -------------------------------------------------------------------------------------------------------------------------------------------- 10.255.x.x ``` /api/v1/chats/new HTTP/1.1" 200 /api/v1/tools/ HTTP/1.1" 200 /api/v1/chats/?page=1 HTTP/1.1" 200 /api/v1/chats/21a2909f-20d4-45e6-bfb2-c28ee0a8c4b2 HTTP/1.1" 200 /api/chat/completions HTTP/1.1" 200 /_app/version.json HTTP/1.1" 200 /_app/version.json HTTP/1.1" 200 ``` ``` /api/chat/completions Response is not task_id,but rather `data: {"id":"0c9b6d1bd301497da52764cef1c9bc04","object":"chat.completion.chunk","created":1776318646,"model":"Qwen/Qwen3.5-122B-A10B","choices":[{"index":0,"delta":{"role":null,"content":null,"reasoning_content":null,"tool_calls":null},"logprobs":null,"finish_reason":"stop","matched_stop":248046}],"usage":null}  data: [DONE]` ``` ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-05 23:48:14 -05:00
Author
Owner

@Classic298 commented on GitHub (Apr 16, 2026):

That's a web socket error. The second image you show is when the client was unable to make a proper websocket connection due to network issues network limitations or other error.

<!-- gh-comment-id:4257823037 --> @Classic298 commented on GitHub (Apr 16, 2026): That's a web socket error. The second image you show is when the client was unable to make a proper websocket connection due to network issues network limitations or other error.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#58733