mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
Can`t enable image generation #1580
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iTeeLion on GitHub (Jul 22, 2024).
Bug Report
Description
Bug Summary:
Something went wrong :/ Invalid URL '/sdapi/v1/sd-models': No scheme supplied. Perhaps you meant https:///sdapi/v1/sd-models?
Steps to Reproduce:
Admin Panel -> Settings -> Fill "AUTOMATIC1111 Base URL" -> enable "Image Generation (Experimental)"
Expected Behavior:
Successful enable of generation option
Actual Behavior:
Popup error
Environment
Open WebUI Version: 0.3.10
Ollama (if applicable): 0.2.5
Operating System: Linux - official ollama docker image
Browser (if applicable): Chrome 126.0.6478.183
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
http://192.168.20.111:8080/images/api/v1/models
Docker Container Logs:
Screenshots (if applicable):


Installation Method
Official ollama docker image in portainer on debian 12
Additional Information
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@iTeeLion commented on GitHub (Jul 22, 2024):
Error while save:
@justinh-rahb commented on GitHub (Jul 23, 2024):
How did you install and run Automatic1111?
@iTeeLion commented on GitHub (Jul 23, 2024):
The same way as ollama and openwebui, inside docker via portainer: https://github.com/iTeeLion/stablediffusion_docker
It's in different sack, as a result in different networks, but i add OWUI in SD network, so they can see each other.
@iTeeLion commented on GitHub (Jul 23, 2024):
So, take a look at "Perhaps you meant https:///sdapi/v1/sd-models", why is the SD address not inserted here?
After that, I made a "bypass" through the environment, and it's work :/
My conclusion is that the SD address is simply not inserted into the request. In recent versions, a field has appeared for adding basic http auth credentials, could this be the reason?
@justinh-rahb commented on GitHub (Jul 23, 2024):
Might be related. Worth looking at that PR..