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

Error / Home and connection

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

  1. Check in PowerShell whether a proxy is set: echo $env:HTTP_PROXY and echo $env:HTTPS_PROXY. If you see an address there, that is the most likely cause.
  2. Delete the HTTP_PROXY variable (Start menu → "Edit environment variables for this account") or also create NO_PROXY with the value localhost,127.0.0.1. Then open a new terminal and try the command again. According to the Ollama docs, Ollama only needs HTTPS_PROXY for downloads; HTTP_PROXY can interfere with the connection to the server.
  3. Open the log: press Win+R, enter explorer %LOCALAPPDATA%\Ollama. The newest file is server.log; older ones are called server-1.log, etc. Open it with Notepad and read the last lines for the time of the error.
  4. 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 serve in one terminal, and repeat the command in a second terminal. You will then see messages directly in the first window.
  5. 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 check server.log.
  6. Linux: read the log with journalctl -u ollama --no-pager --follow --pager-end, in Docker with docker 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:

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.