Ollama: something went wrong, please see the ollama server logs for details (command doesn't get a usable response from the server)
The ollama command got an error response from the server with no text, so it points you to the server log.
The message
Error: something went wrong, please see the ollama server logs for details
Affects: Ollama
Why is this happening?
This message is a catch-all: according to the Ollama source code, it appears when the response to the command contains neither a status nor an error message. Very often, a set proxy is the cause. In that case, the command sends its request to 127.0.0.1 through the proxy instead of directly to the Ollama server on your PC. Less often, the server itself has crashed or is hanging; then the real cause is in server.log.
How to fix it
- Check in PowerShell whether a proxy is set:
echo $env:HTTP_PROXYandecho $env:HTTPS_PROXY. If you see an address there, that is the most likely cause. - Delete the
HTTP_PROXYvariable (Start menu → "Edit environment variables for this account") or also createNO_PROXYwith the valuelocalhost,127.0.0.1. Then open a new terminal and try the command again. According to the Ollama docs, Ollama only needsHTTPS_PROXYfor downloads;HTTP_PROXYcan interfere with the connection to the server. - Open the log: press Win+R, enter
explorer %LOCALAPPDATA%\Ollama. The newest file isserver.log; older ones are calledserver-1.log, etc. Open it with Notepad and read the last lines for the time of the error. - If the log shows nothing at the time of the error, your request never reached the server (typical for the proxy case). For testing, start the server visibly: quit Ollama via the taskbar icon, start
ollama servein one terminal, and repeat the command in a second terminal. You will then see messages directly in the first window. - For more detailed logs: quit Ollama via the taskbar icon, then in PowerShell run
$env:OLLAMA_DEBUG="1"and then& "ollama app.exe". Trigger the error again and checkserver.log. - Linux: read the log with
journalctl -u ollama --no-pager --follow --pager-end, in Docker withdocker logs <containername>.
Better not: Don't set HTTP_PROXY for Ollama just because downloads need to go through a proxy: that's what HTTPS_PROXY is for.
Set up from scratch again
If it still doesn’t work after that, a fresh setup step by step often helps:
- Your own ChatGPT with Ollama and Open WebUI
Run a language model locally on Windows - with the Ollama app, suitable models for 8 to 24 GB, context length, command line, and Open WebUI…
Terms for this
Similar errors
- Ollama: could not connect to ollama app, is it running? (Ollama server is not running or can’t be reached)
- Ollama: max retries exceeded during download (ollama pull aborts)
- Open WebUI or AnythingLLM can't find Ollama
- Ollama: Port 11434 already in use (bind: address already in use)
- Ollama: model "…" not found, try pulling it first (model missing on this server)
Sources
- https://github.com/ollama/ollama/issues/7015
- https://github.com/ollama/ollama/issues/4834
- https://docs.ollama.com/troubleshooting
- https://docs.ollama.com/faq
Checked on Oct 27, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.