[GH-ISSUE #16854] issue: Fail to Embed HTML files #88814

Closed
opened 2026-05-15 13:37:29 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @tthung282 on GitHub (Aug 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16854

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

V0.6.5

Ollama Version (if applicable)

No response

Operating System

Ubuntu server 22.04

Browser (if applicable)

No response

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

I was trying to embed a HTML content into chat using this template: {{HTML_FILE_ID_[file_id]}}

Actual Behavior

This is my file when access by file_id:

Image

I can download it using "/content" path but when I use the template {{HTML_FILE_ID_[file_id]}}, I get this url: "http://localhost:1234/api/v1/files/bb791128-cf54-4c66-8af5-878dbca4bebe/content/html" with the error bellow:

Image

I'm using open-webui v0.6.25.

I haven't found any similar issues nor solutions.
Please help me !!!

Steps to Reproduce

  1. Install open web-ui using docker
  2. Install this function https://openwebui.com/f/omar97/visualize
  3. Turn it on, add valves values and trigger it in chat
  4. It should return the error as the screenshot
  5. Open dev tool and use inspect the errors returned from the function. You will find the url (http://yourweburl.abc/api/v1/files/file-id/content/html)

Logs & Screenshots

Image

Additional Information

No response

Originally created by @tthung282 on GitHub (Aug 23, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16854 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version V0.6.5 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu server 22.04 ### Browser (if applicable) _No response_ ### 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 I was trying to embed a HTML content into chat using this template: {{HTML_FILE_ID_[file_id]}} ### Actual Behavior This is my file when access by file_id: <img width="918" height="414" alt="Image" src="https://github.com/user-attachments/assets/785a57ab-db20-4b6f-afcc-6005a7f653db" /> I can download it using "/content" path but when I use the template {{HTML_FILE_ID_[file_id]}}, I get this url: "http://localhost:1234/api/v1/files/bb791128-cf54-4c66-8af5-878dbca4bebe/content/html" with the error bellow: <img width="766" height="227" alt="Image" src="https://github.com/user-attachments/assets/4010d122-3622-41e8-9e9f-146011b872e6" /> I'm using open-webui v0.6.25. I haven't found any similar issues nor solutions. Please help me !!! ### Steps to Reproduce 1. Install open web-ui using docker 2. Install this function https://openwebui.com/f/omar97/visualize 3. Turn it on, add valves values and trigger it in chat 4. It should return the error as the screenshot 5. Open dev tool and use inspect the errors returned from the function. You will find the url (http://yourweburl.abc/api/v1/files/file-id/content/html) ### Logs & Screenshots <img width="766" height="227" alt="Image" src="https://github.com/user-attachments/assets/4010d122-3622-41e8-9e9f-146011b872e6" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-15 13:37:29 -05:00
Author
Owner

@tjbck commented on GitHub (Aug 23, 2025):

https://openwebui.com/f/omar97/visualize seems to be a year old, most like the function itself needs to be updated.

<!-- gh-comment-id:3217222758 --> @tjbck commented on GitHub (Aug 23, 2025): https://openwebui.com/f/omar97/visualize seems to be a year old, most like the function itself needs to be updated.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#88814