ollama - 💡(How to fix) Fix 404 errors using Ollama with VSCode to run local models

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Updated to latest and all Ollama models died. Via terminal 'ollama serve' - watching logs, we get a 404 error for every model.

RAW_BUFFERClick to expand / collapse

What is the issue?

Updated to latest and all Ollama models died. Via terminal 'ollama serve' - watching logs, we get a 404 error for every model.

[GIN] 2026/06/09 - 22:50:30 | 404 | 208.792µs | 127.0.0.1 | POST "/v1/chat/completions" [GIN] 2026/06/09 - 22:51:34 | 404 | 146.167µs | 127.0.0.1 | POST "/api/chat"

Occassional chat requests work, but 90% fail. Reverted back to 0.24.0 - everything works perfectly again.

Mac Studio M4 OS 15.7.4, VSCode 1.123.1 I tried reverting VSCode and multiple other fixes, nothing worked. Reverting Ollama was an immediate fix.

Relevant log output

OS

macOS

GPU

Apple

CPU

Apple

Ollama version

30.7

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING