mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
issue: Queries to any model return 500 error even though open-webui is able to connect to Ollama #3620
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 @geconf on GitHub (Feb 6, 2025).
Bug Report
Installation Method
Docker
Environment
Open WebUI Version: 0.5.10, 0.5.8 and 0.5.7
Ollama (if applicable): 0.5.7
Operating System: Pop!_OS 24.04
Browser (if applicable): Firefox 134.0.2
Confirmation:
Expected Behavior:
The query should return an answer.
Actual Behavior:
Queries to any model return 500: Ollama: 500, message='Internal Server Error', url='http://host.docker.internal:11434/api/chat'.
Description
Bug Summary:
This was working correctly and occured without explanation. Looking at the logs it seems that it is able to reach the ollama instance but has issues with the a POST request to /api/chat/completions (see log section below)
Ollama is accessible from open-webui so this is not a connection issue:
Sending a POST request through terminal does generate a valid response:
Reproduction Details
Steps to Reproduce:
Unsure what triggered it but
Logs and Screenshots
Browser Console Logs:
n/a
Docker Container Logs:
Screenshots/Screen Recordings (if applicable):
Additional Information
Arena models do not seem to have this problem. for some reason I could get a response from them.
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!
@petrusali commented on GitHub (Feb 6, 2025):
I have the same problem with OpenRouter, Google API, liteLLM and AnythingLLM. Since 0.5.8 OUI unable to communicate to those API.