I enter http://docker.host.internal under ComfyUI Base URL
I click off to enable the connection
I get this error message:
Logs and Screenshots
Browser Console Logs:
Message received from iframe:
Object { source: "react-devtools-content-script", hello: true }
[Chat.svelte:199:12](http://localhost:3122/src/lib/components/chat/Chat.svelte)
Message received from iframe:
Object { source: "react-devtools-content-script", hello: true }
[Chat.svelte:199:12](http://localhost:3122/src/lib/components/chat/Chat.svelte)
XHRGET
http://localhost:3122/images/api/v1/models
[HTTP/1.1 400 Bad Request 4ms]
Object { detail: "Something went wrong :/\nInvalid URL '/object_info': No scheme supplied. Perhaps you meant [https:///object_info](https://object_info/)?" }
[index.ts:358:11](http://localhost:3122/src/lib/apis/images/index.ts)
Message received from iframe:
Object { source: "react-devtools-content-script", hello: true }
[Chat.svelte:199:12](http://localhost:3122/src/lib/components/chat/Chat.svelte)
Message received from iframe:
Object { source:
Docker Container Logs:
nothing is printed here
Screenshots/Screen Recordings (if applicable):
Originally created by @hartmark on GitHub (Aug 13, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4552
# Bug Report
## Installation Method
* latest docker images of ollama/ollama:rocm and ghcr.io/open-webui/open-webui:main
* I have ComfyUI installed so it listens on localhost
* I have in open-webui added a host entry host.docker.internal -> host-gateway so I can access ComfyUI
* I have checked the box "Enable Dev mode Options" in ComfyUI
## Environment
open-webui: v0.3.12
- **Operating System:** arch linux
- **Browser (if applicable):** firefox
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
I don't seem to be able to connect to ComfyUI
## Actual Behavior:
I get no models populated so I cannot save my settings.
## Description
**Bug Summary:**
Cannot save ComfyUI integration
## Reproduction Details
**Steps to Reproduce:**
1. I go to http://localhost:3122/admin/settings
2. click **images**
3. I select `ComfyUI` under **Image Generation Engine**
4. I enter `http://docker.host.internal` under **ComfyUI Base URL**
5. I click **off** to enable the connection
6. I get this error message:

## Logs and Screenshots
**Browser Console Logs:**
```
Message received from iframe:
Object { source: "react-devtools-content-script", hello: true }
[Chat.svelte:199:12](http://localhost:3122/src/lib/components/chat/Chat.svelte)
Message received from iframe:
Object { source: "react-devtools-content-script", hello: true }
[Chat.svelte:199:12](http://localhost:3122/src/lib/components/chat/Chat.svelte)
XHRGET
http://localhost:3122/images/api/v1/models
[HTTP/1.1 400 Bad Request 4ms]
Object { detail: "Something went wrong :/\nInvalid URL '/object_info': No scheme supplied. Perhaps you meant [https:///object_info](https://object_info/)?" }
[index.ts:358:11](http://localhost:3122/src/lib/apis/images/index.ts)
Message received from iframe:
Object { source: "react-devtools-content-script", hello: true }
[Chat.svelte:199:12](http://localhost:3122/src/lib/components/chat/Chat.svelte)
Message received from iframe:
Object { source:
```
**Docker Container Logs:**
nothing is printed here
**Screenshots/Screen Recordings (if applicable):**

In Open WebUI, navigate to the Image Generation Settings page.
Set the Image Generation Engine option to ComfyUI.
Enable the Image Generation (Experimental) toggle by setting it to On.
Ensure that ComfyUI is running, as it is required to verify the connection.
Verify the connection by checking the ComfyUI Base URL.
Once the connection is verified, select a default model from the Select a model dropdown for the Set Default Model option. This option points to the /models/checkpoints directory of your running ComfyUI installation.
Save your changes on the Image Generation Settings page to apply the new configuration.
<!-- gh-comment-id:2285173335 -->
@silentoplayz commented on GitHub (Aug 13, 2024):
1. In Open WebUI, navigate to the Image Generation Settings page.
2. Set the `Image Generation Engine` option to `ComfyUI`.
3. Enable the `Image Generation (Experimental)` toggle by setting it to `On`.
4. Ensure that ComfyUI is running, as it is required to verify the connection.
5. Verify the connection by checking the `ComfyUI Base URL`.
6. Once the connection is verified, select a default model from the `Select a model` dropdown for the `Set Default Model` option. This option points to the `/models/checkpoints` directory of your running ComfyUI installation.
7. Save your changes on the Image Generation Settings page to apply the new configuration.
It's step 6 I cannot do. I get the error above and cannot continue. What is the full API call it uses to access the list of models in comfyUI?
<!-- gh-comment-id:2285240819 -->
@hartmark commented on GitHub (Aug 13, 2024):
It's step 6 I cannot do. I get the error above and cannot continue. What is the full API call it uses to access the list of models in comfyUI?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @hartmark on GitHub (Aug 13, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4552
Bug Report
Installation Method
Environment
open-webui: v0.3.12
Confirmation:
Expected Behavior:
I don't seem to be able to connect to ComfyUI
Actual Behavior:
I get no models populated so I cannot save my settings.
Description
Bug Summary:
Cannot save ComfyUI integration
Reproduction Details
Steps to Reproduce:
ComfyUIunder Image Generation Enginehttp://docker.host.internalunder ComfyUI Base URLLogs and Screenshots
Browser Console Logs:
Docker Container Logs:
nothing is printed here
Screenshots/Screen Recordings (if applicable):

@silentoplayz commented on GitHub (Aug 13, 2024):
Image Generation Engineoption toComfyUI.Image Generation (Experimental)toggle by setting it toOn.ComfyUI Base URL.Select a modeldropdown for theSet Default Modeloption. This option points to the/models/checkpointsdirectory of your running ComfyUI installation.@hartmark commented on GitHub (Aug 13, 2024):
It's step 6 I cannot do. I get the error above and cannot continue. What is the full API call it uses to access the list of models in comfyUI?