Free | No tracking | Every fact with a source|German and English

Error / Models and files

Open WebUI: Ollama: 500, message='Internal Server Error' (Ollama reached, but model cannot respond)

Open WebUI reached Ollama, but Ollama failed while loading or running the model and only returned “Internal Server Error.”

The message

Ollama: 500, message='Internal Server Error', url='http://localhost:11434/api/chat'

Affects: Open WebUI, Ollama, Docker Desktop

Why is this happening?

Unlike a connection error, the request reaches Ollama here. Error 500 means Ollama itself failed while loading or computing, but Open WebUI only shows the short version of that. People affected have cited causes such as an Ollama version that is too old for a new model, not enough RAM, a corrupted model file, a context length set too high, or too many layers on the graphics card (num_gpu). Newer Open WebUI versions often show Ollama’s actual error message directly instead of just “500.”

How to fix it

  1. Test the same model directly in the terminal with ollama run <modellname>. There, Ollama shows the real error message, for example “model requires more system memory” or “unknown model architecture.” There are separate entries for these messages.
  2. Open the file server.log with explorer %LOCALAPPDATA%\Ollama and read the lines from the time of the error. If Ollama is running in Docker, you can see the log with docker logs <containername>.
  3. Update Ollama (right-click the taskbar icon → “Restart to update” or install it again from ollama.com). A common case: the model is newer than your Ollama version.
  4. If you raised the context length (num_ctx) or num_gpu for the model in Open WebUI, reset the values to default and try again.
  5. Delete the model and download it again if the file is corrupted: ollama rm <modellname> and then ollama pull <modellname>.
  6. If you don’t have enough memory, use a smaller variant of the model or close other programs that use a lot of RAM or VRAM.

Better not: Don’t look for the error in Open WebUI’s connection settings: with a 500, Ollama is reachable, and the problem is with the model or with Ollama itself.

Set up from scratch again

If it still doesn’t work after that, a fresh setup step by step often helps:

Terms for this

Similar errors

Sources

Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.