mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 07:24:59 -05:00
[GH-ISSUE #1171] There was an issue connecting to Ollama ("POST /chat HTTP/1.1" 400 Bad Request) #51040
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 @Touffman78 on GitHub (Mar 14, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/1171
Bug Report
After image génération, unable to send new request.
Always get the "Uh-oh! There was an issue connecting to Ollama."
Description
After generating an image with AUTOMATIC111 (txt2img), all new requests results in the error "Uh-oh! There was an issue connecting to Ollama." which ever LLM selected.
The corresponding error on Ollama side is a 400 for the "POST /api/chat".
When starting a new chat, all is OK, but going back to the chat with image is still NOK
Steps to Reproduce:
Ollama v0.1.27, OpenWebUI v0.1.111, Stable-Diffusion-webui v1.8.0
Generate a prompt for image generation (repeat this : ....) then click on "image generation".
When image is shown, try to ask anything => error
Logs and Screenshots
Screenshots (if applicable):

Installation Method
[Docker]
@tjbck commented on GitHub (Mar 14, 2024):
This issue has been resolved on our dev branch! #1137 We'll be merging to main soon, but feel free to switch to our dev branch in the meantime!